QoL 52: fw-bold for text-bold, text-body-secondary for text-muted and fas for the fa icon prefix everywhere, the user menu buttons as btn-light border, the dead AdminLTE 3 shims and small-box styles removed from itflow_custom.css, and the inert tooltip toggles on menu counts dropped

This commit is contained in:
johnnyq
2026-11-21 01:10:23 -05:00
parent f61d4143ae
commit a14b0fa9ca
578 changed files with 2202 additions and 2291 deletions

View File

@@ -17,7 +17,7 @@ ob_start();
if (!$template) { ?>
<div class="modal-header bg-dark">
<h5 class="modal-title"><i class="fa fa-fw fa-clipboard-check me-2"></i>Who Should Have One</h5>
<h5 class="modal-title"><i class="fas fa-fw fa-clipboard-check me-2"></i>Who Should Have One</h5>
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal"></button>
</div>
<div class="modal-body text-center text-secondary py-5">That document template no longer exists.</div>
@@ -28,7 +28,7 @@ if (!$template) { ?>
?>
<div class="modal-header bg-dark">
<h5 class="modal-title text-truncate"><i class="fa fa-fw fa-clipboard-check me-2"></i>Who Should Have One <small class="ms-1 opacity-75"><?= escapeHtml($template['document_template_name']) ?></small></h5>
<h5 class="modal-title text-truncate"><i class="fas fa-fw fa-clipboard-check me-2"></i>Who Should Have One <small class="ms-1 opacity-75"><?= escapeHtml($template['document_template_name']) ?></small></h5>
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal"></button>
</div>
<form action="post.php" method="post" autocomplete="off">
@@ -40,7 +40,7 @@ if (!$template) { ?>
<div class="mb-3">
<label class="form-label">Every one of these should have a document from it</label>
<div class="input-group">
<span class="input-group-text"><i class="fa fa-fw fa-users"></i></span>
<span class="input-group-text"><i class="fas fa-fw fa-users"></i></span>
<select class="form-select select2" name="required" id="documentTemplateRequired">
<option value="<?= DOCUMENT_TEMPLATE_REQUIRED_NONE ?>" <?= $required === DOCUMENT_TEMPLATE_REQUIRED_NONE ? 'selected' : '' ?>>No one in particular</option>
<option value="<?= DOCUMENT_TEMPLATE_REQUIRED_EVERY ?>" <?= $required === DOCUMENT_TEMPLATE_REQUIRED_EVERY ? 'selected' : '' ?>>Every client</option>
@@ -53,7 +53,7 @@ if (!$template) { ?>
<div class="mb-3" id="documentTemplateRequiredTags" <?= $required === DOCUMENT_TEMPLATE_REQUIRED_TAGGED ? '' : 'hidden' ?>>
<label class="form-label">Client tags</label>
<div class="input-group">
<span class="input-group-text"><i class="fa fa-fw fa-tags"></i></span>
<span class="input-group-text"><i class="fas fa-fw fa-tags"></i></span>
<select class="form-select select2" name="tags[]" multiple data-placeholder="- Select client tags -">
<?php foreach (tagOptionsFor('client', $tag_ids) as $tag) { ?>
<?= tagOptionHtml($tag, $tag_ids) ?>
@@ -66,7 +66,7 @@ if (!$template) { ?>
<div class="mb-1">
<label class="form-label">Review the documents made from it</label>
<div class="input-group">
<span class="input-group-text"><i class="fa fa-fw fa-calendar-check"></i></span>
<span class="input-group-text"><i class="fas fa-fw fa-calendar-check"></i></span>
<select class="form-select select2" name="review_months">
<?php foreach (DOCUMENT_TEMPLATE_REVIEW_MONTHS as $months => $label) { ?>
<option value="<?= $months ?>" <?= intval($template['document_template_review_months']) === $months ? 'selected' : '' ?>><?= $label ?></option>
@@ -79,8 +79,8 @@ if (!$template) { ?>
</div>
<div class="modal-footer">
<button type="submit" name="save_document_template_required" class="btn btn-primary text-bold"><i class="fa fa-check me-2"></i>Save</button>
<button type="button" class="btn btn-light" data-bs-dismiss="modal"><i class="fa fa-times me-2"></i>Cancel</button>
<button type="submit" name="save_document_template_required" class="btn btn-primary fw-bold"><i class="fas fa-check me-2"></i>Save</button>
<button type="button" class="btn btn-light" data-bs-dismiss="modal"><i class="fas fa-times me-2"></i>Cancel</button>
</div>
</form>