forked from saurabh/orbit4-5
52 lines
1.9 KiB
Plaintext
52 lines
1.9 KiB
Plaintext
<!--
|
|
Announcement index-1
|
|
Fields: widget-title, date-head, title-head, postdate, title, pagination
|
|
-->
|
|
<div class="i-announcement annc-index-1 i-announcement--table">
|
|
<h3 class="i-announcement__widget-title">{{widget-title}}</h3>
|
|
<span class="search-result">{{keyword}}{{announcements_count}}</span>
|
|
<table class="i-announcement__table">
|
|
<tbody class="i-announcement__tbody" data-level="0" data-list="announcements">
|
|
<tr>
|
|
<td>
|
|
<span class="i-announcement__category">{{category}}</span>
|
|
</td>
|
|
<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 class="i-category category-index-1">
|
|
<h3 class="i-category__widget-title">{{categories-title}}</h3>
|
|
<ul class="i-category__list" data-level="0" data-list="categories">
|
|
<li class="i-category__item">
|
|
<a class="i-category__link" href="{{category-link}}">{{category-name}}</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="i-tag-cloud">
|
|
<h3 class="i-tag-cloud__widget-title">{{tag-cloud-title}}</h3>
|
|
<div class="i-tag-cloud__list" data-level="0" data-list="tag-cloud">
|
|
<a href="{{tag-link}}" class="{{tag-class}}">{{tag-name}}</a>
|
|
</div>
|
|
</div>
|
|
|
|
<script type="text/javascript">
|
|
function submitform()
|
|
{
|
|
document.forms["myform"].submit();
|
|
}
|
|
</script>
|
|
<form class="i-search" action="../announcement/" id="myform">
|
|
<input class="i-search__text-field" name="keywords" placeholder="搜尋公告" type="text" value="" />
|
|
<a class="i-search__submit" href="javascript: submitform()"><input type="submit" value="Search" /></a>
|
|
</form>
|
|
</div> |