Handle better when server side rendering is enabled. re #82
This commit is contained in:
parent
fa4ffb47e7
commit
9d117220c4
5 changed files with 19 additions and 8 deletions
|
@ -2,11 +2,13 @@
|
|||
<a class="headleft" href="{{=it.homeurl}}">
|
||||
<div title="{{=it.const.i18n.homeAlt}}" class="hicon hicon64"><i class="icon-home"></i></div>
|
||||
</a>
|
||||
{{? it.const.config.server_side_rendering == 0}}
|
||||
<div title="Settings and menu" class="hicon hicon64 headright"><i class="icon-cog" id="searchImage"></i></div>
|
||||
{{?}}
|
||||
<div class="headcenter">
|
||||
<h1>{{=it.title}}</h1>
|
||||
</div>
|
||||
<div id="tool" style="display: none">
|
||||
<div id="tool" {{? it.const.config.server_side_rendering == 0}}style="display: none"{{?}}>
|
||||
<div style="float: left; width: 50%">
|
||||
<form id="searchForm" action="index.php" method="get">
|
||||
<div style="float: right">
|
||||
|
@ -24,6 +26,7 @@
|
|||
</div>
|
||||
</form>
|
||||
</div>
|
||||
{{? it.const.config.server_side_rendering == 0}}
|
||||
<div id="sortForm" style="float: right; width: 45%; display: none">
|
||||
<div style="float: right">
|
||||
<div title="{{=it.const.i18n.sortAlt}}" id="sort" class="hicon hicon32"><i class="icon-sort"></i></div>
|
||||
|
@ -45,5 +48,6 @@
|
|||
<ul>
|
||||
</ul>
|
||||
</div>
|
||||
{{?}}
|
||||
</div>
|
||||
</header>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue