diff options
Diffstat (limited to 'tpl/default/page.header.html')
-rw-r--r-- | tpl/default/page.header.html | 88 |
1 files changed, 46 insertions, 42 deletions
diff --git a/tpl/default/page.header.html b/tpl/default/page.header.html index 67d0d0c4..36410345 100644 --- a/tpl/default/page.header.html +++ b/tpl/default/page.header.html | |||
@@ -10,15 +10,17 @@ | |||
10 | </div> | 10 | </div> |
11 | <div class="pure-u-1"> | 11 | <div class="pure-u-1"> |
12 | <div class="pure-menu menu-transform pure-menu-horizontal pure-g"> | 12 | <div class="pure-menu menu-transform pure-menu-horizontal pure-g"> |
13 | <ul class="pure-menu-list pure-u-lg-11-12 pure-u-1"> | 13 | <ul class="pure-menu-list pure-u-lg-5-6 pure-u-1"> |
14 | <li class="pure-menu-item pure-u-0 pure-u-lg-visible"> | 14 | <li class="pure-menu-item pure-u-0 pure-u-lg-visible"> |
15 | <a href="{$titleLink}" class="pure-menu-link"> | 15 | <a href="{$titleLink}" class="pure-menu-link"> |
16 | <i class="fa fa-home"></i> | 16 | <i class="fa fa-home"></i> {$shaarlititle} |
17 | </a> | 17 | </a> |
18 | </li> | 18 | </li> |
19 | {if="isLoggedIn() || $openshaarli"} | 19 | {if="isLoggedIn() || $openshaarli"} |
20 | <li class="pure-menu-item"> | 20 | <li class="pure-menu-item"> |
21 | <a href="?do=addlink" class="pure-menu-link">{'Shaare'|t}</a> | 21 | <a href="?do=addlink" class="pure-menu-link"> |
22 | <i class="fa fa-plus" ></i> {'Shaare'|t} | ||
23 | </a> | ||
22 | </li> | 24 | </li> |
23 | <li class="pure-menu-item"> | 25 | <li class="pure-menu-item"> |
24 | <a href="?do=tools" class="pure-menu-link">{'Tools'|t}</a> | 26 | <a href="?do=tools" class="pure-menu-link">{'Tools'|t}</a> |
@@ -59,8 +61,13 @@ | |||
59 | <a href="?do=atom{$searchcrits}" class="pure-menu-link">{'RSS Feed'|t}</a> | 61 | <a href="?do=atom{$searchcrits}" class="pure-menu-link">{'RSS Feed'|t}</a> |
60 | </li> | 62 | </li> |
61 | </ul> | 63 | </ul> |
62 | <div class="header-buttons pure-u-lg-1-12 pure-u-0 pure-u-lg-visible"> | 64 | <div class="header-buttons pure-u-lg-1-6 pure-u-0 pure-u-lg-visible"> |
63 | <ul class="pure-menu-list"> | 65 | <ul class="pure-menu-list"> |
66 | <li class="pure-menu-item"> | ||
67 | <a href="#" class="pure-menu-link" id="search-button" title="{'Search'|t}"> | ||
68 | <i class="fa fa-search"></i> | ||
69 | </a> | ||
70 | </li> | ||
64 | {if="!isLoggedIn()"} | 71 | {if="!isLoggedIn()"} |
65 | <li class="pure-menu-item"> | 72 | <li class="pure-menu-item"> |
66 | <a href="?do=login" class="pure-menu-link" id="login-button" title="{'Login'|t}"> | 73 | <a href="?do=login" class="pure-menu-link" id="login-button" title="{'Login'|t}"> |
@@ -85,44 +92,33 @@ | |||
85 | </div> | 92 | </div> |
86 | </div> | 93 | </div> |
87 | 94 | ||
88 | <div id="header" class="pure-u-0 pure-u-lg-visible"> | ||
89 | <h1 id="header-title"> | ||
90 | <a href="{$titleLink}"> | ||
91 | {$shaarlititle} | ||
92 | </a> | ||
93 | </h1> | ||
94 | <div id="linkcount"> | ||
95 | {if="!empty($linkcount)"} | ||
96 | <span class="strong">{$linkcount}</span> {function="t('shaare', 'shaares', $linkcount)"} | ||
97 | {if="$privateLinkcount>0"} | ||
98 | - <span class="strong">{$privateLinkcount}</span> {function="t('private link', 'private links', $privateLinkcount)"} | ||
99 | {/if} | ||
100 | {/if} | ||
101 | </div> | ||
102 | |||
103 | <div id="search"> | ||
104 | <form method="GET" class="searchform" name="searchform"> | ||
105 | <input type="text" tabindex="1" id="searchform_value" name="searchterm" placeholder="{'Search text'|t}" | ||
106 | {if="!empty($search_term)"} | ||
107 | value="{$search_term}" | ||
108 | {/if} | ||
109 | > | ||
110 | <button type="submit" class="search-button"><i class="fa fa-search"></i></button> | ||
111 | </form> | ||
112 | <form method="GET" class="tagfilter" name="tagfilter"> | ||
113 | <input type="text" tabindex="2" name="searchtags" id="tagfilter_value" placeholder="{'Filter by tag'|t}" | ||
114 | {if="!empty($search_tags)"} | ||
115 | value="{$search_tags}" | ||
116 | {/if} | ||
117 | autocomplete="off" data-multiple data-minChars="1" | ||
118 | data-list="{loop="$tags"}{$key}, {/loop}" | ||
119 | > | ||
120 | <button type="submit" class="search-button"><i class="fa fa-search"></i></button> | ||
121 | </form> | ||
122 | </div> | ||
123 | </div> | ||
124 | |||
125 | <div id="content"> | 95 | <div id="content"> |
96 | <div id="search" class="subheader-form"> | ||
97 | <div class="pure-g"> | ||
98 | <div class="pure-u-1 pure-u-lg-1-2"> | ||
99 | <form method="GET" class="searchform" name="searchform"> | ||
100 | <input type="text" tabindex="1" id="searchform_value" name="searchterm" placeholder="{'Search text'|t}" | ||
101 | {if="!empty($search_term)"} | ||
102 | value="{$search_term}" | ||
103 | {/if} | ||
104 | > | ||
105 | <button type="submit" class="search-button"><i class="fa fa-search"></i></button> | ||
106 | </form> | ||
107 | </div> | ||
108 | <div class="pure-u-1 pure-u-lg-1-2"> | ||
109 | <form method="GET" class="tagfilter" name="tagfilter"> | ||
110 | <input type="text" tabindex="2" name="searchtags" id="tagfilter_value" placeholder="{'Filter by tag'|t}" | ||
111 | {if="!empty($search_tags)"} | ||
112 | value="{$search_tags}" | ||
113 | {/if} | ||
114 | autocomplete="off" data-multiple data-minChars="1" | ||
115 | data-list="{loop="$tags"}{$key}, {/loop}" | ||
116 | > | ||
117 | <button type="submit" class="search-button"><i class="fa fa-search"></i></button> | ||
118 | </form> | ||
119 | </div> | ||
120 | </div> | ||
121 | </div> | ||
126 | {loop="$plugins_header.fields_toolbar"} | 122 | {loop="$plugins_header.fields_toolbar"} |
127 | <form | 123 | <form |
128 | {loop="$value"} | 124 | {loop="$value"} |
@@ -189,4 +185,12 @@ | |||
189 | </div> | 185 | </div> |
190 | {/if} | 186 | {/if} |
191 | 187 | ||
192 | <div class="clear"></div> | 188 | <div class="clear"></div> |
189 | <div id="linkcount" class="center"> | ||
190 | {if="!empty($linkcount)"} | ||
191 | <span class="strong">{$linkcount}</span> {function="t('shaare', 'shaares', $linkcount)"} | ||
192 | {if="$privateLinkcount>0"} | ||
193 | · <span class="strong">{$privateLinkcount}</span> {function="t('private link', 'private links', $privateLinkcount)"} | ||
194 | {/if} | ||
195 | {/if} | ||
196 | </div> | ||