aboutsummaryrefslogtreecommitdiffstats
path: root/view/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:24:19 +0100
commite2ee565f05a43bb5fa461df3fd857dc27c8d9b67 (patch)
treee2be892db46d442091a2798fc9089461f8667dd3 /view/tpl
parent23303391e070120851d505a2ec8f3b9b696329e2 (diff)
downloadvolse-hubzilla-e2ee565f05a43bb5fa461df3fd857dc27c8d9b67.tar.gz
volse-hubzilla-e2ee565f05a43bb5fa461df3fd857dc27c8d9b67.tar.bz2
volse-hubzilla-e2ee565f05a43bb5fa461df3fd857dc27c8d9b67.zip
cherry-pick nav-login changes
Diffstat (limited to 'view/tpl')
-rwxr-xr-xview/tpl/login.tpl6
-rwxr-xr-xview/tpl/nav.tpl12
2 files changed, 8 insertions, 10 deletions
diff --git a/view/tpl/login.tpl b/view/tpl/login.tpl
index 1c2841adf..3d3faa41c 100755
--- a/view/tpl/login.tpl
+++ b/view/tpl/login.tpl
@@ -1,6 +1,3 @@
-{{if $login_page}}
-<div class="generic-content-wrapper-styled">
-{{/if}}
<form action="{{$dest_url}}" id="{{$form_id}}" method="post" >
<input type="hidden" name="auth-params" value="login" />
<div id="login-main">
@@ -20,6 +17,5 @@
{{/foreach}}
</form>
{{if $login_page}}
-</div>
<script type="text/javascript"> $(document).ready(function() { $("#id_{{$lname.0}}").focus();} );</script>
-{{/if}} \ No newline at end of file
+{{/if}}
diff --git a/view/tpl/nav.tpl b/view/tpl/nav.tpl
index bda833b94..d83f493ff 100755
--- a/view/tpl/nav.tpl
+++ b/view/tpl/nav.tpl
@@ -155,11 +155,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}}