Complete govuk-width-container migration and fix add-org template

This commit is contained in:
alexjanousekGSA
2025-07-22 08:57:05 -04:00
parent 8d5976a364
commit a196827da8
8 changed files with 13 additions and 28 deletions

View File

@@ -1,4 +1,4 @@
{% extends "base.html" %}
{% extends "views/platform-admin/_base_template.html" %}
{% from "components/page-header.html" import page_header %}
{% from "components/page-footer.html" import page_footer %}
{% from "components/form.html" import form_wrapper %}
@@ -7,31 +7,11 @@
New organization
{% endblock %}
{% block main %}
<div class="govuk-width-container">
<div class="navigation-service usa-breadcrumb">
<a href="{{ url_for('.organizations') }}" class="usa-link navigation-service usa-breadcrumb__link usa-breadcrumb-back-to">All organizations</a>
<a href="{{ url_for('main.choose_account') }}" class="usa-link navigation-service usa-breadcrumb-switch">Switch service</a>
</div>
<div class="grid-row">
<div class="grid-col-3">
&nbsp;
</div>
<div class="grid-col-9">
<main class="govuk-main-wrapper column-main" id="main-content" role="main" >
{% block beforeContent %}{% endblock %}
{% block content %}
{{ page_header('New organization') }}
{% call form_wrapper() %}
{{ form.name }}
{{ form.organization_type }}
{{ page_footer('Save') }}
{% endcall %}
{% endblock %}
</main>
</div>
</div>
</div>
{% block platform_admin_content %}
{{ page_header('New organization') }}
{% call form_wrapper() %}
{{ form.name }}
{{ form.organization_type }}
{{ page_footer('Save') }}
{% endcall %}
{% endblock %}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 325 KiB

After

Width:  |  Height:  |  Size: 325 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 124 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 314 KiB

After

Width:  |  Height:  |  Size: 314 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 314 KiB

After

Width:  |  Height:  |  Size: 314 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 134 KiB

After

Width:  |  Height:  |  Size: 124 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 314 KiB

After

Width:  |  Height:  |  Size: 314 KiB

View File

@@ -72,6 +72,11 @@ const routes = {
label: 'Platform Admin Live Services',
path: '/platform-admin/live-services',
},
// Organization pages
{
label: 'Add Organization',
path: '/organizations/add',
},
],
// Using Notify section