From ae8dd8e8cd9b6b2d9264a2636fd8cc4256db3296 Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Thu, 23 Apr 2020 11:08:43 +0100 Subject: [PATCH] Tidy up the platform admin pages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit does two things: - brings the ‘All organisations’ page back within the platform admin part of the site (because it’s hard to find otherwise) - makes the layouts of all the pages within platform admin a bit closer to the service-specific pages in terms of heading sizes, spacing, etc so that moving between them doesn’t feel so jumpy --- app/navigation.py | 2 +- app/templates/org_template.html | 2 +- .../views/email-branding/select-branding.html | 2 +- .../find-services/find-services-by-name.html | 2 +- .../views/find-users/find-users-by-email.html | 2 +- app/templates/views/inbound-sms-admin.html | 12 +-- .../select-letter-branding.html | 2 +- app/templates/views/organisations/index.html | 81 +++++++------------ .../views/platform-admin/_base_template.html | 20 +++-- .../views/platform-admin/clear-cache.html | 6 +- .../views/platform-admin/complaints.html | 2 +- app/templates/views/platform-admin/index.html | 2 +- .../views/platform-admin/reports.html | 2 +- .../platform-admin/returned-letters.html | 16 ++-- .../views/platform-admin/services.html | 2 +- .../views/platform-admin/splash-page.html | 2 +- app/templates/views/providers/providers.html | 4 +- .../views/organisations/test_organisation.py | 2 +- 18 files changed, 68 insertions(+), 95 deletions(-) diff --git a/app/navigation.py b/app/navigation.py index 7343559d6..210354599 100644 --- a/app/navigation.py +++ b/app/navigation.py @@ -98,6 +98,7 @@ class HeaderNavigation(Navigation): 'notifications_sent_by_service', 'performance_platform_xlsx', 'usage_for_all_services', + 'organisations', 'platform_admin', 'platform_admin_list_complaints', 'platform_admin_reports', @@ -235,7 +236,6 @@ class HeaderNavigation(Navigation): 'organisation_settings', 'organisation_preview_email_branding', 'organisation_preview_letter_branding', - 'organisations', 'privacy', 'public_agreement', 'public_download_agreement', diff --git a/app/templates/org_template.html b/app/templates/org_template.html index 2088b05cf..af974f104 100644 --- a/app/templates/org_template.html +++ b/app/templates/org_template.html @@ -8,7 +8,7 @@