mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-24 00:07:02 -04:00
Revert "Replace govuk template with govuk frontend components"
This commit is contained in:
@@ -1,13 +1,11 @@
|
||||
{% extends "admin_template.html" %}
|
||||
|
||||
{% set mainClasses = "govuk-!-padding-top-0 govuk-!-padding-bottom-0" %}
|
||||
|
||||
{% block per_page_title %}
|
||||
{% block service_page_title %}{% endblock %} – {{ current_service.name }}
|
||||
{% endblock %}
|
||||
|
||||
{% block main %}
|
||||
<div class="govuk-width-container">
|
||||
{% block fullwidth_content %}
|
||||
<div id="content">
|
||||
<div class="navigation-service">
|
||||
{% if current_service.organisation_id %}
|
||||
{% if current_user.platform_admin or
|
||||
@@ -20,27 +18,22 @@
|
||||
</div>
|
||||
<a href="{{ url_for('main.choose_account') }}" class="navigation-service-switch">Switch service</a>
|
||||
</div>
|
||||
<div class="grid-row govuk-!-padding-bottom-12">
|
||||
<div class="grid-row">
|
||||
{% if help %}
|
||||
<div class="column-one-third">
|
||||
{% else %}
|
||||
<div class="column-one-quarter">
|
||||
{% endif %}
|
||||
{% include "main_nav.html" %}
|
||||
</div>
|
||||
{% if help %}
|
||||
<div class="column-two-thirds">
|
||||
{% else %}
|
||||
<div class="column-three-quarters">
|
||||
{% endif %}
|
||||
{% block beforeContent %}{% endblock %}
|
||||
<main class="govuk-main-wrapper column-main {{ mainClasses }}" id="main-content" role="main">
|
||||
{% block content %}
|
||||
{% include 'flash_messages.html' %}
|
||||
{% block maincolumn_content %}{% endblock %}
|
||||
{% endblock %}
|
||||
</main>
|
||||
{% include "main_nav.html" %}
|
||||
</div>
|
||||
{% if help %}
|
||||
<main role="main" class="column-two-thirds column-main">
|
||||
{% else %}
|
||||
<main role="main" class="column-three-quarters column-main">
|
||||
{% endif %}
|
||||
{% include 'flash_messages.html' %}
|
||||
{% block maincolumn_content %}{% endblock %}
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user