From 317ccdca64eee53b1b3093c6d3d31b9c38101ec9 Mon Sep 17 00:00:00 2001 From: chomik Date: Tue, 9 Apr 2019 22:35:13 +0200 Subject: [PATCH] dropdown icons, header, topbar --- pages/_includes/layout/header.html | 2 +- pages/_includes/parts/navbar.html | 52 ++++++++++++------------------ pages/navbar.html | 4 --- scss/_variables.scss | 6 ++-- scss/layout/_header.scss | 2 -- scss/layout/_navbar.scss | 8 ----- scss/ui/_avatars.scss | 4 +-- scss/ui/_dropdowns.scss | 47 +++++++++++++++++++++++++++ 8 files changed, 73 insertions(+), 52 deletions(-) diff --git a/pages/_includes/layout/header.html b/pages/_includes/layout/header.html index 7551aa710..dfb5c25ed 100644 --- a/pages/_includes/layout/header.html +++ b/pages/_includes/layout/header.html @@ -1,3 +1,3 @@
- {% include parts/navbar.html logo=true user-menu=1 person=4 notifications=true customize=true fullscreen=true dark=false %} + {% include parts/navbar.html logo=true user-menu=1 person=5 dark=false %}
diff --git a/pages/_includes/parts/navbar.html b/pages/_includes/parts/navbar.html index de0237ab3..e1490b390 100644 --- a/pages/_includes/parts/navbar.html +++ b/pages/_includes/parts/navbar.html @@ -10,10 +10,10 @@ - {% if include.icon %}{% include ui/icon.html icon=include.icon %}{% endif %} + {% if include.icon %}{% include ui/icon.html icon=include.icon %}{% endif %} {% if include.stamp %}UI{% endif %} - {% if include.logo %}{% endif %} - {% if include.title %}{{ include.title }}{% endif %} + {% if include.logo %}{% endif %} + {% if include.title %}{{ include.title }}{% endif %} {% if include.plus-left %} @@ -130,11 +130,11 @@ {% if include.user-menu == 1 %} - - Hello, Welcome - {{ person.full_name }} - - {% include ui/avatar.html src=person.photo %} + {% include ui/avatar.html src=person.photo %} + + {{ person.full_name }} + Administrator + {% elsif include.user-menu == 2 %} {{ person.full_name }} @@ -146,39 +146,27 @@ {% include ui/avatar.html src=person.photo class="mr-2 btn-avatar" %}{{ person.full_name }} {% endif %} -