QoL 44: windows that make a record say New and Create and edit windows say Save, list buttons say New Provider, New Model, New Instance and New Item, add-to-record windows keep Add, every field label uses form-label, bare fields get input-group icons, one invoice icon everywhere, the license icon in onboarding, the client delete window rebuilt in the standard layout, and the contact archive button typo fixed

This commit is contained in:
johnnyq
2026-11-21 00:16:26 -05:00
parent d0caeee324
commit 5cb09cee0b
138 changed files with 410 additions and 395 deletions

View File

@@ -32,7 +32,7 @@ if (!$row) { ?>
</div>
<div class="mb-3">
<label>Name <strong class="text-danger">*</strong></label>
<label class="form-label">Name <strong class="text-danger">*</strong></label>
<div class="input-group">
<span class="input-group-text"><i class="fa fa-fw fa-sticky-note"></i></span>
<input type="text" class="form-control" name="name" placeholder="What uses it" maxlength="255" value="<?= escapeHtml($row['api_key_name']) ?>" required autofocus>
@@ -40,7 +40,7 @@ if (!$row) { ?>
</div>
<div class="mb-3">
<label>Expires <strong class="text-danger">*</strong></label>
<label class="form-label">Expires <strong class="text-danger">*</strong></label>
<div class="input-group">
<span class="input-group-text"><i class="fa fa-fw fa-calendar"></i></span>
<input type="date" class="form-control" name="expire" max="2999-12-31" value="<?= escapeHtml($row['api_key_expire']) ?>" required>
@@ -52,7 +52,7 @@ if (!$row) { ?>
</div>
<div class="modal-footer">
<button type="submit" name="edit_api_key" class="btn btn-primary text-bold"><i class="fas fa-check me-2"></i>Save changes</button>
<button type="submit" name="edit_api_key" class="btn btn-primary text-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>