From 0360d42d30ced55cdb5a92320d5915b758c8bc19 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Fri, 10 Feb 2017 10:01:43 +0100 Subject: add a login button for collapsed state and refine login modal --- view/theme/redbasic/css/style.css | 5 +++-- view/tpl/nav.tpl | 5 +++++ view/tpl/nav_login.tpl | 10 +++++++--- 3 files changed, 15 insertions(+), 5 deletions(-) (limited to 'view') diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 733d6a7c1..a25ed93bc 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -1829,7 +1829,8 @@ nav .badge.mail-update { #expand-tabs, #doco-return-to-top-btn, #context-help-btn, -#notifications-btn { +#notifications-btn, +#login_nav_btn_collapse { color: $nav_active_icon_colour; padding: 7px 10px; } @@ -2118,4 +2119,4 @@ dl.bb-dl > dd > li { } #permcat-index { margin: 10px; -} \ No newline at end of file +} diff --git a/view/tpl/nav.tpl b/view/tpl/nav.tpl index 5afc5d14b..7037881ec 100755 --- a/view/tpl/nav.tpl +++ b/view/tpl/nav.tpl @@ -5,6 +5,11 @@ + {{if $nav.login && !$userinfo}} + + {{/if}} {{if $localuser}} + + + -- cgit v1.2.3