mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-16 20:49:00 -04:00
Updates to table wrappers across the application
Grid update to dashboard Small style updates
This commit is contained in:
@@ -23,36 +23,34 @@ Inbound SMS
|
||||
<h1 class="font-body-2xl">
|
||||
Inbound SMS
|
||||
</h1>
|
||||
|
||||
<table class="usa-table usa-table--borderless inbound">
|
||||
<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: %}
|
||||
<div class="overflow-x-auto">
|
||||
<table class="usa-table usa-table--borderless inbound width-full">
|
||||
<thead>
|
||||
<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="usa-link bold">{{ value.service.name }}</a>
|
||||
</td>
|
||||
<th>{{table_headings.field_headings[0]}}</th>
|
||||
<th>{{table_headings.field_headings[1]}}</th>
|
||||
<th>{{table_headings.field_headings[2]}}</th>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</thead>
|
||||
<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="usa-link bold">{{ value.service.name }}</a>
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user