aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-02-01 14:45:52 -0800
committerzotlabs <mike@macgirvin.com>2017-02-01 14:45:52 -0800
commitdb710cd2dfc67f4bb4c6dfde5ff62cf0a11d9f08 (patch)
tree5f307d7390ea9cd90abaeb12dd26c65e70f484b1 /view/tpl
parentec037abf92be6ac6495cabcd5d64821655f39e37 (diff)
downloadvolse-hubzilla-db710cd2dfc67f4bb4c6dfde5ff62cf0a11d9f08.tar.gz
volse-hubzilla-db710cd2dfc67f4bb4c6dfde5ff62cf0a11d9f08.tar.bz2
volse-hubzilla-db710cd2dfc67f4bb4c6dfde5ff62cf0a11d9f08.zip
fix a few style issues with nav login panel
Diffstat (limited to 'view/tpl')
-rwxr-xr-xview/tpl/login.tpl4
-rwxr-xr-xview/tpl/nav.tpl8
-rw-r--r--view/tpl/remote_login.tpl2
3 files changed, 5 insertions, 9 deletions
diff --git a/view/tpl/login.tpl b/view/tpl/login.tpl
index d56c8f272..1c2841adf 100755
--- a/view/tpl/login.tpl
+++ b/view/tpl/login.tpl
@@ -1,4 +1,6 @@
+{{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">
@@ -17,5 +19,7 @@
<input type="hidden" name="{{$k}}" value="{{$v}}" />
{{/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
diff --git a/view/tpl/nav.tpl b/view/tpl/nav.tpl
index 86f9d5cf9..bda833b94 100755
--- a/view/tpl/nav.tpl
+++ b/view/tpl/nav.tpl
@@ -160,16 +160,8 @@
<div id="nav-login" class="login-dropdown-menu" style="display:none; width:150%;">
{{$nav.login}}
{{$nav.remote_login}}
-
- <!-- {{foreach $nav.loginmenu as $loginmenu}}
- <li role="presentation"><a class="{{$loginmenu.2}}" href="{{$loginmenu.0}}" title="{{$loginmenu.3}}" role="menuitem" id="{{$loginmenu.4}}">{{$loginmenu.1}}</a></li>
- {{/foreach}} -->
</div>
</li>
-<!-- {{foreach $nav.loginmenu as $loginmenu}}
- <li role="presentation"><a class="{{$loginmenu.2}} visible-xs" href="{{$loginmenu.0}}" title="{{$loginmenu.3}}" role="menuitem">{{$loginmenu.1}}</a></li>
- {{/foreach}}
--->
{{/if}}
{{if $nav.register}}
diff --git a/view/tpl/remote_login.tpl b/view/tpl/remote_login.tpl
index 1d11fb712..e6d387265 100644
--- a/view/tpl/remote_login.tpl
+++ b/view/tpl/remote_login.tpl
@@ -1 +1 @@
-<a href="rmagic" class="btn btn-default rmagic-button">{{$title}}</a>
+<a href="rmagic" class="btn btn-block btn-success rmagic-button">{{$title}}</a>