forked from saurabh/orbit4-5
update template
This commit is contained in:
parent
a6ac7f9eeb
commit
018557ba41
|
@ -301,6 +301,47 @@ $table-th-bgcolor: $theme-color-main;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Announcement index 4 -- table
|
||||||
|
.annc-index-4 {
|
||||||
|
.i-announcement__table {
|
||||||
|
border: 1px solid #ddd;
|
||||||
|
font-family: $sub-font;
|
||||||
|
}
|
||||||
|
.i-announcement__th {
|
||||||
|
padding: 3px;
|
||||||
|
color: #000;
|
||||||
|
background: none;
|
||||||
|
font-size: 12px;
|
||||||
|
font-size: 0.75rem;
|
||||||
|
}
|
||||||
|
.i-announcement__th--date {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
.i-announcement__date {
|
||||||
|
font-size: 12px;
|
||||||
|
font-size: 0.75rem;
|
||||||
|
text-align: center;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
.i-announcement__link {
|
||||||
|
font-family: $sub-font;
|
||||||
|
background: url(/assets/disc.jpg) 3px center no-repeat;
|
||||||
|
padding-left: 17px;
|
||||||
|
font-size: 12px;
|
||||||
|
font-size: 0.75rem;
|
||||||
|
}
|
||||||
|
tr:nth-child(odd) {
|
||||||
|
background: none;
|
||||||
|
}
|
||||||
|
th, td {
|
||||||
|
padding: 3px;
|
||||||
|
line-height: 18px;
|
||||||
|
text-align: left;
|
||||||
|
border: 1px solid #ddd;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// Announcement SHOW
|
// Announcement SHOW
|
||||||
.show-announcement {
|
.show-announcement {
|
||||||
.show-title {
|
.show-title {
|
||||||
|
|
|
@ -1,3 +1,12 @@
|
||||||
|
.site-map {
|
||||||
|
h2 {
|
||||||
|
font: 2em/100% sans-serif;
|
||||||
|
margin: 0 0 5px;
|
||||||
|
border-bottom: 1px solid #CFCFCF;
|
||||||
|
padding-bottom: 10px;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
}
|
||||||
.submenu-wrap {
|
.submenu-wrap {
|
||||||
padding: 20px 1em;
|
padding: 20px 1em;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,9 +1,8 @@
|
||||||
<!--
|
<!--
|
||||||
Announcement index-2
|
Announcement index-3
|
||||||
Fields: widget-title, date-head, title-head, postdate, title, pagination
|
Fields: widget-title, date-head, title-head, postdate, title, pagination
|
||||||
-->
|
-->
|
||||||
<div class="i-announcement annc-index-3 i-announcement--table">
|
<div class="i-announcement annc-index-3 i-announcement--table">
|
||||||
<h3 class="i-announcement__widget-title">{{widget-title}}</h3>
|
|
||||||
<table class="i-announcement__table">
|
<table class="i-announcement__table">
|
||||||
<tbody class="i-announcement__tbody" data-level="0" data-list="announcements">
|
<tbody class="i-announcement__tbody" data-level="0" data-list="announcements">
|
||||||
<tr>
|
<tr>
|
||||||
|
|
|
@ -0,0 +1,27 @@
|
||||||
|
<!--
|
||||||
|
Announcement index-4
|
||||||
|
Fields: widget-title, title-head, date-head, title, postdate, pagination
|
||||||
|
-->
|
||||||
|
<div class="i-announcement annc-index-4 i-announcement--table">
|
||||||
|
<table class="i-announcement__table">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th class="i-announcement__th i-announcement__th--title">{{title-head}}</th>
|
||||||
|
<th class="i-announcement__th i-announcement__th--date">{{date-head}}</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody class="i-announcement__tbody" data-level="0" data-list="announcements">
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<a class="i-announcement__link i-announcement__td--link" href="{{link_to_show}}">{{title}}</a>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<span class="i-announcement__date i-announcement__td--postdate" date-format="%Y-%m-%d">{{postdate}}</span>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
{{pagination_goes_here}}
|
||||||
|
<div class="i-sidebar">
|
||||||
|
</div>
|
|
@ -11,7 +11,7 @@
|
||||||
{
|
{
|
||||||
"filename" : "annc_index2",
|
"filename" : "annc_index2",
|
||||||
"name" : {
|
"name" : {
|
||||||
"zh_tw" : "2. 純文字無圖片(招生公告專用) ( 模組標題, 日期, 標題 )",
|
"zh_tw" : "2. 純文字無圖片 ( 模組標題, 日期, 標題 )",
|
||||||
"en" : "2. Text without image (widget-title, postdate, title)"
|
"en" : "2. Text without image (widget-title, postdate, title)"
|
||||||
},
|
},
|
||||||
"thumbnail" : "thumbnail-block-list.png"
|
"thumbnail" : "thumbnail-block-list.png"
|
||||||
|
@ -19,10 +19,18 @@
|
||||||
{
|
{
|
||||||
"filename" : "annc_index3",
|
"filename" : "annc_index3",
|
||||||
"name" : {
|
"name" : {
|
||||||
"zh_tw" : "3. 純文字無圖片(沒有sidebar) ( 模組標題, 日期, 標題 )",
|
"zh_tw" : "3. 純文字無圖片(招生公告專用) ( 模組標題, 日期, 標題 )",
|
||||||
"en" : "3. Text without image and no sidebar (widget-title, postdate, title)"
|
"en" : "3. Text without image and no sidebar (widget-title, postdate, title)"
|
||||||
},
|
},
|
||||||
"thumbnail" : "thumbnail-block-list.png"
|
"thumbnail" : "thumbnail-block-list.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename" : "annc_index4",
|
||||||
|
"name" : {
|
||||||
|
"zh_tw" : "4. 純文字無圖片(在校學生, 訪客, 教職員工專用) ( 模組標題, 日期, 標題 )",
|
||||||
|
"en" : "4. Text without image and no sidebar (widget-title, title, postdate)"
|
||||||
|
},
|
||||||
|
"thumbnail" : "thumbnail-block-list.png"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"widgets" : [
|
"widgets" : [
|
||||||
|
|
Loading…
Reference in New Issue