aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/navbar_default.tpl
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-01-20 11:05:15 +0000
committerMario <mario@mariovavti.com>2023-01-20 11:05:15 +0000
commit9dc949b62c6b5e3c8872211f71b11714d9d22b22 (patch)
tree38c06e7a128742e219eb74d6adb035f2f106918a /view/tpl/navbar_default.tpl
parent40394b94d7c8a8bf1f61f5482195164fff434b90 (diff)
downloadvolse-hubzilla-9dc949b62c6b5e3c8872211f71b11714d9d22b22.tar.gz
volse-hubzilla-9dc949b62c6b5e3c8872211f71b11714d9d22b22.tar.bz2
volse-hubzilla-9dc949b62c6b5e3c8872211f71b11714d9d22b22.zip
native dark theme initial checkin
Diffstat (limited to 'view/tpl/navbar_default.tpl')
-rw-r--r--view/tpl/navbar_default.tpl11
1 files changed, 7 insertions, 4 deletions
diff --git a/view/tpl/navbar_default.tpl b/view/tpl/navbar_default.tpl
index 4861c196f..58c6506b6 100644
--- a/view/tpl/navbar_default.tpl
+++ b/view/tpl/navbar_default.tpl
@@ -3,9 +3,9 @@
{{if $userinfo}}
<div class="d-flex" style="max-width: 50%">
<div class="dropdown">
- <div class="fakelink usermenu" data-bs-toggle="dropdown">
+ <div class="cursor-pointer usermenu" data-bs-toggle="dropdown">
<img id="avatar" src="{{$userinfo.icon}}" alt="{{$userinfo.name}}">
- <i class="fa fa-caret-down"></i>
+ <i class="navbar-text fa fa-caret-down"></i>
</div>
{{if $is_owner}}
<div class="dropdown-menu">
@@ -162,8 +162,9 @@
</nav>
<div class="offcanvas offcanvas-end" tabindex="-1" id="app-bin" aria-labelledby="app-bin-label">
<div class="offcanvas-header">
+
{{if $nav.login && !$userinfo}}
- <div class="d-lg-none pt-1 pb-1">
+ <div class="hstack gap-1 d-lg-none pt-1 pb-1">
{{if $nav.loginmenu.1.4}}
<a class="btn btn-primary btn-sm text-white" href="#" title="{{$nav.loginmenu.1.3}}" id="{{$nav.loginmenu.1.4}}_collapse" data-bs-toggle="modal" data-bs-target="#nav-login">
{{$nav.loginmenu.1.1}}
@@ -178,8 +179,9 @@
{{$nav.register.1}}
</a>
{{/if}}
+
</div>
- <div class="nav d-lg-flex"></div>
+ <div class="nav d-lg-flex w-100"></div>
{{else}}
<div class="lh-sm w-100" id="app-bin-label">
{{if $name}}
@@ -193,6 +195,7 @@
<i id="app-bin-trash" class="fa fa-2x fa-fw fa-trash-o d-none"></i>
{{/if}}
+ <button id="theme-switch" type="button" class="btn btn-outline-secondary border-0"><i id="theme-switch-icon" class="fa fa-{{$theme_switch_icon}}-o"></i></button>
<button type="button" class="btn-close text-reset" data-bs-dismiss="offcanvas" aria-label="Close"></button>
</div>