Navbar: Padding for items
This commit is contained in:
@@ -13,29 +13,29 @@ 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
|
||||||
|
|
||||||
| {% endblock menu_list %}
|
| {% endblock menu_list %}
|
||||||
@@ -45,11 +45,11 @@ li.dropdown
|
|||||||
|
|
||||||
li
|
li
|
||||||
a.navbar-item(
|
a.navbar-item(
|
||||||
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 }}?
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user