mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-25 08:44:23 -04:00
Use same layout as other organisation pages
So it feels consistent from moving from one page to another, rather than jumping in and out of the platform admin view.
This commit is contained in:
@@ -80,7 +80,6 @@ class HeaderNavigation(Navigation):
|
|||||||
'user_profile_disable_platform_admin_view',
|
'user_profile_disable_platform_admin_view',
|
||||||
},
|
},
|
||||||
'platform-admin': {
|
'platform-admin': {
|
||||||
'add_organisation',
|
|
||||||
'archive_user',
|
'archive_user',
|
||||||
'clear_cache',
|
'clear_cache',
|
||||||
'create_email_branding',
|
'create_email_branding',
|
||||||
@@ -120,6 +119,7 @@ class HeaderNavigation(Navigation):
|
|||||||
'accept_org_invite',
|
'accept_org_invite',
|
||||||
'action_blocked',
|
'action_blocked',
|
||||||
'add_data_retention',
|
'add_data_retention',
|
||||||
|
'add_organisation',
|
||||||
'add_service',
|
'add_service',
|
||||||
'add_service_template',
|
'add_service_template',
|
||||||
'agreement',
|
'agreement',
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{% extends "views/platform-admin/_base_template.html" %}
|
{% extends "withoutnav_template.html" %}
|
||||||
{% from "components/page-header.html" import page_header %}
|
{% from "components/page-header.html" import page_header %}
|
||||||
{% from "components/page-footer.html" import page_footer %}
|
{% from "components/page-footer.html" import page_footer %}
|
||||||
{% from "components/textbox.html" import textbox %}
|
{% from "components/textbox.html" import textbox %}
|
||||||
@@ -9,18 +9,31 @@
|
|||||||
New organisation
|
New organisation
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block platform_admin_content %}
|
{% block fullwidth_content %}
|
||||||
|
<div id="content">
|
||||||
|
<div class="navigation-service">
|
||||||
|
<div class="navigation-service-name">
|
||||||
|
<a href="{{ url_for('.organisations') }}">All organisations</a>
|
||||||
|
</div>
|
||||||
|
<a href="{{ url_for('main.choose_account') }}" class="navigation-service-switch">Switch service</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
{{ page_header(
|
<main role="main">
|
||||||
'New organisation',
|
<div class="grid-row">
|
||||||
back_link=url_for('.organisations')
|
<div class="column-one-quarter">
|
||||||
) }}
|
|
||||||
|
</div>
|
||||||
{% call form_wrapper() %}
|
<div class="column-three-quarters">
|
||||||
{{textbox(form.name)}}
|
{{ page_header('New organisation') }}
|
||||||
{{radios(form.organisation_type)}}
|
{% call form_wrapper() %}
|
||||||
{{radios(form.crown_status)}}
|
{{textbox(form.name)}}
|
||||||
{{ page_footer('Save') }}
|
{{radios(form.organisation_type)}}
|
||||||
{% endcall %}
|
{{radios(form.crown_status)}}
|
||||||
|
{{ page_footer('Save') }}
|
||||||
|
{% endcall %}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
|
</div>
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
Reference in New Issue
Block a user