aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/default/page.header.html
diff options
context:
space:
mode:
Diffstat (limited to 'tpl/default/page.header.html')
-rw-r--r--tpl/default/page.header.html33
1 files changed, 28 insertions, 5 deletions
diff --git a/tpl/default/page.header.html b/tpl/default/page.header.html
index 39edf518..67d0d0c4 100644
--- a/tpl/default/page.header.html
+++ b/tpl/default/page.header.html
@@ -33,10 +33,17 @@
33 <li class="pure-menu-item"> 33 <li class="pure-menu-item">
34 <a href="?do=daily" class="pure-menu-link">{'Daily'|t}</a> 34 <a href="?do=daily" class="pure-menu-link">{'Daily'|t}</a>
35 </li> 35 </li>
36 <!-- FIXME! update plugin system to handle this -->
37 {loop="$plugins_header.buttons_toolbar"} 36 {loop="$plugins_header.buttons_toolbar"}
38 <li class="pure-menu-item"> 37 <li class="pure-menu-item">
39 <a href="{$value.url}" class="pure-menu-link">{$value.title}</a> 38 <a
39 {$value.class=isset($value.class) ? $value.class . ' pure-menu-link' : 'pure-menu-link'}
40 {loop="$value"}
41 {if="$key!='html'"}
42 {$key}="{$value}"
43 {/if}
44 {/loop}>
45 {$value.html}
46 </a>
40 </li> 47 </li>
41 {/loop} 48 {/loop}
42 {if="isLoggedIn()"} 49 {if="isLoggedIn()"}
@@ -80,7 +87,7 @@
80 87
81<div id="header" class="pure-u-0 pure-u-lg-visible"> 88<div id="header" class="pure-u-0 pure-u-lg-visible">
82 <h1 id="header-title"> 89 <h1 id="header-title">
83 <a href="$titleLink"> 90 <a href="{$titleLink}">
84 {$shaarlititle} 91 {$shaarlititle}
85 </a> 92 </a>
86 </h1> 93 </h1>
@@ -116,9 +123,26 @@
116</div> 123</div>
117 124
118<div id="content"> 125<div id="content">
126 {loop="$plugins_header.fields_toolbar"}
127 <form
128 {loop="$value"}
129 {if="$key!='inputs'"}
130 {$key}="{$value}"
131 {/if}
132 {/loop}>
133 <div class="subheader-form open pure-u-0 pure-u-lg-visible pure-u-lg-1">
134 {loop="$value.inputs"}
135 <input
136 {loop="$value"}
137 {$key}="{$value}"
138 {/loop}>
139 {/loop}
140 </div>
141 </form>
142 {/loop}
119 {if="!isLoggedIn()"} 143 {if="!isLoggedIn()"}
120 <form method="post" name="loginform"> 144 <form method="post" name="loginform">
121 <div id="header-login-form"> 145 <div class="subheader-form" id="header-login-form">
122 <input type="text" name="login" placeholder="{'Username'|t}" tabindex="3"> 146 <input type="text" name="login" placeholder="{'Username'|t}" tabindex="3">
123 <input type="password" name="password" placeholder="{'Password'|t}" tabindex="5"> 147 <input type="password" name="password" placeholder="{'Password'|t}" tabindex="5">
124 <div class="remember-me"> 148 <div class="remember-me">
@@ -131,7 +155,6 @@
131 </div> 155 </div>
132 </form> 156 </form>
133 {/if} 157 {/if}
134
135{if="!empty($newVersion) || !empty($versionError)"} 158{if="!empty($newVersion) || !empty($versionError)"}
136 <div class="pure-g new-version-message pure-alert pure-alert-warning pure-alert-closable"> 159 <div class="pure-g new-version-message pure-alert pure-alert-warning pure-alert-closable">
137 <div class="pure-u-2-24"></div> 160 <div class="pure-u-2-24"></div>