diff options
author | ArthurHoaro <arthur@hoa.ro> | 2018-07-28 11:19:53 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2018-07-28 11:19:53 +0200 |
commit | 7982c3ff183aa985177bdaeacda4feb22a739e00 (patch) | |
tree | 728e07251072f3a1df63c017c0dce54fa1acb390 /tpl/default/page.header.html | |
parent | 2075321f6569dfa610905991b315aae1956b7f78 (diff) | |
parent | ed7e1be12d65bdb1b924c7efb6a84fd591192c6c (diff) | |
download | Shaarli-7982c3ff183aa985177bdaeacda4feb22a739e00.tar.gz Shaarli-7982c3ff183aa985177bdaeacda4feb22a739e00.tar.zst Shaarli-7982c3ff183aa985177bdaeacda4feb22a739e00.zip |
Merge tag 'v0.10.0' into latest
Release v0.10.0
Diffstat (limited to 'tpl/default/page.header.html')
-rw-r--r-- | tpl/default/page.header.html | 38 |
1 files changed, 27 insertions, 11 deletions
diff --git a/tpl/default/page.header.html b/tpl/default/page.header.html index 6f15c1c5..fc03404e 100644 --- a/tpl/default/page.header.html +++ b/tpl/default/page.header.html | |||
@@ -17,7 +17,7 @@ | |||
17 | {$shaarlititle} | 17 | {$shaarlititle} |
18 | </a> | 18 | </a> |
19 | </li> | 19 | </li> |
20 | {if="isLoggedIn() || $openshaarli"} | 20 | {if="$is_logged_in || $openshaarli"} |
21 | <li class="pure-menu-item"> | 21 | <li class="pure-menu-item"> |
22 | <a href="?do=addlink" class="pure-menu-link" id="shaarli-menu-shaare"> | 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} |
@@ -30,9 +30,11 @@ | |||
30 | <li class="pure-menu-item" id="shaarli-menu-tags"> | 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" id="shaarli-menu-picwall"> | 33 | {if="$thumbnails_enabled"} |
34 | <a href="?do=picwall{$searchcrits}" class="pure-menu-link">{'Picture wall'|t}</a> | 34 | <li class="pure-menu-item" id="shaarli-menu-picwall"> |
35 | </li> | 35 | <a href="?do=picwall{$searchcrits}" class="pure-menu-link">{'Picture wall'|t}</a> |
36 | </li> | ||
37 | {/if} | ||
36 | <li class="pure-menu-item" id="shaarli-menu-daily"> | 38 | <li class="pure-menu-item" id="shaarli-menu-daily"> |
37 | <a href="?do=daily" class="pure-menu-link">{'Daily'|t}</a> | 39 | <a href="?do=daily" class="pure-menu-link">{'Daily'|t}</a> |
38 | </li> | 40 | </li> |
@@ -50,7 +52,7 @@ | |||
50 | <li class="pure-menu-item pure-u-lg-0 shaarli-menu-mobile" id="shaarli-menu-mobile-rss"> | 52 | <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> | 53 | <a href="?do={$feed_type}{$searchcrits}" class="pure-menu-link">{'RSS Feed'|t}</a> |
52 | </li> | 54 | </li> |
53 | {if="isLoggedIn()"} | 55 | {if="$is_logged_in"} |
54 | <li class="pure-menu-item pure-u-lg-0 shaarli-menu-mobile" id="shaarli-menu-mobile-logout"> | 56 | <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> | 57 | <a href="?do=logout" class="pure-menu-link">{'Logout'|t}</a> |
56 | </li> | 58 | </li> |
@@ -74,7 +76,7 @@ | |||
74 | <i class="fa fa-rss"></i> | 76 | <i class="fa fa-rss"></i> |
75 | </a> | 77 | </a> |
76 | </li> | 78 | </li> |
77 | {if="!isLoggedIn()"} | 79 | {if="!$is_logged_in"} |
78 | <li class="pure-menu-item" id="shaarli-menu-desktop-login"> | 80 | <li class="pure-menu-item" id="shaarli-menu-desktop-login"> |
79 | <a href="?do=login" class="pure-menu-link" | 81 | <a href="?do=login" class="pure-menu-link" |
80 | data-open-id="header-login-form" | 82 | data-open-id="header-login-form" |
@@ -95,8 +97,8 @@ | |||
95 | </div> | 97 | </div> |
96 | </div> | 98 | </div> |
97 | 99 | ||
98 | <div id="content"> | 100 | <div id="content" class="container"> |
99 | <div id="search" class="subheader-form"> | 101 | <div id="search" class="subheader-form searchform-block header-search"> |
100 | <form method="GET" class="pure-form searchform" name="searchform"> | 102 | <form method="GET" class="pure-form searchform" name="searchform"> |
101 | <input type="text" tabindex="1" id="searchform_value" name="searchterm" placeholder="{'Search text'|t}" | 103 | <input type="text" tabindex="1" id="searchform_value" name="searchterm" placeholder="{'Search text'|t}" |
102 | {if="!empty($search_term)"} | 104 | {if="!empty($search_term)"} |
@@ -120,9 +122,9 @@ | |||
120 | </div> | 122 | </div> |
121 | </div> | 123 | </div> |
122 | </div> | 124 | </div> |
123 | {if="!isLoggedIn()"} | 125 | {if="!$is_logged_in"} |
124 | <form method="post" name="loginform"> | 126 | <form method="post" name="loginform"> |
125 | <div class="subheader-form" id="header-login-form"> | 127 | <div class="subheader-form header-login-form" id="header-login-form"> |
126 | <input type="text" name="login" placeholder="{'Username'|t}" tabindex="3"> | 128 | <input type="text" name="login" placeholder="{'Username'|t}" tabindex="3"> |
127 | <input type="password" name="password" placeholder="{'Password'|t}" tabindex="5"> | 129 | <input type="password" name="password" placeholder="{'Password'|t}" tabindex="5"> |
128 | <div class="remember-me"> | 130 | <div class="remember-me"> |
@@ -155,7 +157,7 @@ | |||
155 | </div> | 157 | </div> |
156 | {/if} | 158 | {/if} |
157 | 159 | ||
158 | {if="!empty($plugin_errors) && isLoggedIn()"} | 160 | {if="!empty($plugin_errors) && $is_logged_in"} |
159 | <div class="pure-g new-version-message pure-alert pure-alert-error pure-alert-closable" id="shaarli-errors-alert"> | 161 | <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> | 162 | <div class="pure-u-2-24"></div> |
161 | <div class="pure-u-20-24"> | 163 | <div class="pure-u-20-24"> |
@@ -169,4 +171,18 @@ | |||
169 | </div> | 171 | </div> |
170 | {/if} | 172 | {/if} |
171 | 173 | ||
174 | {if="!empty($global_warnings) && $is_logged_in"} | ||
175 | <div class="pure-g pure-alert pure-alert-warning pure-alert-closable" id="shaarli-warnings-alert"> | ||
176 | <div class="pure-u-2-24"></div> | ||
177 | <div class="pure-u-20-24"> | ||
178 | {loop="global_warnings"} | ||
179 | <p>{$value}</p> | ||
180 | {/loop} | ||
181 | </div> | ||
182 | <div class="pure-u-2-24"> | ||
183 | <i class="fa fa-times pure-alert-close"></i> | ||
184 | </div> | ||
185 | </div> | ||
186 | {/if} | ||
187 | |||
172 | <div class="clear"></div> | 188 | <div class="clear"></div> |