mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-24 04:10:57 -05:00
When we converted textboxes on Notify to govuk-frontend design system
style with @tombye , we did not remove the imports.
This work is now done in this commit.
Some things that will still stay in our repo for now:
textbox macro in our components folder and associated css
textboxes which are really textarea fields (🤷 how do they work)
textboxes on the styleguide page
We should revisit this when we convert textarea fields
to govuk-frontend.
49 lines
1.9 KiB
HTML
49 lines
1.9 KiB
HTML
{% extends "withoutnav_template.html" %}
|
|
{% from "components/page-footer.html" import page_footer %}
|
|
|
|
|
|
{% block beforeContent %}
|
|
<div class="navigation-service">
|
|
<div class="navigation-service-name govuk-!-font-weight-bold">
|
|
Platform admin
|
|
</div>
|
|
<a href="{{ url_for('main.choose_account') }}" class="govuk-link govuk-link--no-visited-state navigation-service-switch">Switch service</a>
|
|
</div>
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<div class="govuk-grid-row">
|
|
<div class="govuk-grid-column-one-quarter">
|
|
<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')),
|
|
('Organisations', url_for('main.organisations')),
|
|
('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 column-main">
|
|
{% include 'flash_messages.html' %}
|
|
{% block platform_admin_content %}{% endblock %}
|
|
</div>
|
|
</div>
|
|
|
|
{% endblock %}
|