mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-25 02:19:12 -04:00
Includes: - turning off :visited styles to match existing design - swapping heading classes used to make links bold for the GOVUK Frontend bold override class - adding visually hidden text to some links to make them work when isolated from their context We may need to revisit whether some links, such as those for documentation and features, may benefit from having some indication that their target has been visited.
68 lines
1.7 KiB
HTML
68 lines
1.7 KiB
HTML
{% extends "views/platform-admin/_base_template.html" %}
|
|
|
|
{% block service_page_title %}
|
|
Inbound Numbers
|
|
{% endblock %}
|
|
|
|
{% set table_headings = {
|
|
'field_headings': [
|
|
'Number', 'Status', 'Service', 'Created on'
|
|
],
|
|
'field_headings_visible': True,
|
|
'caption_visible': True
|
|
} %}
|
|
|
|
|
|
.inbound {
|
|
font-style:normal;
|
|
font-weight:normal;
|
|
}
|
|
|
|
{% block platform_admin_content %}
|
|
|
|
<div class="grid-row bottom-gutter">
|
|
<div class="column-two-thirds">
|
|
<h1 class="heading-large">
|
|
Inbound SMS
|
|
</h1>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<table class="inbound">
|
|
<col style="width:8%">
|
|
<col style="width:20%">
|
|
<col style="width:17%">
|
|
<col style="width:30%">
|
|
<thread>
|
|
<tr>
|
|
<th>{{table_headings.field_headings[0]}}</th>
|
|
<th>{{table_headings.field_headings[1]}}</th>
|
|
<th>{{table_headings.field_headings[2]}}</th>
|
|
</tr>
|
|
</thread>
|
|
<tbody>
|
|
|
|
{% for value in inbound_num_list.data: %}
|
|
<tr>
|
|
<th style="font-weight:normal;">{{value.number}}</th>
|
|
<th style="font-weight:normal;">
|
|
|
|
{% if value.active %}
|
|
Active
|
|
{% elif not value.service.name %}
|
|
Not used
|
|
{% else %}
|
|
Inactive
|
|
{% endif %}
|
|
</th>
|
|
<th style="font-weight:normal;">
|
|
<a href="{{ url_for('main.service_dashboard', service_id=value.service.id) }}" class="govuk-link govuk-link--no-visited-state browse-list-link">{{ value.service.name }}</a>
|
|
</th>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
|
|
{% endblock %} |