feat(ui): improve the records table, view state and record dialog
Sortable record columns, filters and sort kept in the URL on the zones, zone and audit pages, a Show action that filters the records table to a problem's owner, Save and add another, a highlight of the saved row, an Audit history link on the zone page, and dialogs that keep typed input on a backdrop click.
This commit is contained in:
1 parent
a67183b646
commit
440f78ce9e
9 files changed
+419
-36
No files matched your search
@@ -8,6 +8,7 @@
|
||||
<div class="actions">
|
||||
<a class="btn" id="export-link" href="/">Export zone file</a>
|
||||
<a class="btn" id="import-link" href="/">Import zone file</a>
|
||||
<a class="btn" id="audit-link" href="/audit">Audit history</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -51,7 +52,11 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col" class="check"><input type="checkbox" id="select-all" aria-label="Select all records on this page"></th>
|
||||
<th scope="col">Name</th><th scope="col">Type</th><th scope="col">TTL</th><th scope="col">Value</th><th scope="col">Actions</th>
|
||||
<th scope="col" data-sort="name"><button type="button" class="th-sort">Name</button></th>
|
||||
<th scope="col" data-sort="type"><button type="button" class="th-sort">Type</button></th>
|
||||
<th scope="col" data-sort="ttl"><button type="button" class="th-sort">TTL</button></th>
|
||||
<th scope="col" data-sort="value"><button type="button" class="th-sort">Value</button></th>
|
||||
<th scope="col">Actions</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="records-body"></tbody>
|
||||
|
||||
Reference in new issue
Block a user