QoL 64: bulk asset delete asks first, credential archive from a record page no longer asks as no other archive does, related ticket and service ticket removal ask first like the other ticket page removals, and four field hints use form-text

This commit is contained in:
johnnyq
2026-11-21 02:37:15 -05:00
parent c094f97eed
commit 2e2cbea773
8 changed files with 13 additions and 11 deletions

View File

@@ -44,7 +44,7 @@ ob_start();
<input type="checkbox" class="form-check-input" name="enabled" value="1" id="cronJobEnabledSwitch" <?= $cron_job_enabled == 1 ? 'checked' : '' ?>>
<label class="form-check-label" for="cronJobEnabledSwitch">Runs on its schedule</label>
</div>
<small class="text-body-secondary">Switched off, it only runs when someone asks it to with Run now.</small>
<div class="form-text">Switched off, it only runs when someone asks it to with Run now.</div>
</div>
<div class="mb-3">
@@ -59,7 +59,7 @@ ob_start();
</select>
</div>
<?php if (!$cron_job_interval_safe) { ?>
<small class="text-body-secondary">It only runs once a day - run more often, its work would be done twice.</small>
<div class="form-text">It only runs once a day - run more often, its work would be done twice.</div>
<?php } ?>
</div>
@@ -70,7 +70,7 @@ ob_start();
<input type="number" class="form-control" name="interval_minutes" value="<?= $cron_job_interval_minutes ?>" min="1" max="1440">
<span class="input-group-text">minutes</span>
</div>
<small class="text-body-secondary">Cron wakes once a minute, so 1 is as often as anything can run.</small>
<div class="form-text">Cron wakes once a minute, so 1 is as often as anything can run.</div>
</div>
<div class="mb-3" id="cronJobDailyGroup">
@@ -79,7 +79,7 @@ ob_start();
<span class="input-group-text"><i class="fas fa-fw fa-clock"></i></span>
<input type="time" class="form-control" name="daily_at" value="<?= $cron_job_daily_at ?>">
</div>
<small class="text-body-secondary">In ITFlow's time zone<?= !empty($session_timezone) ? ', ' . escapeHtml($session_timezone) : '' ?>. A run missed because the server was off happens when it's back, not a day later.</small>
<div class="form-text">In ITFlow's time zone<?= !empty($session_timezone) ? ', ' . escapeHtml($session_timezone) : '' ?>. A run missed because the server was off happens when it's back, not a day later.</div>
</div>
</div>