mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-17 21:20:32 -04:00
When the list of areas is restricted to half the width of the page it starts to look pretty higgledy-piggledy when you have lots of areas or areas with very long names. To do this I’ve ripped out the table markup in favour of headings, paragraphs and lists. Probably pros and cons for each, but it was really hard to do the layout with the content in a table.
28 lines
855 B
HTML
28 lines
855 B
HTML
{% from 'components/ajax-block.html' import ajax_block %}
|
|
|
|
{% extends "withnav_template.html" %}
|
|
|
|
{% block service_page_title %}
|
|
Current alerts
|
|
{% endblock %}
|
|
|
|
{% block maincolumn_content %}
|
|
|
|
{% if current_user.has_permissions('manage_templates') and not current_service.all_templates %}
|
|
<nav class="govuk-!-margin-top-2 govuk-!-margin-bottom-6">
|
|
<a class="govuk-link govuk-link--no-visited-state pill-separate-item govuk-!-padding-top-4 govuk-!-padding-bottom-4 govuk-!-font-weight-bold" href="{{ url_for('.choose_template', service_id=current_service.id) }}">
|
|
Start by creating a template
|
|
</a>
|
|
</nav>
|
|
{% endif %}
|
|
|
|
<h1 class="heading-medium">Current alerts</h1>
|
|
|
|
{{ ajax_block(
|
|
partials,
|
|
url_for('.broadcast_dashboard_updates', service_id=current_service.id),
|
|
'current_broadcasts'
|
|
) }}
|
|
|
|
{% endblock %}
|