aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
Diffstat (limited to 'view')
-rwxr-xr-xview/tpl/nav.tpl27
1 files changed, 20 insertions, 7 deletions
diff --git a/view/tpl/nav.tpl b/view/tpl/nav.tpl
index f59afee5b..3fccfaeb7 100755
--- a/view/tpl/nav.tpl
+++ b/view/tpl/nav.tpl
@@ -156,13 +156,7 @@
{{if $nav.login && !$userinfo}}
<li class="">
- <a href="#" title="{{$nav.loginmenu.0.3}}" id="{{$nav.loginmenu.0.4}}" onclick="openClose('nav-login'); return false;">{{$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>
+ <a href="#" title="{{$nav.loginmenu.0.3}}" id="{{$nav.loginmenu.0.4}}" data-toggle="modal" data-target="#nav-login">{{$nav.loginmenu.0.1}} <span class="caret" id="loginmenu-caret"></span></a>
</li>
{{/if}}
@@ -227,6 +221,25 @@
{{$navapps}}
</div>
</div>
+
+
+ {{if $nav.login && !$userinfo}}
+
+ <div id="nav-login" class="modal" role="dialog">
+ <div class="modal-dialog">
+ <div class="modal-header"><h3>{{$nav.loginmenu.0.1}}</h3></div>
+ <div class="modal-body">
+ <div class="form-group">
+ {{$nav.login}}
+ {{$nav.remote_login}}
+ </div>
+ </div>
+ </div>
+ </div>
+
+ {{/if}}
+
+
{{if $nav.help.6}}
<div id="contextual-help-content" class="contextual-help-content">
{{$nav.help.5}}