diff options
author | ArthurHoaro <arthur@hoa.ro> | 2017-01-04 13:18:18 +0100 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2017-01-04 13:18:18 +0100 |
commit | 2bbf5d03ca47c9ce5bc88aabae6096f90f646cab (patch) | |
tree | 5798f75cdd07e2b1d36679f7cc5180fa8e4e5878 /tpl/default/page.header.html | |
parent | 60d64256393ec4156ef7873860c14aa1028ffb60 (diff) | |
download | Shaarli-2bbf5d03ca47c9ce5bc88aabae6096f90f646cab.tar.gz Shaarli-2bbf5d03ca47c9ce5bc88aabae6096f90f646cab.tar.zst Shaarli-2bbf5d03ca47c9ce5bc88aabae6096f90f646cab.zip |
Takin theme reviews into account
Diffstat (limited to 'tpl/default/page.header.html')
-rw-r--r-- | tpl/default/page.header.html | 42 |
1 files changed, 23 insertions, 19 deletions
diff --git a/tpl/default/page.header.html b/tpl/default/page.header.html index 4a3710ff..fefa9258 100644 --- a/tpl/default/page.header.html +++ b/tpl/default/page.header.html | |||
@@ -46,6 +46,9 @@ | |||
46 | </a> | 46 | </a> |
47 | </li> | 47 | </li> |
48 | {/loop} | 48 | {/loop} |
49 | <li class="pure-menu-item pure-u-lg-0"> | ||
50 | <a href="?do=atom{$searchcrits}" class="pure-menu-link">{'RSS Feed'|t}</a> | ||
51 | </li> | ||
49 | {if="isLoggedIn()"} | 52 | {if="isLoggedIn()"} |
50 | <li class="pure-menu-item pure-u-lg-0"> | 53 | <li class="pure-menu-item pure-u-lg-0"> |
51 | <a href="?do=logout" class="pure-menu-link">{'Logout'|t}</a> | 54 | <a href="?do=logout" class="pure-menu-link">{'Logout'|t}</a> |
@@ -55,35 +58,36 @@ | |||
55 | <a href="?do=login" class="pure-menu-link">{'Login'|t}</a> | 58 | <a href="?do=login" class="pure-menu-link">{'Login'|t}</a> |
56 | </li> | 59 | </li> |
57 | {/if} | 60 | {/if} |
58 | <li class="pure-menu-item pure-u-lg-0"> | ||
59 | <a href="?do=atom{$searchcrits}" class="pure-menu-link">{'RSS Feed'|t}</a> | ||
60 | </li> | ||
61 | </ul> | 61 | </ul> |
62 | <div class="header-buttons pure-u-lg-1-6 pure-u-0 pure-u-lg-visible"> | 62 | <div class="header-buttons pure-u-lg-1-6 pure-u-0 pure-u-lg-visible"> |
63 | <ul class="pure-menu-list"> | 63 | <ul class="pure-menu-list"> |
64 | <li class="pure-menu-item"> | 64 | <li class="pure-menu-item"> |
65 | <a href="#" class="pure-menu-link" id="search-button" title="{'Search'|t}"> | 65 | <a href="#" class="pure-menu-link subheader-opener" |
66 | data-open-id="search" | ||
67 | id="search-button" title="{'Search'|t}"> | ||
66 | <i class="fa fa-search"></i> | 68 | <i class="fa fa-search"></i> |
67 | </a> | 69 | </a> |
68 | </li> | 70 | </li> |
69 | {if="!isLoggedIn()"} | ||
70 | <li class="pure-menu-item"> | ||
71 | <a href="?do=login" class="pure-menu-link" id="login-button" title="{'Login'|t}"> | ||
72 | <i class="fa fa-user"></i> | ||
73 | </a> | ||
74 | </li> | ||
75 | {else} | ||
76 | <li class="pure-menu-item"> | ||
77 | <a href="?do=logout" class="pure-menu-link" title="{'Logout'|t}"> | ||
78 | <i class="fa fa-sign-out"></i> | ||
79 | </a> | ||
80 | </li> | ||
81 | {/if} | ||
82 | <li class="pure-menu-item"> | 71 | <li class="pure-menu-item"> |
83 | <a href="?do=atom{$searchcrits}" class="pure-menu-link" title="{'RSS Feed'|t}"> | 72 | <a href="?do=atom{$searchcrits}" class="pure-menu-link" title="{'RSS Feed'|t}"> |
84 | <i class="fa fa-rss"></i> | 73 | <i class="fa fa-rss"></i> |
85 | </a> | 74 | </a> |
86 | </li> | 75 | </li> |
76 | {if="!isLoggedIn()"} | ||
77 | <li class="pure-menu-item"> | ||
78 | <a href="?do=login" class="pure-menu-link subheader-opener" | ||
79 | data-open-id="header-login-form" | ||
80 | id="login-button" title="{'Login'|t}"> | ||
81 | <i class="fa fa-user"></i> | ||
82 | </a> | ||
83 | </li> | ||
84 | {else} | ||
85 | <li class="pure-menu-item"> | ||
86 | <a href="?do=logout" class="pure-menu-link" title="{'Logout'|t}"> | ||
87 | <i class="fa fa-sign-out"></i> | ||
88 | </a> | ||
89 | </li> | ||
90 | {/if} | ||
87 | </ul> | 91 | </ul> |
88 | </div> | 92 | </div> |
89 | </div> | 93 | </div> |
@@ -91,7 +95,7 @@ | |||
91 | </div> | 95 | </div> |
92 | 96 | ||
93 | <div id="content"> | 97 | <div id="content"> |
94 | <div id="search" class="subheader-form"> | 98 | <div id="search" class="subheader-form open"> |
95 | <div class="pure-g"> | 99 | <div class="pure-g"> |
96 | <div class="pure-u-1 pure-u-lg-1-2"> | 100 | <div class="pure-u-1 pure-u-lg-1-2"> |
97 | <form method="GET" class="searchform" name="searchform"> | 101 | <form method="GET" class="searchform" name="searchform"> |
@@ -138,7 +142,7 @@ | |||
138 | <input type="text" name="login" placeholder="{'Username'|t}" tabindex="3"> | 142 | <input type="text" name="login" placeholder="{'Username'|t}" tabindex="3"> |
139 | <input type="password" name="password" placeholder="{'Password'|t}" tabindex="5"> | 143 | <input type="password" name="password" placeholder="{'Password'|t}" tabindex="5"> |
140 | <div class="remember-me"> | 144 | <div class="remember-me"> |
141 | <input type="checkbox" name="longlastingsession" id="longlastingsession" tabindex="6"> | 145 | <input type="checkbox" name="longlastingsession" id="longlastingsession" tabindex="6" checked> |
142 | <label for="longlastingsession">{'Remember me'|t}</label> | 146 | <label for="longlastingsession">{'Remember me'|t}</label> |
143 | </div> | 147 | </div> |
144 | <input type="hidden" name="token" value="{$token}"> | 148 | <input type="hidden" name="token" value="{$token}"> |