mirror of
https://github.com/itflow-org/itflow
synced 2026-11-29 07:38:59 +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:
@@ -19,7 +19,7 @@ ob_start();
|
||||
|
||||
if (!$template || $template['software_template_archived_at']) { ?>
|
||||
<div class="modal-header bg-dark">
|
||||
<h5 class="modal-title"><i class="fa fa-fw fa-cube me-2"></i>New License</h5>
|
||||
<h5 class="modal-title"><i class="fas fa-fw fa-cube me-2"></i>New License</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 is gone or archived.</div>
|
||||
@@ -29,7 +29,7 @@ if (!$template || $template['software_template_archived_at']) { ?>
|
||||
?>
|
||||
|
||||
<div class="modal-header bg-dark">
|
||||
<h5 class="modal-title text-truncate"><i class="fa fa-fw fa-cube me-2"></i>New license from <strong><?= escapeHtml($template['software_template_name']) ?></strong></h5>
|
||||
<h5 class="modal-title text-truncate"><i class="fas fa-fw fa-cube me-2"></i>New license from <strong><?= escapeHtml($template['software_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">
|
||||
@@ -41,7 +41,7 @@ if (!$template || $template['software_template_archived_at']) { ?>
|
||||
<div class="col-12">
|
||||
<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>
|
||||
<option value="">- Select a client -</option>
|
||||
<?php
|
||||
@@ -55,28 +55,28 @@ if (!$template || $template['software_template_archived_at']) { ?>
|
||||
<div class="col-md-4">
|
||||
<label class="form-label">Seats</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>
|
||||
<input type="number" class="form-control" name="seats" min="0" step="1" placeholder="No limit" value="<?= $template['software_template_seats'] === null ? '' : intval($template['software_template_seats']) ?>">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-8">
|
||||
<label class="form-label">Key</label>
|
||||
<div class="input-group">
|
||||
<span class="input-group-text"><i class="fa fa-fw fa-key"></i></span>
|
||||
<span class="input-group-text"><i class="fas fa-fw fa-key"></i></span>
|
||||
<input type="text" class="form-control font-monospace" name="key" maxlength="200" placeholder="The license key, if it has one">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<label class="form-label">Purchased</label>
|
||||
<div class="input-group">
|
||||
<span class="input-group-text"><i class="fa fa-fw fa-shopping-cart"></i></span>
|
||||
<span class="input-group-text"><i class="fas fa-fw fa-shopping-cart"></i></span>
|
||||
<input type="date" class="form-control" name="purchase" max="2999-12-31">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<label class="form-label">Renews</label>
|
||||
<div class="input-group">
|
||||
<span class="input-group-text"><i class="fa fa-fw fa-calendar-alt"></i></span>
|
||||
<span class="input-group-text"><i class="fas fa-fw fa-calendar-alt"></i></span>
|
||||
<input type="date" class="form-control" name="expire" max="2999-12-31">
|
||||
</div>
|
||||
<?php if (isset(SOFTWARE_RENEWAL_TERMS[$term])) { ?><div class="form-text">Blank is <?= escapeHtml(SOFTWARE_RENEWAL_TERMS[$term]) ?> after it was bought (or today).</div><?php } ?>
|
||||
@@ -84,7 +84,7 @@ if (!$template || $template['software_template_archived_at']) { ?>
|
||||
<div class="col-md-4">
|
||||
<label class="form-label">Order reference</label>
|
||||
<div class="input-group">
|
||||
<span class="input-group-text"><i class="fa fa-fw fa-receipt"></i></span>
|
||||
<span class="input-group-text"><i class="fas fa-fw fa-receipt"></i></span>
|
||||
<input type="text" class="form-control" name="purchase_reference" maxlength="200">
|
||||
</div>
|
||||
</div>
|
||||
@@ -92,8 +92,8 @@ if (!$template || $template['software_template_archived_at']) { ?>
|
||||
<div class="small text-secondary mt-3">Its name, type, license type, summary and notes come from the template<?= $vendor_name !== '' ? ', and its vendor is the client\'s <strong>' . escapeHtml($vendor_name) . '</strong> - added for them if they haven\'t got it' : '' ?>. Put devices and users on it from the client's Licenses.</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="submit" name="add_software_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_software_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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user