mirror of
https://github.com/itflow-org/itflow
synced 2026-12-01 08:39:01 +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:
@@ -16,7 +16,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 It</h5>
|
||||
<h5 class="modal-title"><i class="fas fa-fw fa-clipboard-check me-2"></i>Who Should Have It</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 license template no longer exists.</div>
|
||||
@@ -27,7 +27,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 It <small class="ms-1 opacity-75"><?= escapeHtml($template['software_template_name']) ?></small></h5>
|
||||
<h5 class="modal-title text-truncate"><i class="fas fa-fw fa-clipboard-check me-2"></i>Who Should Have It <small class="ms-1 opacity-75"><?= escapeHtml($template['software_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">
|
||||
@@ -39,7 +39,7 @@ if (!$template) { ?>
|
||||
<div class="mb-3">
|
||||
<label class="form-label">Every one of these should have a license 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="softwareTemplateRequired">
|
||||
<option value="<?= SOFTWARE_TEMPLATE_REQUIRED_NONE ?>" <?= $required === SOFTWARE_TEMPLATE_REQUIRED_NONE ? 'selected' : '' ?>>No one in particular</option>
|
||||
<option value="<?= SOFTWARE_TEMPLATE_REQUIRED_EVERY ?>" <?= $required === SOFTWARE_TEMPLATE_REQUIRED_EVERY ? 'selected' : '' ?>>Every client</option>
|
||||
@@ -52,7 +52,7 @@ if (!$template) { ?>
|
||||
<div class="mb-1" id="softwareTemplateRequiredTags" <?= $required === SOFTWARE_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) ?>
|
||||
@@ -65,8 +65,8 @@ if (!$template) { ?>
|
||||
</div>
|
||||
|
||||
<div class="modal-footer">
|
||||
<button type="submit" name="save_software_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_software_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>
|
||||
|
||||
Reference in New Issue
Block a user