mirror of
https://github.com/itflow-org/itflow
synced 2026-11-22 04:17:24 +00:00
QoL 67: the list footer keeps the record count in the middle, with a spacer balancing the per page picker while the page numbers are on their own row
This commit is contained in:
@@ -203,7 +203,7 @@ Update from Maintenance > Update — Queue Update hands the job to cron, which u
|
||||
- Updated the libraries ITFlow is built on: the one that reads ticket mailboxes, the one that sends email, the text editor, the one that cleans up email and document HTML before it is shown, Stripe, the page styling, the charts, the tables, the calendar and the phone number fields. Nothing changes in how they look or work. The text editor's update fixes a security problem in its media plugin, which ITFlow doesn't use.
|
||||
- Pages are a little lighter: five add-on libraries are gone - three ITFlow no longer used, and two swapped for ITFlow's own code. The IP and MAC address fields on assets and the QR codes for setting up MFA and for shared links work as before. The download is about 5 MB smaller too, without the text editor add-ons and icon font files ITFlow never used.
|
||||
- Lists: a row shows its tags only when it has some, so untagged rows are a line shorter. To tag one, use Tags in its ⋮ menu - its tags show on the row as you tick them, no reload. Cards on the tickets board and the Files grid have it in their menu too. To tag several together, tick them and use Tags in Bulk Action. A client's other pages show the client's tags without the +; change them on the client's overview or the clients list.
|
||||
- Lists: the page numbers stay on one row - the first and last page and the ones next to yours - however long the list.
|
||||
- Lists: the page numbers stay on one row - the first and last page and the ones next to yours - however long the list, with the record count in the middle of the footer above them or beside them.
|
||||
- Tickets: Unassigned is amber, as the Unassigned view and the dashboard's tile are, and Not billable a light gray - red is kept for what is late.
|
||||
- Dashboard and client overview: when the last row of Needs attention is short, its tiles keep their width rather than one stretching across, and a count of one reads 1 Draft invoice, not 1 Draft invoices.
|
||||
- Unbilled Time: the time logged is under the hours to bill rather than a column of its own, so the list fits beside Bill these clients.
|
||||
|
||||
@@ -24,7 +24,7 @@ if ($total_found_rows > 5) {
|
||||
<div class="card-footer itflow-filter-footer">
|
||||
|
||||
<div class="row align-items-center g-2">
|
||||
<div class="col-auto col-sm">
|
||||
<div class="col">
|
||||
<form action="post.php" method="post">
|
||||
<input type="hidden" name="csrf_token" value="<?= escapeHtml($_SESSION['csrf_token'] ?? '') ?>">
|
||||
<div class="d-flex align-items-center">
|
||||
@@ -60,12 +60,14 @@ if ($total_found_rows > 5) {
|
||||
// Now output something like "Showing X to Y of Z records"
|
||||
?>
|
||||
|
||||
<div class="col col-sm">
|
||||
<div class="col-auto">
|
||||
<p class="text-center mb-0">
|
||||
Showing <strong><?= number_format($start) ?></strong> to <strong><?= number_format($end) ?></strong> of <strong><?= number_format(intval($total_found_rows)) ?></strong> records
|
||||
</p>
|
||||
</div>
|
||||
<div class="col-12 col-xl-auto">
|
||||
<!-- Balances the per page picker while the page numbers are on a row of their own, so the count stays in the middle -->
|
||||
<div class="col d-xl-none"></div>
|
||||
<div class="col-12 col-xl">
|
||||
<ul class="pagination justify-content-center justify-content-xl-end mb-0">
|
||||
|
||||
<?php
|
||||
|
||||
Reference in New Issue
Block a user