mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-26 21:31:11 -05:00
We had 7 classes in _grids.scss named `.column-...` which were being used to give a certain column width. These worked by using `@include grid column()`, which is now deprecated. `.column-whole` and `.column-three-quarters` can be removed and replaced with `govuk-grid-column-full` and `govuk-grid-column-three-quarters` respectively. The other column classes don't have a direct replacment in GOV.UK Frontend. To get round this, we overwrite the `$govuk-grid-width` SASS map in `extensions.scss` to add in extra widths, then use this with the `govuk-grid-column` mixin to create new classes in for our custom widths in `_grids.scss`
34 lines
1.3 KiB
HTML
34 lines
1.3 KiB
HTML
{% extends "admin_template.html" %}
|
||
|
||
{% block per_page_title %}
|
||
{% block org_page_title %}{% endblock %} – {{ current_org.name }}
|
||
{% endblock %}
|
||
|
||
{% block main %}
|
||
<div class="govuk-width-container">
|
||
<div class="navigation-service">
|
||
{% if current_user.platform_admin %}
|
||
<a href="{{ url_for('.organisations') }}" class="govuk-link govuk-link--no-visited-state navigation-organisation-link">All organisations</a>
|
||
{% endif %}
|
||
<div class="navigation-service-name govuk-!-font-weight-bold">
|
||
{{ current_org.name }}
|
||
</div>
|
||
<a href="{{ url_for('main.choose_account') }}" class="govuk-link govuk-link--no-visited-state navigation-service-switch">Switch service</a>
|
||
</div>
|
||
<div class="govuk-grid-row govuk-!-padding-bottom-12">
|
||
<div class="govuk-grid-column-one-quarter">
|
||
{% include "org_nav.html" %}
|
||
</div>
|
||
<div class="govuk-grid-column-three-quarters">
|
||
{% block beforeContent %}{% endblock %}
|
||
<main class="govuk-main-wrapper column-main govuk-!-padding-top-0 govuk-!-padding-bottom-0" id="main-content" role="main" >
|
||
{% block content %}
|
||
{% include 'flash_messages.html' %}
|
||
{% block maincolumn_content %}{% endblock %}
|
||
{% endblock %}
|
||
</main>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
{% endblock %}
|