|
|
|
@ -1,12 +1,10 @@
|
|
|
|
|
<figure class="app-figure"> |
|
|
|
|
<figcaption id="<%= title.dasherize %>" class="app-figure__caption"> |
|
|
|
|
<table class="govuk-table"> |
|
|
|
|
<caption class="govuk-!-text-align-left govuk-!-margin-top-4 govuk-!-margin-bottom-4"> |
|
|
|
|
<span class="govuk-!-margin-right-4"> |
|
|
|
|
<strong><%= pagy.count %></strong> total <%= title.downcase %> |
|
|
|
|
</span> |
|
|
|
|
<%= govuk_link_to "Download (CSV)", "/logs.csv", type: "text/csv" %> |
|
|
|
|
</figcaption> |
|
|
|
|
<section class="app-table-group" tabindex="0" aria-labelledby="<%= title.dasherize %>"> |
|
|
|
|
<table class="govuk-table"> |
|
|
|
|
</caption> |
|
|
|
|
<thead class="govuk-table__head"> |
|
|
|
|
<tr class="govuk-table__row"> |
|
|
|
|
<th class="govuk-table__header" scope="col">Log</th> |
|
|
|
@ -57,5 +55,3 @@
|
|
|
|
|
<% end %> |
|
|
|
|
</tbody> |
|
|
|
|
</table> |
|
|
|
|
</section> |
|
|
|
|
</figure> |
|
|
|
|