Files
notifications-admin/app/templates/views/inbound-sms-admin.html
Chris Hill-Scott ae8dd8e8cd Tidy up the platform admin pages
This commit does two things:
- brings the ‘All organisations’ page back within the platform admin
  part of the site (because it’s hard to find otherwise)
- makes the layouts of all the pages within platform admin a bit closer
  to the service-specific pages in terms of heading sizes, spacing, etc
  so that moving between them doesn’t feel so jumpy
2020-04-23 13:50:36 +01:00

63 lines
1.5 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 %}
<h1 class="heading-medium">
Inbound SMS
</h1>
<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>
<td>{{value.number}}</td>
<td>
{% if value.active %}
Active
{% elif not value.service.name %}
Not used
{% else %}
Inactive
{% endif %}
</td>
<td>
<a href="{{ url_for('main.service_dashboard', service_id=value.service.id) }}" class="govuk-link govuk-link--no-visited-state govuk-!-font-size-24 govuk-!-font-weight-bold">{{ value.service.name }}</a>
</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endblock %}