mirror of
https://github.com/itflow-org/itflow
synced 2026-11-23 04:47:25 +00:00
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:
@@ -12,14 +12,14 @@ ob_start();
|
||||
|
||||
if (!$template) { ?>
|
||||
<div class="modal-header bg-dark">
|
||||
<h5 class="modal-title"><i class="fa fa-fw fa-file-alt me-2"></i>Document Template</h5>
|
||||
<h5 class="modal-title"><i class="fas fa-fw fa-file-alt me-2"></i>Document Template</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 - it may have been deleted.</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>Edit Document Template <span class="fw-normal text-white-50 ms-1"><?= escapeHtml($template['document_template_name']) ?></span></h5>
|
||||
<h5 class="modal-title text-truncate"><i class="fas fa-fw fa-file-alt me-2"></i>Edit Document Template <span class="fw-normal text-white-50 ms-1"><?= escapeHtml($template['document_template_name']) ?></span></h5>
|
||||
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal"></button>
|
||||
</div>
|
||||
<form action="post.php" method="post" autocomplete="off">
|
||||
@@ -30,8 +30,8 @@ if (!$template) { ?>
|
||||
<?php require __DIR__ . '/document_template_form.php'; ?>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="submit" name="edit_document_template" 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="edit_document_template" 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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user