Updates to table wrappers across the application

Grid update to dashboard
Small style updates
This commit is contained in:
Jonathan Bobel
2024-07-25 15:36:31 -04:00
parent 3ca1b4b32a
commit dfcd71a6d3
22 changed files with 98 additions and 99 deletions

View File

@@ -1,6 +1,6 @@
{% from "components/table.html" import list_table, field, right_aligned_field_heading, row_heading %}
<div class="table-wrapper">
<div class="overflow-x-auto">
<div class='dashboard-table ajax-block-container'>
{% call(item, row_number) list_table(
jobs,

View File

@@ -28,7 +28,7 @@
No messages sent
</p>
{% else %}
<div class='template-statistics-table'>
<div class='template-statistics-table overflow-x-auto'>
{% call(item, row_number) list_table(
month.templates_used,
caption=month.name,

View File

@@ -30,7 +30,7 @@
{{ ajax_block(partials, updates_url, 'template-statistics') }}
<h2 class="margin-top-4 margin-bottom-1">Recent Batches</h2>
<div class="table-wrapper">
<div class="overflow-x-auto">
<table class="usa-table usa-table--borderless job-table">
<thead class="table-field-headings">
<tr>

View File

@@ -2,7 +2,7 @@
<div class="ajax-block-container">
{% if template_statistics|length > 1 %}
<div class='template-statistics-table'>
<div class='template-statistics-table overflow-x-auto'>
{% call(item, row_number) list_table(
template_statistics,
caption="Messages sent by template",