diff options
Diffstat (limited to 'tpl/default/page.header.html')
-rw-r--r-- | tpl/default/page.header.html | 45 |
1 files changed, 40 insertions, 5 deletions
diff --git a/tpl/default/page.header.html b/tpl/default/page.header.html index 7a67fb2a..e6cf5aff 100644 --- a/tpl/default/page.header.html +++ b/tpl/default/page.header.html | |||
@@ -63,11 +63,21 @@ | |||
63 | </li> | 63 | </li> |
64 | {/if} | 64 | {/if} |
65 | </ul> | 65 | </ul> |
66 | <div class="pure-u-lg-1-12 pure-u-sm-0 pure-u-lg-visible"> | 66 | <div class="header-buttons pure-u-lg-1-12 pure-u-sm-0 pure-u-lg-visible"> |
67 | <!--<i class="fa fa-user"></i>--> | 67 | <ul class="pure-menu-list"> |
68 | <a href="?do=atom{$searchcrits}" class="pure-menu-link"> | 68 | {if="!isLoggedIn()"} |
69 | <i class="fa fa-rss"></i> | 69 | <li class="pure-menu-item"> |
70 | </a> | 70 | <a href="?do=login" class="pure-menu-link" id="login-button"> |
71 | <i class="fa fa-user"></i> | ||
72 | </a> | ||
73 | </li> | ||
74 | {/if} | ||
75 | <li class="pure-menu-item"> | ||
76 | <a href="?do=atom{$searchcrits}" class="pure-menu-link"> | ||
77 | <i class="fa fa-rss"></i> | ||
78 | </a> | ||
79 | </li> | ||
80 | </ul> | ||
71 | </div> | 81 | </div> |
72 | </div> | 82 | </div> |
73 | </div> | 83 | </div> |
@@ -106,6 +116,31 @@ | |||
106 | </div> | 116 | </div> |
107 | 117 | ||
108 | <div id="content"> | 118 | <div id="content"> |
119 | <div id="header-login-form"> | ||
120 | <input type="text" name="login" placeholder="Username"> | ||
121 | <input type="password" name="password" placeholder="Password"> | ||
122 | <input type="submit" value="Login"> | ||
123 | </div> | ||
124 | |||
125 | {if="!empty($newVersion) || !empty($versionError)"} | ||
126 | <div class="pure-g new-version-message pure-alert pure-alert-warning pure-alert-closable"> | ||
127 | <div class="pure-u-2-24"></div> | ||
128 | {if="$newVersion"} | ||
129 | <div class="pure-u-20-24"> | ||
130 | Shaarli {$newVersion} is | ||
131 | <a href="https://github.com/shaarli/Shaarli/releases">available</a>. | ||
132 | </div> | ||
133 | {/if} | ||
134 | {if="$versionError"} | ||
135 | <div class="pure-u-20-24"> | ||
136 | Error: {$versionError} | ||
137 | </div> | ||
138 | {/if} | ||
139 | <div class="pure-u-2-24"> | ||
140 | <i id="new-version-dismiss" class="fa fa-times pure-alert-close"></i> | ||
141 | </div> | ||
142 | </div> | ||
143 | {/if} | ||
109 | 144 | ||
110 | 145 | ||
111 | {if="!empty($_GET['source']) && $_GET['source']=='bookmarklet'"} | 146 | {if="!empty($_GET['source']) && $_GET['source']=='bookmarklet'"} |