cops/templates/default/header.html

44 lines
2.1 KiB
HTML
Raw Normal View History

<header>
<a class="headleft" href="{{=it.homeurl}}">
2013-06-17 22:21:52 +03:00
<img src="images/home.png?v={{=it.const.version}}" alt="{{=it.const.i18n.homeAlt}}" />
</a>
2013-06-17 22:21:52 +03:00
<img class="headright" id="searchImage" src="images/setting64.png?v={{=it.const.version}}" alt="Settings and menu" />
<div class="headcenter">
<h1>{{=it.title}}</h1>
</div>
<div id="tool" style="display: none">
<div style="float: left; width: 50%">
2013-06-18 23:24:35 +03:00
<form id="searchForm" action="index.php" method="get">
<div style="float: right">
2013-06-17 22:21:52 +03:00
<input type="image" src="images/search32.png?v={{=it.const.version}}" alt="{{=it.const.i18n.searchAlt}}" />
</div>
<div class="stop">
<input type="hidden" name="current" value="{{=it.page}}" />
<input type="hidden" name="page" value="9" />
{{? it.databaseId != ""}}
<input type="hidden" name="db" value="{{=it.databaseId}}" />
{{?}}
<input type="search" name="query" />
</div>
</form>
</div>
<div id="sortForm" style="float: right; width: 45%; display: none">
2013-06-16 15:48:57 +03:00
<div style="float: right">
2013-06-17 22:21:52 +03:00
<img id="sort" src="images/sort32.png?v={{=it.const.version}}" alt="{{=it.const.i18n.sortAlt}}" />
2013-06-16 15:48:57 +03:00
</div>
<div class="stop">
<select id="sortchoice">
2013-06-17 22:21:52 +03:00
<option value="st">{{=it.const.i18n.bookwordTitle}}</option>
<option value="sa">{{=it.const.i18n.authorsTitle}}</option>
<option value="ss">{{=it.const.i18n.seriesTitle}}</option>
<option value="sp">{{=it.const.i18n.pubdateTitle}}</option>
2013-06-16 15:48:57 +03:00
</select>
<select id="sortorder">
2013-06-17 22:21:52 +03:00
<option value="asc">{{=it.const.i18n.sortorderAsc}}</option>
<option value="desc">{{=it.const.i18n.sortorderDesc}}</option>
2013-06-16 15:48:57 +03:00
</select>
</div>
</div>
</div>
</header>