Files
notifications-admin/app/templates/views/platform-admin/_base_template.html
Jonathan Bobel e0d2d74067 Update dashboard and template flow (#514)
* Updated header and footer
* Moved files around and updated gulpfile to correct the build process when it goes to production
* Updated fonts
* Adjusted grid templating
* Adding images to assets
* Updated account pages, dashboard, and pages in message sending flow
* Updated the styling for the landing pages in the account section once logged in
2023-06-08 13:12:00 -04:00

50 lines
2.0 KiB
HTML

{% extends "withoutnav_template.html" %}
{% from "components/page-footer.html" import page_footer %}
{% block main %}
<div class="govuk-width-container {{ mainClasses }}">
<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>
<div class="grid-row">
<div class="tablet:grid-col-2">
<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')),
('Organizations', url_for('main.organisations')),
('Providers', url_for('main.view_providers')),
('Reports', url_for('main.platform_admin_reports')),
('Email branding', url_for('main.email_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')),
('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="grid-col-10 tablet:grid-col-10">
{% block backLink %}{% 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 platform_admin_content %}{% endblock %}
{% endblock %}
</main>
</div>
</div>
</div>
{% endblock %}