cops/templates/default/header.html

46 lines
2 KiB
HTML

<header>
<a class="headleft" href="{{=it.homeurl}}">
<img src="images/home.png?v={{=it.version}}" alt="{{=it.i18n.homeAlt}}" />
</a>
<img class="headright" id="searchImage" src="images/setting64.png?v={{=it.version}}" alt="Settings and menu" />
<div class="headcenter">
<h1>{{=it.title}}</h1>
</div>
<div id="tool" style="display: none">
<div style="float: left; width: 60%">
<form action="index.php" method="get">
<div style="float: right">
<input type="image" src="images/search32.png?v={{=it.version}}" alt="{{=it.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>
{{? it.containsBook == 1}}
<div style="float: right; width: 35%">
<div style="float: right">
<img id="sort" src="images/sort32.png?v={{=it.version}}" alt="{{=it.i18n.sortAlt}}" />
</div>
<div class="stop">
<select id="sortchoice">
<option value="st">{{=it.i18n.bookwordTitle}}</option>
<option value="sa">{{=it.i18n.authorsTitle}}</option>
<option value="ss">{{=it.i18n.seriesTitle}}</option>
<option value="sp">{{=it.i18n.pubdateTitle}}</option>
</select>
<select id="sortorder">
<option value="asc">{{=it.i18n.sortorderAsc}}</option>
<option value="desc">{{=it.i18n.sortorderDesc}}</option>
</select>
</div>
</div>
{{?}}
</div>
</header>