Bump FullCalendar from 7.0.0 to 7.0.2

This commit is contained in:
johnnyq
2026-08-04 12:39:04 -04:00
parent 261bdab61a
commit f9ae7598ec
11 changed files with 136 additions and 131 deletions

View File

@@ -37,6 +37,18 @@
line-height: 1.4;
}
/*
* Task progress. A slim track sitting beside the count rather than a chart
* with text floating on top of it. The count is real text, so the flex cell
* can size itself - the old bar's only children were a percentage-width div
* and an absolutely-positioned label, neither of which contributes intrinsic
* width, so the Tasks cell was pinned at min-width whatever it contained.
*/
.ticket-task-progress {
flex: 0 0 56px;
height: 6px;
}
/* The subject is the page's real heading, so let it breathe */
.ticket-subject {
font-weight: 600;

View File

@@ -661,11 +661,11 @@ if (isset($_GET['ticket_id'])) {
<?php if ($task_count) { ?>
<div class="ticket-field">
<div class="ticket-field-label">Tasks</div>
<div class="ticket-field-value">
<div class="progress mt-1" style="height: 18px; position: relative;" title="<?= $completed_task_count ?> of <?= $task_count ?> complete">
<div class="progress-bar <?= $tasks_completed_percent == 100 ? 'bg-success' : 'bg-secondary' ?>" style="width: <?= $tasks_completed_percent ?>%;"></div>
<small class="justify-content-center d-flex position-absolute w-100 text-dark"><?= "$completed_task_count / $task_count" ?></small>
<div class="ticket-field-value d-flex align-items-center">
<div class="progress ticket-task-progress mr-2" role="progressbar" aria-valuenow="<?= $tasks_completed_percent ?>" aria-valuemin="0" aria-valuemax="100" title="<?= $tasks_completed_percent ?>% complete">
<div class="progress-bar <?= $tasks_block_resolve ? 'bg-secondary' : 'bg-success' ?>" style="width: <?= $tasks_completed_percent ?>%;"></div>
</div>
<?= "$completed_task_count of $task_count" ?>
</div>
</div>
<?php } ?>

View File

@@ -341,9 +341,11 @@ if ($tickets) {
<a href="ticket.php?ticket_id=<?= "$ticket_id$has_client" ?>"><?= $ticket_subject ?></a>
<?php if ($task_count) { ?>
<div class="progress mt-1" style="height: 15px; position: relative;" title="<?= $completed_task_count ?> of <?= $task_count ?> tasks complete">
<div class="progress-bar bg-secondary" style="width: <?= $tasks_completed_percent ?>%;"></div>
<small class="justify-content-center d-flex position-absolute w-100 text-dark"><?= $completed_task_count ?> / <?= $task_count ?> tasks</small>
<div class="d-flex align-items-center mt-1">
<div class="progress mr-2" style="flex: 0 0 48px; height: 5px;" role="progressbar" aria-valuenow="<?= $tasks_completed_percent ?>" aria-valuemin="0" aria-valuemax="100">
<div class="progress-bar <?= $completed_task_count == $task_count ? 'bg-success' : 'bg-secondary' ?>" style="width: <?= $tasks_completed_percent ?>%;"></div>
</div>
<small class="text-muted"><?= "$completed_task_count / $task_count tasks" ?></small>
</div>
<?php } ?>
</td>