Navbar: Padding for items

This commit is contained in:
2018-09-12 19:00:29 +02:00
parent a97c8ffc93
commit afda0062f5

View File

@@ -13,27 +13,27 @@ li.dropdown
| {% if not current_user.has_role('protected') %} | {% if not current_user.has_role('protected') %}
| {% block menu_list %} | {% block menu_list %}
li li
a.navbar-item( a.navbar-item.px-2(
href="{{ url_for('projects.home_project') }}" href="{{ url_for('projects.home_project') }}"
title="Home") title="Home")
| #[i.pi-home] Home | #[i.pi-home] Home
li li
a.navbar-item( a.navbar-item.px-2(
href="{{ url_for('projects.index') }}" href="{{ url_for('projects.index') }}"
title="My Projects") title="My Projects")
| #[i.pi-star] My Projects | #[i.pi-star] My Projects
| {% if current_user.has_organizations() %} | {% if current_user.has_organizations() %}
li li
a.navbar-item( a.navbar-item.px-2(
href="{{ url_for('pillar.web.organizations.index') }}" href="{{ url_for('pillar.web.organizations.index') }}"
title="My Organizations") title="My Organizations")
| #[i.pi-users] My Organizations | #[i.pi-users] My Organizations
| {% endif %} | {% endif %}
li li
a.navbar-item( a.navbar-item.px-2(
href="{{ url_for('settings.profile') }}" href="{{ url_for('settings.profile') }}"
title="Settings") title="Settings")
| #[i.pi-cog] Settings | #[i.pi-cog] Settings
@@ -48,7 +48,7 @@ li.dropdown
href="{{ url_for('users.logout') }}") href="{{ url_for('users.logout') }}")
i.pi-log-out(title="Log Out") i.pi-log-out(title="Log Out")
| Log out | Log out
a.navbar-item.subitem( a.navbar-item.subitem.pt-0(
href="{{ url_for('users.switch') }}") href="{{ url_for('users.switch') }}")
i.pi-blank i.pi-blank
| Not {{ current_user.full_name }}? | Not {{ current_user.full_name }}?