mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-06-04 05:20:46 -04: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`
43 lines
1.6 KiB
HTML
43 lines
1.6 KiB
HTML
{% extends "withoutnav_template.html" %}
|
|
{% from "components/textbox.html" import textbox %}
|
|
{% from "components/checkbox.html" import checkbox %}
|
|
{% from "components/page-footer.html" import page_footer %}
|
|
|
|
{% block maincolumn_content %}
|
|
|
|
<div class="govuk-grid-row">
|
|
<div class="govuk-grid-column-one-quarter">
|
|
<p class="heading-medium">
|
|
Platform admin
|
|
</p>
|
|
<nav class="navigation">
|
|
{% for link_text, url in [
|
|
('Summary', url_for('main.platform_admin')),
|
|
('Live services', url_for('main.live_services')),
|
|
('Trial mode services', url_for('main.trial_services')),
|
|
('Providers', url_for('main.view_providers')),
|
|
('Reports', url_for('main.platform_admin_reports')),
|
|
('Email branding', url_for('main.email_branding')),
|
|
('Letter branding', url_for('main.letter_branding')),
|
|
('Inbound SMS numbers', url_for('main.inbound_sms_admin')),
|
|
('Find services by name', url_for('main.find_services_by_name')),
|
|
('Find users by email', url_for('main.find_users_by_email')),
|
|
('Email Complaints', url_for('main.platform_admin_list_complaints')),
|
|
('Returned letters', url_for('main.platform_admin_returned_letters')),
|
|
('Clear cache', url_for('main.clear_cache')),
|
|
] %}
|
|
<li>
|
|
<a class="govuk-link govuk-link--no-visited-state" href="{{ url }}">
|
|
{{ link_text }}
|
|
</a>
|
|
</li>
|
|
{% endfor %}
|
|
</nav>
|
|
</div>
|
|
<div class="govuk-grid-column-three-quarters">
|
|
{% block platform_admin_content %}{% endblock %}
|
|
</div>
|
|
</div>
|
|
|
|
{% endblock %}
|