Navbar: padding for items
This commit is contained in:
@@ -135,7 +135,7 @@ html(lang="en")
|
|||||||
|
|
||||||
ul.dropdown-menu.p-0
|
ul.dropdown-menu.p-0
|
||||||
li
|
li
|
||||||
a.navbar-item(
|
a.navbar-item.px-2(
|
||||||
href="{{ url_for('projects.view', project_url='hdri') }}",
|
href="{{ url_for('projects.view', project_url='hdri') }}",
|
||||||
title="HDRI Library",
|
title="HDRI Library",
|
||||||
data-toggle="tooltip",
|
data-toggle="tooltip",
|
||||||
@@ -143,7 +143,7 @@ html(lang="en")
|
|||||||
i.pi-globe
|
i.pi-globe
|
||||||
| HDRI
|
| HDRI
|
||||||
li
|
li
|
||||||
a.navbar-item(
|
a.navbar-item.px-2(
|
||||||
href="{{ url_for('projects.view', project_url='textures') }}",
|
href="{{ url_for('projects.view', project_url='textures') }}",
|
||||||
title="Textures Library",
|
title="Textures Library",
|
||||||
data-toggle="tooltip",
|
data-toggle="tooltip",
|
||||||
@@ -151,7 +151,7 @@ html(lang="en")
|
|||||||
i.pi-folder-texture
|
i.pi-folder-texture
|
||||||
| Textures
|
| Textures
|
||||||
li
|
li
|
||||||
a.navbar-item(
|
a.navbar-item.px-2(
|
||||||
href="{{ url_for('projects.view', project_url='characters') }}",
|
href="{{ url_for('projects.view', project_url='characters') }}",
|
||||||
title="Character Library",
|
title="Character Library",
|
||||||
data-toggle="tooltip",
|
data-toggle="tooltip",
|
||||||
@@ -169,7 +169,7 @@ html(lang="en")
|
|||||||
|
|
||||||
ul.dropdown-menu
|
ul.dropdown-menu
|
||||||
li
|
li
|
||||||
a.navbar-item(
|
a.navbar-item.px-2(
|
||||||
href="{{ url_for('cloud.courses') }}",
|
href="{{ url_for('cloud.courses') }}",
|
||||||
title="Courses",
|
title="Courses",
|
||||||
data-toggle="tooltip",
|
data-toggle="tooltip",
|
||||||
@@ -177,7 +177,7 @@ html(lang="en")
|
|||||||
i.pi-graduation-cap
|
i.pi-graduation-cap
|
||||||
| Courses
|
| Courses
|
||||||
li
|
li
|
||||||
a.navbar-item(
|
a.navbar-item.px-2(
|
||||||
href="{{ url_for('cloud.workshops') }}",
|
href="{{ url_for('cloud.workshops') }}",
|
||||||
title="Workshops",
|
title="Workshops",
|
||||||
data-toggle="tooltip",
|
data-toggle="tooltip",
|
||||||
@@ -185,7 +185,7 @@ html(lang="en")
|
|||||||
i.pi-lightbulb
|
i.pi-lightbulb
|
||||||
| Workshops
|
| Workshops
|
||||||
li
|
li
|
||||||
a.navbar-item(
|
a.navbar-item.px-2(
|
||||||
href="{{ url_for('projects.view', project_url='gallery') }}",
|
href="{{ url_for('projects.view', project_url='gallery') }}",
|
||||||
title="Curated artwork collection",
|
title="Curated artwork collection",
|
||||||
data-toggle="tooltip",
|
data-toggle="tooltip",
|
||||||
@@ -204,25 +204,25 @@ html(lang="en")
|
|||||||
|
|
||||||
ul.dropdown-menu
|
ul.dropdown-menu
|
||||||
li
|
li
|
||||||
a.navbar-item(href="/p/spring")
|
a.navbar-item.px-2(href="/p/spring")
|
||||||
span.px-2 Spring
|
span.px-2 Spring
|
||||||
li
|
li
|
||||||
a.navbar-item(href="/p/hero")
|
a.navbar-item.px-2(href="/p/hero")
|
||||||
span.px-2 Hero
|
span.px-2 Hero
|
||||||
li
|
li
|
||||||
a.navbar-item(href="/p/dailydweebs")
|
a.navbar-item.px-2(href="/p/dailydweebs")
|
||||||
span.px-2 The Daily Dweebs
|
span.px-2 The Daily Dweebs
|
||||||
li
|
li
|
||||||
a.navbar-item(href="/p/agent-327")
|
a.navbar-item.px-2(href="/p/agent-327")
|
||||||
span.px-2 Agent 327
|
span.px-2 Agent 327
|
||||||
li
|
li
|
||||||
a.navbar-item(href="/p/caminandes-3")
|
a.navbar-item.px-2(href="/p/caminandes-3")
|
||||||
span.px-2 Caminandes: Llamigos
|
span.px-2 Caminandes: Llamigos
|
||||||
|
|
||||||
li.dropdown-divider
|
li.dropdown-divider
|
||||||
|
|
||||||
li
|
li
|
||||||
a.navbar-item(href="{{ url_for('cloud.open_projects') }}")
|
a.navbar-item.px-2(href="{{ url_for('cloud.open_projects') }}")
|
||||||
span.pl-2 All Open Projects
|
span.pl-2 All Open Projects
|
||||||
|
|
||||||
li.nav-item.dropdown
|
li.nav-item.dropdown
|
||||||
@@ -236,7 +236,7 @@ html(lang="en")
|
|||||||
|
|
||||||
ul.dropdown-menu.dropdown-menu-right
|
ul.dropdown-menu.dropdown-menu-right
|
||||||
li
|
li
|
||||||
a.navbar-item(
|
a.navbar-item.px-2(
|
||||||
href="/attract",
|
href="/attract",
|
||||||
title="Production Management",
|
title="Production Management",
|
||||||
data-toggle="tooltip",
|
data-toggle="tooltip",
|
||||||
@@ -244,7 +244,7 @@ html(lang="en")
|
|||||||
i.pi-attract
|
i.pi-attract
|
||||||
| Attract
|
| Attract
|
||||||
li
|
li
|
||||||
a.navbar-item(
|
a.navbar-item.px-2(
|
||||||
href="/flamenco",
|
href="/flamenco",
|
||||||
title="Render Management",
|
title="Render Management",
|
||||||
data-toggle="tooltip",
|
data-toggle="tooltip",
|
||||||
@@ -253,7 +253,7 @@ html(lang="en")
|
|||||||
| Flamenco
|
| Flamenco
|
||||||
|
|
||||||
li
|
li
|
||||||
a.navbar-item(
|
a.navbar-item.pl-2.pr-3(
|
||||||
href="/services#blender-cloud-add-on",
|
href="/services#blender-cloud-add-on",
|
||||||
title="Blender Sync, Texture Browser and more",
|
title="Blender Sync, Texture Browser and more",
|
||||||
data-toggle="tooltip",
|
data-toggle="tooltip",
|
||||||
@@ -264,7 +264,7 @@ html(lang="en")
|
|||||||
li.dropdown-divider
|
li.dropdown-divider
|
||||||
|
|
||||||
li
|
li
|
||||||
a.navbar-item(
|
a.navbar-item.px-2(
|
||||||
href="{{ url_for('cloud.services') }}",
|
href="{{ url_for('cloud.services') }}",
|
||||||
title="All Blender Cloud services",
|
title="All Blender Cloud services",
|
||||||
data-toggle="tooltip",
|
data-toggle="tooltip",
|
||||||
|
@@ -28,19 +28,19 @@ a.navbar-item.dropdown-toggle(href="{{ url_for('settings.profile') }}", data-tog
|
|||||||
| {% block menu_list %}
|
| {% block menu_list %}
|
||||||
li.subscription-status(class="{{ subscription }}")
|
li.subscription-status(class="{{ subscription }}")
|
||||||
| {% if subscription == 'subscriber' %}
|
| {% if subscription == 'subscriber' %}
|
||||||
a.navbar-item.pt-2.pr-3(
|
a.navbar-item.pt-2.pl-2.pr-3(
|
||||||
href="{{ url_for('settings.billing') }}"
|
href="{{ url_for('settings.billing') }}"
|
||||||
title="View subscription info")
|
title="View subscription info")
|
||||||
i.pi-grin
|
i.pi-grin
|
||||||
span.subitem Your subscription is active!
|
span.subitem Your subscription is active!
|
||||||
| {% elif subscription == 'demo' %}
|
| {% elif subscription == 'demo' %}
|
||||||
a.navbar-item.pt-2.pr-3(
|
a.navbar-item.pt-2.pl-2.pr-3(
|
||||||
href="{{url_for('settings.billing')}}"
|
href="{{url_for('settings.billing')}}"
|
||||||
title="View subscription info")
|
title="View subscription info")
|
||||||
i.pi-heart-filled
|
i.pi-heart-filled
|
||||||
span.subitem You have a free account.
|
span.subitem You have a free account.
|
||||||
| {% elif current_user.has_cap('can-renew-subscription') %}
|
| {% elif current_user.has_cap('can-renew-subscription') %}
|
||||||
a.navbar-item(target='_blank', href="/renew", title="Renew subscription")
|
a.navbar-item.pt-2.pl-2.pr-3(target='_blank', href="/renew", title="Renew subscription")
|
||||||
i.pi-heart
|
i.pi-heart
|
||||||
span.info Your subscription is not active.
|
span.info Your subscription is not active.
|
||||||
span.renew Click here to renew.
|
span.renew Click here to renew.
|
||||||
@@ -56,7 +56,7 @@ li.subscription-status(class="{{ subscription }}")
|
|||||||
| {{ super() }}
|
| {{ super() }}
|
||||||
|
|
||||||
li
|
li
|
||||||
a.navbar-item(
|
a.navbar-item.px-2(
|
||||||
href="{{ url_for('settings.billing') }}"
|
href="{{ url_for('settings.billing') }}"
|
||||||
title="Billing")
|
title="Billing")
|
||||||
i.pi-credit-card
|
i.pi-credit-card
|
||||||
|
Reference in New Issue
Block a user