aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/nav.tpl
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-02-02 14:19:23 +0100
committerMario Vavti <mario@mariovavti.com>2017-02-02 14:19:23 +0100
commit63e06578c46a104b377b196aec27c6409fe9baf1 (patch)
tree0f523ac6b5fe6c4e873f721b3dfe6ff29d1353ba /view/tpl/nav.tpl
parenta1f03015ec4245bc3c2c85e75327e191744ad559 (diff)
downloadvolse-hubzilla-63e06578c46a104b377b196aec27c6409fe9baf1.tar.gz
volse-hubzilla-63e06578c46a104b377b196aec27c6409fe9baf1.tar.bz2
volse-hubzilla-63e06578c46a104b377b196aec27c6409fe9baf1.zip
use bootstrap dropdown for login
Diffstat (limited to 'view/tpl/nav.tpl')
-rwxr-xr-xview/tpl/nav.tpl12
1 files changed, 7 insertions, 5 deletions
diff --git a/view/tpl/nav.tpl b/view/tpl/nav.tpl
index 5b4492c1b..933a33745 100755
--- a/view/tpl/nav.tpl
+++ b/view/tpl/nav.tpl
@@ -143,11 +143,13 @@
{{/if}}
{{if $nav.login && !$userinfo}}
- <li class="nav-login hidden-xs">
- <a onclick="openClose('nav-login'); return false;" href="#" title="{{$nav.loginmenu.0.3}}" id="{{$nav.loginmenu.0.4}}">{{$nav.loginmenu.0.1}} <span class="caret" id="loginmenu-caret"></span></a>
- <div id="nav-login" class="login-dropdown-menu" style="display:none; width:150%;">
- {{$nav.login}}
- {{$nav.remote_login}}
+ <li class="">
+ <a href="#" class="dropdown-toggle" title="{{$nav.loginmenu.0.3}}" id="{{$nav.loginmenu.0.4}}" data-toggle="dropdown">{{$nav.loginmenu.0.1}} <span class="caret" id="loginmenu-caret"></span></a>
+ <div id="nav-login" class="dropdown-menu">
+ <div class="form-group">
+ {{$nav.login}}
+ </div>
+ {{$nav.remote_login}}
</div>
</li>
{{/if}}