mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-02 23:20:56 -04:00
This commit: - replaces links that look like buttons with forms and submit buttons - splits the view code for SMS into its own file - moves the routing into the Python by adding handling for `post` requests - uses Flask’s `url_for` to generate URLs, rather than hard coding them (so that it’s easier to change the URLs) - chages the URLs for sending text messages
27 lines
868 B
HTML
27 lines
868 B
HTML
{% extends "admin_template.html" %}
|
|
|
|
{% block page_title %}
|
|
GOV.UK Notify | Dashboard
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
<div class="grid-row">
|
|
<div class="column-two-thirds">
|
|
<h1 class="heading-xlarge">Dashboard</h1>
|
|
|
|
<ul>
|
|
<li><a href="{{ url_for('.sendsms') }}">Send text messages</a></li>
|
|
<li><a href="{{ url_for('.sendemail') }}">Send email messages</a></li>
|
|
<li><a href="{{ url_for('.showjobs') }}">View notifications activity</a></li>
|
|
<li><a href="{{ url_for('.userprofile') }}">User profile</a></li>
|
|
<li><a href="{{ url_for('.manageusers') }}">Manage users</a></li>
|
|
<li><a href="{{ url_for('.managetemplates')}}">Manage templates</a></li>
|
|
<li><a href="{{ url_for('.servicesettings') }}">Service settings</a></li>
|
|
<li><a href="{{ url_for('.apikeys') }}">API keys and documentation</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
{% endblock %}
|