cops/templates/default/header.html

51 lines
2.3 KiB
HTML
Raw Permalink Normal View History

<header>
<a class="headleft" href="{{=it.homeurl}}" {{=it.c.config.kindleHack}}>
2013-09-06 10:18:41 +03:00
<div title="{{=it.c.i18n.homeAlt}}" class="hicon hicon64"><i class="icon-home"></i></div>
</a>
2013-09-06 10:18:41 +03:00
{{? it.c.config.server_side_rendering == 0}}
<div title="{{=it.c.i18n.cogAlt}}" class="hicon hicon64 headright"><i class="icon-cog" id="searchImage"></i></div>
{{?}}
<div class="headcenter">
<h1>{{=it.title}}</h1>
</div>
2013-09-06 10:18:41 +03:00
<div id="tool" {{? it.c.config.server_side_rendering == 0}}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 class="stop">
<input type="hidden" name="page" value="9" />
{{? it.databaseId != ""}}
<input type="hidden" name="db" value="{{=it.databaseId}}" />
{{?}}
<input type="text" data-type="search" required="required" name="query" />
</div>
<button title="{{=it.c.i18n.searchAlt}}" type="submit" class="hicon hicon32 submit">
<i class="icon-search icon-2x"></i>
</button>
</form>
</div>
2013-09-06 10:18:41 +03:00
{{? it.c.config.server_side_rendering == 0}}
<div id="sortForm" style="float: right; width: 45%; display: none">
2013-06-16 15:48:57 +03:00
<div style="float: right">
<div title="{{=it.c.i18n.sortAlt}}" id="sort" class="hicon hicon32"><i class="icon-sort icon-2x"></i></div>
2013-06-16 15:48:57 +03:00
</div>
<div class="stop">
<select id="sortchoice">
2013-09-06 10:18:41 +03:00
<option value="st">{{=it.c.i18n.bookwordTitle}}</option>
<option value="sa">{{=it.c.i18n.authorsTitle}}</option>
<option value="ss">{{=it.c.i18n.seriesTitle}}</option>
<option value="sp">{{=it.c.i18n.pubdateTitle}}</option>
2013-06-16 15:48:57 +03:00
</select>
<select id="sortorder">
2013-09-06 10:18:41 +03:00
<option value="asc">{{=it.c.i18n.sortorderAsc}}</option>
<option value="desc">{{=it.c.i18n.sortorderDesc}}</option>
2013-06-16 15:48:57 +03:00
</select>
</div>
</div>
<div id="filter">
<ul>
</ul>
</div>
{{?}}
</div>
</header>