mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-01 12:47:32 -04:00
There are way too many links in the top nav now (when you’re using the site as a platform admin). And how often are you going to look at the letter jobs page really? This commit adds some internal navigation for the platform admin area of the platform, copying the style that works for navigating a single service.
35 lines
1.0 KiB
HTML
35 lines
1.0 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="grid-row">
|
|
<div class="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')),
|
|
('Letter jobs', url_for('main.letter_jobs'))
|
|
] %}
|
|
<li>
|
|
<a href="{{ url }}">
|
|
{{ link_text }}
|
|
</a>
|
|
</li>
|
|
{% endfor %}
|
|
</nav>
|
|
</div>
|
|
<div class="column-three-quarters">
|
|
{% block platform_admin_content %}{% endblock %}
|
|
</div>
|
|
</div>
|
|
|
|
{% endblock %}
|