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

@@ -19,14 +19,14 @@ ob_start();
if (!$template || $template['document_template_archived_at']) { ?>
<div class="modal-header bg-dark">
<h5 class="modal-title"><i class="fa fa-fw fa-file-alt me-2"></i>New Document</h5>
<h5 class="modal-title"><i class="fas fa-fw fa-file-alt me-2"></i>New Document</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 is gone or archived.</div>
<?php } else { ?>
<div class="modal-header bg-dark">
<h5 class="modal-title text-truncate"><i class="fa fa-fw fa-file-alt me-2"></i>New document from <strong><?= escapeHtml($template['document_template_name']) ?></strong></h5>
<h5 class="modal-title text-truncate"><i class="fas fa-fw fa-file-alt me-2"></i>New document from <strong><?= escapeHtml($template['document_template_name']) ?></strong></h5>
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal"></button>
</div>
<form action="/agent/post.php" method="post" autocomplete="off" data-doc-template-make>
@@ -37,7 +37,7 @@ if (!$template || $template['document_template_archived_at']) { ?>
<div class="mb-3">
<label class="form-label">Client <strong class="text-danger">*</strong></label>
<div class="input-group">
<span class="input-group-text"><i class="fa fa-fw fa-user"></i></span>
<span class="input-group-text"><i class="fas fa-fw fa-user"></i></span>
<select class="form-select select2" name="client_id" required data-doc-template-client>
<option value="">- Select a client -</option>
<?php
@@ -55,7 +55,7 @@ if (!$template || $template['document_template_archived_at']) { ?>
<div class="mb-3">
<label class="form-label">Name</label>
<div class="input-group">
<span class="input-group-text"><i class="fa fa-fw fa-file-alt"></i></span>
<span class="input-group-text"><i class="fas fa-fw fa-file-alt"></i></span>
<input type="text" class="form-control" name="name" placeholder="<?= escapeHtml($template['document_template_name']) ?>" maxlength="200">
</div>
</div>
@@ -63,15 +63,15 @@ if (!$template || $template['document_template_archived_at']) { ?>
<div class="mb-2">
<label class="form-label">Summary</label>
<div class="input-group">
<span class="input-group-text"><i class="fa fa-fw fa-align-left"></i></span>
<span class="input-group-text"><i class="fas fa-fw fa-align-left"></i></span>
<input type="text" class="form-control" name="description" placeholder="<?= escapeHtml($template['document_template_description'] ?: 'One line on what it covers') ?>" maxlength="500">
</div>
</div>
<small class="text-secondary">It goes in the client's Files at the top level, and opens to fill in.</small>
</div>
<div class="modal-footer">
<button type="submit" name="add_document_from_template" class="btn btn-primary text-bold"><i class="fa fa-check me-2"></i>Create</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="add_document_from_template" class="btn btn-primary fw-bold"><i class="fas fa-check me-2"></i>Create</button>
<button type="button" class="btn btn-light" data-bs-dismiss="modal"><i class="fas fa-times me-2"></i>Cancel</button>
</div>
</form>