diff options
Diffstat (limited to 'tpl/default/page.header.html')
-rw-r--r-- | tpl/default/page.header.html | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/tpl/default/page.header.html b/tpl/default/page.header.html index 2411703c..6f15c1c5 100644 --- a/tpl/default/page.header.html +++ b/tpl/default/page.header.html | |||
@@ -1,7 +1,7 @@ | |||
1 | <div class="shaarli-menu pure-g" id="shaarli-menu"> | 1 | <div class="shaarli-menu pure-g" id="shaarli-menu"> |
2 | <div class="pure-u-lg-0 pure-u-1"> | 2 | <div class="pure-u-lg-0 pure-u-1"> |
3 | <div class="pure-menu"> | 3 | <div class="pure-menu"> |
4 | <a href="{$titleLink}" class="pure-menu-link"> | 4 | <a href="{$titleLink}" class="pure-menu-link shaarli-title" id="shaarli-title-mobile"> |
5 | <img src="img/icon.png" width="16" height="16" class="head-logo" alt="logo" /> | 5 | <img src="img/icon.png" width="16" height="16" class="head-logo" alt="logo" /> |
6 | {$shaarlititle} | 6 | {$shaarlititle} |
7 | </a> | 7 | </a> |
@@ -12,32 +12,32 @@ | |||
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-5-6 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 shaarli-title" id="shaarli-title-desktop"> |
16 | <img src="img/icon.png" width="16" height="16" class="head-logo" alt="logo" /> | 16 | <img src="img/icon.png" width="16" height="16" class="head-logo" alt="logo" /> |
17 | {$shaarlititle} | 17 | {$shaarlititle} |
18 | </a> | 18 | </a> |
19 | </li> | 19 | </li> |
20 | {if="isLoggedIn() || $openshaarli"} | 20 | {if="isLoggedIn() || $openshaarli"} |
21 | <li class="pure-menu-item"> | 21 | <li class="pure-menu-item"> |
22 | <a href="?do=addlink" class="pure-menu-link"> | 22 | <a href="?do=addlink" class="pure-menu-link" id="shaarli-menu-shaare"> |
23 | <i class="fa fa-plus" ></i> {'Shaare'|t} | 23 | <i class="fa fa-plus" ></i> {'Shaare'|t} |
24 | </a> | 24 | </a> |
25 | </li> | 25 | </li> |
26 | <li class="pure-menu-item"> | 26 | <li class="pure-menu-item" id="shaarli-menu-tools"> |
27 | <a href="?do=tools" class="pure-menu-link">{'Tools'|t}</a> | 27 | <a href="?do=tools" class="pure-menu-link">{'Tools'|t}</a> |
28 | </li> | 28 | </li> |
29 | {/if} | 29 | {/if} |
30 | <li class="pure-menu-item"> | 30 | <li class="pure-menu-item" id="shaarli-menu-tags"> |
31 | <a href="?do=tagcloud" class="pure-menu-link">{'Tag cloud'|t}</a> | 31 | <a href="?do=tagcloud" class="pure-menu-link">{'Tag cloud'|t}</a> |
32 | </li> | 32 | </li> |
33 | <li class="pure-menu-item"> | 33 | <li class="pure-menu-item" id="shaarli-menu-picwall"> |
34 | <a href="?do=picwall{$searchcrits}" class="pure-menu-link">{'Picture wall'|t}</a> | 34 | <a href="?do=picwall{$searchcrits}" class="pure-menu-link">{'Picture wall'|t}</a> |
35 | </li> | 35 | </li> |
36 | <li class="pure-menu-item"> | 36 | <li class="pure-menu-item" id="shaarli-menu-daily"> |
37 | <a href="?do=daily" class="pure-menu-link">{'Daily'|t}</a> | 37 | <a href="?do=daily" class="pure-menu-link">{'Daily'|t}</a> |
38 | </li> | 38 | </li> |
39 | {loop="$plugins_header.buttons_toolbar"} | 39 | {loop="$plugins_header.buttons_toolbar"} |
40 | <li class="pure-menu-item"> | 40 | <li class="pure-menu-item shaarli-menu-plugin"> |
41 | <a | 41 | <a |
42 | {$value.attr.class=isset($value.class) ? $value.attr.class . ' pure-menu-link' : 'pure-menu-link'} | 42 | {$value.attr.class=isset($value.class) ? $value.attr.class . ' pure-menu-link' : 'pure-menu-link'} |
43 | {loop="$value.attr"} | 43 | {loop="$value.attr"} |
@@ -47,47 +47,47 @@ | |||
47 | </a> | 47 | </a> |
48 | </li> | 48 | </li> |
49 | {/loop} | 49 | {/loop} |
50 | <li class="pure-menu-item pure-u-lg-0"> | 50 | <li class="pure-menu-item pure-u-lg-0 shaarli-menu-mobile" id="shaarli-menu-mobile-rss"> |
51 | <a href="?do={$feed_type}{$searchcrits}" class="pure-menu-link">{'RSS Feed'|t}</a> | 51 | <a href="?do={$feed_type}{$searchcrits}" class="pure-menu-link">{'RSS Feed'|t}</a> |
52 | </li> | 52 | </li> |
53 | {if="isLoggedIn()"} | 53 | {if="isLoggedIn()"} |
54 | <li class="pure-menu-item pure-u-lg-0"> | 54 | <li class="pure-menu-item pure-u-lg-0 shaarli-menu-mobile" id="shaarli-menu-mobile-logout"> |
55 | <a href="?do=logout" class="pure-menu-link">{'Logout'|t}</a> | 55 | <a href="?do=logout" class="pure-menu-link">{'Logout'|t}</a> |
56 | </li> | 56 | </li> |
57 | {else} | 57 | {else} |
58 | <li class="pure-menu-item pure-u-lg-0"> | 58 | <li class="pure-menu-item pure-u-lg-0 shaarli-menu-mobile" id="shaarli-menu-mobile-login"> |
59 | <a href="?do=login" class="pure-menu-link">{'Login'|t}</a> | 59 | <a href="?do=login" class="pure-menu-link">{'Login'|t}</a> |
60 | </li> | 60 | </li> |
61 | {/if} | 61 | {/if} |
62 | </ul> | 62 | </ul> |
63 | <div class="header-buttons pure-u-lg-1-6 pure-u-0 pure-u-lg-visible"> | 63 | <div class="header-buttons pure-u-lg-1-6 pure-u-0 pure-u-lg-visible"> |
64 | <ul class="pure-menu-list"> | 64 | <ul class="pure-menu-list"> |
65 | <li class="pure-menu-item"> | 65 | <li class="pure-menu-item" id="shaarli-menu-desktop-search"> |
66 | <a href="#" class="pure-menu-link subheader-opener" | 66 | <a href="#" class="pure-menu-link subheader-opener" |
67 | data-open-id="search" | 67 | data-open-id="search" |
68 | id="search-button" title="{'Search'|t}"> | 68 | id="search-button" title="{'Search'|t}"> |
69 | <i class="fa fa-search"></i> | 69 | <i class="fa fa-search"></i> |
70 | </a> | 70 | </a> |
71 | </li> | 71 | </li> |
72 | <li class="pure-menu-item"> | 72 | <li class="pure-menu-item" id="shaarli-menu-desktop-rss"> |
73 | <a href="?do={$feed_type}{$searchcrits}" class="pure-menu-link" title="{'RSS Feed'|t}"> | 73 | <a href="?do={$feed_type}{$searchcrits}" class="pure-menu-link" title="{'RSS Feed'|t}"> |
74 | <i class="fa fa-rss"></i> | 74 | <i class="fa fa-rss"></i> |
75 | </a> | 75 | </a> |
76 | </li> | 76 | </li> |
77 | {if="!isLoggedIn()"} | 77 | {if="!isLoggedIn()"} |
78 | <li class="pure-menu-item"> | 78 | <li class="pure-menu-item" id="shaarli-menu-desktop-login"> |
79 | <a href="?do=login" class="pure-menu-link" | 79 | <a href="?do=login" class="pure-menu-link" |
80 | data-open-id="header-login-form" | 80 | data-open-id="header-login-form" |
81 | id="login-button" title="{'Login'|t}"> | 81 | id="login-button" title="{'Login'|t}"> |
82 | <i class="fa fa-user"></i> | 82 | <i class="fa fa-user"></i> |
83 | </a> | 83 | </a> |
84 | </li> | 84 | </li> |
85 | {else} | 85 | {else} |
86 | <li class="pure-menu-item"> | 86 | <li class="pure-menu-item" id="shaarli-menu-desktop-logout"> |
87 | <a href="?do=logout" class="pure-menu-link" title="{'Logout'|t}"> | 87 | <a href="?do=logout" class="pure-menu-link" title="{'Logout'|t}"> |
88 | <i class="fa fa-sign-out"></i> | 88 | <i class="fa fa-sign-out"></i> |
89 | </a> | 89 | </a> |
90 | </li> | 90 | </li> |
91 | {/if} | 91 | {/if} |
92 | </ul> | 92 | </ul> |
93 | </div> | 93 | </div> |
@@ -156,7 +156,7 @@ | |||
156 | {/if} | 156 | {/if} |
157 | 157 | ||
158 | {if="!empty($plugin_errors) && isLoggedIn()"} | 158 | {if="!empty($plugin_errors) && isLoggedIn()"} |
159 | <div class="pure-g new-version-message pure-alert pure-alert-error pure-alert-closable"> | 159 | <div class="pure-g new-version-message pure-alert pure-alert-error pure-alert-closable" id="shaarli-errors-alert"> |
160 | <div class="pure-u-2-24"></div> | 160 | <div class="pure-u-2-24"></div> |
161 | <div class="pure-u-20-24"> | 161 | <div class="pure-u-20-24"> |
162 | {loop="plugin_errors"} | 162 | {loop="plugin_errors"} |