diff --git a/app/templates/admin/_tabbed_nav.html b/app/templates/admin/_tabbed_nav.html new file mode 100644 index 00000000..e429eaf1 --- /dev/null +++ b/app/templates/admin/_tabbed_nav.html @@ -0,0 +1,22 @@ +
+ +
\ No newline at end of file diff --git a/app/templates/admin/activities.html b/app/templates/admin/activities.html index b9edebd3..ff422ba1 100644 --- a/app/templates/admin/activities.html +++ b/app/templates/admin/activities.html @@ -7,6 +7,8 @@ {% set active_child = 'admin_activities' %} {% block app_content %} +{% include 'admin/_tabbed_nav.html' %} +

{{ _('Activities') }}

diff --git a/app/templates/admin/approve_registrations.html b/app/templates/admin/approve_registrations.html index ec2fc977..b32f582a 100644 --- a/app/templates/admin/approve_registrations.html +++ b/app/templates/admin/approve_registrations.html @@ -7,6 +7,8 @@ {% set active_child = 'admin_approve_registrations' %} {% block app_content %} +{% include 'admin/_tabbed_nav.html' %} +

{{ _('Registrations') }}

diff --git a/app/templates/admin/communities.html b/app/templates/admin/communities.html index 55212c85..2f15a4d1 100644 --- a/app/templates/admin/communities.html +++ b/app/templates/admin/communities.html @@ -7,6 +7,8 @@ {% set active_child = 'admin_communities' %} {% block app_content %} +{% include 'admin/_tabbed_nav.html' %} +

{{ title }}

diff --git a/app/templates/admin/content.html b/app/templates/admin/content.html index 97205579..d895c844 100644 --- a/app/templates/admin/content.html +++ b/app/templates/admin/content.html @@ -7,6 +7,8 @@ {% set active_child = 'admin_content' %} {% block app_content %} +{% include 'admin/_tabbed_nav.html' %} +

{{ _('Content') }}

diff --git a/app/templates/admin/federation.html b/app/templates/admin/federation.html index cc4d1a8f..33bdddf2 100644 --- a/app/templates/admin/federation.html +++ b/app/templates/admin/federation.html @@ -7,6 +7,8 @@ {% set active_child = 'admin_federation' %} {% block app_content %} +{% include 'admin/_tabbed_nav.html' %} +
diff --git a/app/templates/admin/instances.html b/app/templates/admin/instances.html index da5d1f1e..8d860cdf 100644 --- a/app/templates/admin/instances.html +++ b/app/templates/admin/instances.html @@ -7,6 +7,8 @@ {% set active_child = 'admin_instances' %} {% block app_content %} +{% include 'admin/_tabbed_nav.html' %} +

{{ title }}

diff --git a/app/templates/admin/misc.html b/app/templates/admin/misc.html index 57ea0561..0f0a9136 100644 --- a/app/templates/admin/misc.html +++ b/app/templates/admin/misc.html @@ -7,6 +7,8 @@ {% set active_child = 'admin_misc' %} {% block app_content %} +{% include 'admin/_tabbed_nav.html' %} +

{{ _('Misc settings') }}

diff --git a/app/templates/admin/newsletter.html b/app/templates/admin/newsletter.html index dab0d540..4efdc2a4 100644 --- a/app/templates/admin/newsletter.html +++ b/app/templates/admin/newsletter.html @@ -3,6 +3,8 @@ {% set active_child = 'admin_newsletter' %} {% block app_content %} +{% include 'admin/_tabbed_nav.html' %} +
diff --git a/app/templates/admin/permissions.html b/app/templates/admin/permissions.html index 4de9bc64..0b556baf 100644 --- a/app/templates/admin/permissions.html +++ b/app/templates/admin/permissions.html @@ -7,6 +7,8 @@ {% set active_child = 'admin_permissions' %} {% block app_content %} +{% include 'admin/_tabbed_nav.html' %} +
diff --git a/app/templates/admin/reports.html b/app/templates/admin/reports.html index d6fd8017..c91d5f8d 100644 --- a/app/templates/admin/reports.html +++ b/app/templates/admin/reports.html @@ -7,6 +7,8 @@ {% set active_child = 'admin_reports' %} {% block app_content %} +{% include 'admin/_tabbed_nav.html' %} +

{{ _('Reports') }}

diff --git a/app/templates/admin/site.html b/app/templates/admin/site.html index 3abc7971..062d3957 100644 --- a/app/templates/admin/site.html +++ b/app/templates/admin/site.html @@ -6,8 +6,11 @@ {% from 'bootstrap/form.html' import render_field %} {% set active_child = 'admin_site' %} + {% block app_content %} +{% include 'admin/_tabbed_nav.html' %} +

{{ _('Site profile') }}

diff --git a/app/templates/admin/topics.html b/app/templates/admin/topics.html index 074067ad..526c5410 100644 --- a/app/templates/admin/topics.html +++ b/app/templates/admin/topics.html @@ -7,6 +7,8 @@ {% set active_child = 'admin_topics' %} {% block app_content %} +{% include 'admin/_tabbed_nav.html' %} +
{% macro render_topic(topic, depth) %} {{ '--' * depth }} {{ topic['topic'].name }} diff --git a/app/templates/admin/users.html b/app/templates/admin/users.html index 03a3344d..733137eb 100644 --- a/app/templates/admin/users.html +++ b/app/templates/admin/users.html @@ -7,6 +7,8 @@ {% set active_child = 'admin_users' %} {% block app_content %} +{% include 'admin/_tabbed_nav.html' %} +

{{ _('Users') }}

diff --git a/app/templates/base.html b/app/templates/base.html index fa066b25..f00bc31f 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -224,21 +224,7 @@