QoL 47: every edit window titled Edit Kind with the record name after it in lighter text, the note, copy, archive, password, credit, office, role, instance and provider windows in the same form, and the existing 26.12 windows changelog line extended

This commit is contained in:
johnnyq
2026-11-21 00:47:31 -05:00
parent efcaedaa87
commit e48ee1ca0a
65 changed files with 65 additions and 65 deletions

View File

@@ -218,7 +218,7 @@ Update from Maintenance > Update — Queue Update hands the job to cron, which u
- Browser autofill: Chrome, Edge and other Chromium browsers no longer offer your own name, email, phone or address in forms about clients - a new client's contact, a contact, a location - and Bitwarden, 1Password, LastPass and Dashlane no longer offer your ITFlow login in a credential's username and password, or anywhere else you type someone else's details or secrets, nor ask to save them. Your own profile, password change and two-step sign-in still work with your password manager.
- Tickets: the first technician to reply to a ticket nobody is assigned to - with a public note, an email reply or a text reply - is assigned it, as Assign to me would, and the message after sending says so. An internal note doesn't assign it, so a ticket can be looked into, or someone @mentioned on it, without taking it, and a ticket already assigned keeps its technician. Admin > Settings > Tickets > Assigning switches it off - for a shop where someone answers new tickets before handing them on.
- Dates: every date reads one way - Nov 13, 2026, with times as 2:30 PM and the day of the week as Fri, Nov 13 where it shows. The invoice, quote, recurring invoice, expense, income, trip and transaction lists and pages, an asset's and a license's dates, certificates, domains, invoice and quote PDFs, statements and the guest invoice and quote pages showed 2026-11-13; some times read 2:30pm or 14:30, and some emails put the day first, 13 Nov. Pointing at a "3 days ago" shows the date and time the same way. Date fields, exports and file names keep 2026-11-13.
- Windows and buttons: a window that makes something new is called New ... and its button says Create, and an edit window's button says Save - they said Add, Add Income, Add Expense, Log Trip, Set Up, Make Draft, Create Client, Save changes and the like. On list pages the button that opens it says New, as New Provider, New Model, New Instance and New Item had said Add. A window that adds to the record it's on - Add Tickets on an invoice, Add keys on a license - still says Add. Field labels sit the same distance above their fields in every window, the extensions on a new client, applying a project template and adding ticket templates to one have their icon in front like every other field, invoices have one icon everywhere, and deleting a client is a normal window with Delete at the bottom, turned on once the client's name is typed.
- Windows and buttons: a window that makes something new is called New ... and its button says Create, and an edit window is called Edit ..., with the record's name after it in lighter text, and its button says Save - the titles read Editing contact:, Tag:, Creating note: and so on, and the buttons said Add, Add Income, Add Expense, Log Trip, Set Up, Make Draft, Create Client, Save changes and the like. On list pages the button that opens it says New, as New Provider, New Model, New Instance and New Item had said Add. A window that adds to the record it's on - Add Tickets on an invoice, Add keys on a license - still says Add. Field labels sit the same distance above their fields in every window, the extensions on a new client, applying a project template and adding ticket templates to one have their icon in front like every other field, invoices have one icon everywhere, and deleting a client is a normal window with Delete at the bottom, turned on once the client's name is typed.
- Menus, icons and questions: every More menu has the same ⋮ button, and Delete, Restore and Export each have one icon everywhere. The required-field star sits the same way on every form, and Incident response has the usual dark window with its warning in red. A question before an action names it on its button - Delete, Remove, Archive - rather than Yes. Resetting a ticket's timer, removing an approval request, redacting with nothing selected and a window that fails to open now use ITFlow's own question and message rather than the browser's. Every list's search box reads Search ..., with what it looks in shown when you point at it.
### Bug Fixes

View File

@@ -55,7 +55,7 @@ ob_start();
?>
<div class="modal-header bg-dark">
<h5 class="modal-title"><i class="fa fa-fw fa-brain me-2"></i><?= $row ? '<strong>' . escapeHtml($row['ai_model_name']) . '</strong>' : 'New AI Model' ?></h5>
<h5 class="modal-title"><i class="fa fa-fw fa-brain me-2"></i><?= $row ? 'Edit AI Model <span class="fw-normal text-white-50 ms-1">' . escapeHtml($row['ai_model_name']) . '</span>' : 'New AI Model' ?></h5>
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal"></button>
</div>
<form action="post.php" method="post" autocomplete="off" novalidate data-ai-model-form data-taken="<?= escapeHtml(json_encode($taken)) ?>" data-csrf="<?= $_SESSION['csrf_token'] ?>">

View File

@@ -43,7 +43,7 @@ ob_start();
?>
<div class="modal-header bg-dark">
<h5 class="modal-title"><i class="fa fa-fw fa-robot me-2"></i><?= $row ? '<strong>' . escapeHtml($row['ai_provider_name']) . '</strong>' : 'New AI Provider' ?></h5>
<h5 class="modal-title"><i class="fa fa-fw fa-robot me-2"></i><?= $row ? 'Edit AI Provider <span class="fw-normal text-white-50 ms-1">' . escapeHtml($row['ai_provider_name']) . '</span>' : 'New AI Provider' ?></h5>
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal"></button>
</div>
<form action="post.php" method="post" autocomplete="off" novalidate data-ai-provider-form data-kinds="<?= escapeHtml(json_encode($kinds_js)) ?>" data-has-key="<?= $has_key ? '1' : '0' ?>">

View File

@@ -18,7 +18,7 @@ if (!$row) { ?>
$role = roleRow($row['user_role_id'] ?? 0); ?>
<div class="modal-header bg-dark">
<h5 class="modal-title"><i class="fas fa-fw fa-key me-2"></i>API Key: <strong><?= escapeHtml($row['api_key_name']) ?></strong></h5>
<h5 class="modal-title"><i class="fas fa-fw fa-key me-2"></i>Edit API Key <span class="fw-normal text-white-50 ms-1"><?= escapeHtml($row['api_key_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">

View File

@@ -17,7 +17,7 @@ if (!$response) { ?>
$response_category_ids = cannedResponseCategoryIds($canned_response_id); ?>
<div class="modal-header bg-dark">
<h5 class="modal-title text-truncate"><i class="fa fa-fw fa-comment-dots me-2"></i>Canned response: <strong><?= escapeHtml($response['canned_response_name']) ?></strong></h5>
<h5 class="modal-title text-truncate"><i class="fa fa-fw fa-comment-dots me-2"></i>Edit Canned Response <span class="fw-normal text-white-50 ms-1"><?= escapeHtml($response['canned_response_name']) ?></span></h5>
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal"></button>
</div>
<form action="post.php" method="post" enctype="multipart/form-data" autocomplete="off">

View File

@@ -20,7 +20,7 @@ if (!$category) { ?>
$category_used = categoryUsageFor($category_id); ?>
<div class="modal-header bg-dark">
<h5 class="modal-title"><i class="fas fa-fw <?= $kind_config['icon'] ?? 'fa-list-ul' ?> me-2"></i><?= escapeHtml(ucwords($kind_config['one'] ?? 'Category')) ?>: <strong><?= escapeHtml($category['category_name']) ?></strong></h5>
<h5 class="modal-title"><i class="fas fa-fw <?= $kind_config['icon'] ?? 'fa-list-ul' ?> me-2"></i>Edit <?= escapeHtml(ucwords($kind_config['one'] ?? 'Category')) ?> <span class="fw-normal text-white-50 ms-1"><?= escapeHtml($category['category_name']) ?></span></h5>
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal"></button>
</div>
<form action="/admin/post.php" method="post" autocomplete="off">

View File

@@ -16,7 +16,7 @@ if (!$template) { ?>
<?php } else { ?>
<div class="modal-header bg-dark">
<h5 class="modal-title"><i class="fa fa-fw fa-file-contract me-2"></i>Contract Template: <strong><?= escapeHtml($template['contract_template_name']) ?></strong></h5>
<h5 class="modal-title"><i class="fa fa-fw fa-file-contract me-2"></i>Edit Contract Template <span class="fw-normal text-white-50 ms-1"><?= escapeHtml($template['contract_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">

View File

@@ -27,7 +27,7 @@ if (empty($cron_job_daily_at)) {
ob_start();
?>
<div class="modal-header bg-dark">
<h5 class="modal-title"><i class="fa fa-fw fa-clock me-2"></i>Editing: <strong><?= $cron_job_label ?></strong></h5>
<h5 class="modal-title"><i class="fa fa-fw fa-clock me-2"></i>Edit Job <span class="fw-normal text-white-50 ms-1"><?= $cron_job_label ?></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">

View File

@@ -18,7 +18,7 @@ if (!$custom_link) { ?>
$custom_link_id = intval($custom_link['custom_link_id']); ?>
<div class="modal-header bg-dark">
<h5 class="modal-title"><i class="fas fa-fw fa-<?= escapeHtml(customLinkIcon($custom_link['custom_link_icon'])) ?> me-2"></i>Link: <strong><?= escapeHtml($custom_link['custom_link_name']) ?></strong></h5>
<h5 class="modal-title"><i class="fas fa-fw fa-<?= escapeHtml(customLinkIcon($custom_link['custom_link_icon'])) ?> me-2"></i>Edit Link <span class="fw-normal text-white-50 ms-1"><?= escapeHtml($custom_link['custom_link_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">

View File

@@ -19,7 +19,7 @@ if (!$template) { ?>
<?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>Document template: <strong><?= escapeHtml($template['document_template_name']) ?></strong></h5>
<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>
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal"></button>
</div>
<form action="post.php" method="post" autocomplete="off">

View File

@@ -35,7 +35,7 @@ if (!$template || ($name !== '' && !$fill_in)) { ?>
?>
<div class="modal-header bg-dark">
<h5 class="modal-title text-truncate"><i class="fa fa-fw fa-pen-square me-2"></i><?= $fill_in ? 'Fill-in' : 'New fill-in' ?> <small class="ms-1 opacity-75"><?= escapeHtml($template['document_template_name']) ?></small></h5>
<h5 class="modal-title text-truncate"><i class="fa fa-fw fa-pen-square me-2"></i><?= $fill_in ? 'Edit Fill-in' : 'New Fill-in' ?> <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">

View File

@@ -19,7 +19,7 @@ ob_start();
?>
<div class="modal-header bg-dark">
<h5 class="modal-title"><i class="fas fa-fw fa-user-tag me-2"></i><?= $agent ? escapeHtml($agent['user_name']) : 'Labor cost' ?></h5>
<h5 class="modal-title"><i class="fas fa-fw fa-user-tag me-2"></i>Labor Cost<?= $agent ? ' <span class="fw-normal text-white-50 ms-1">' . escapeHtml($agent['user_name']) . '</span>' : '' ?></h5>
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal"></button>
</div>
<?php if (!$agent || !laborCostReady()) { ?>

View File

@@ -60,7 +60,7 @@ if (!managerEnabled()) { ?>
?>
<div class="modal-header bg-dark">
<h5 class="modal-title text-truncate"><i class="fas fa-fw fa-<?= $is_new ? 'plus' : 'server' ?> me-2"></i><?= $is_new ? 'New Instance' : $value('managed_instance_name') ?></h5>
<h5 class="modal-title text-truncate"><i class="fas fa-fw fa-<?= $is_new ? 'plus' : 'server' ?> me-2"></i><?= $is_new ? 'New Instance' : 'Edit Instance <span class="fw-normal text-white-50 ms-1">' . $value('managed_instance_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">

View File

@@ -28,7 +28,7 @@ if (!officesReady()) { ?>
<?php } else { ?>
<div class="modal-header bg-dark">
<h5 class="modal-title text-truncate"><i class="fas fa-fw fa-map-marker-alt me-2"></i><?= $office ? escapeHtml($office['name']) : 'New office' ?></h5>
<h5 class="modal-title text-truncate"><i class="fas fa-fw fa-map-marker-alt me-2"></i><?= $office ? 'Edit Office <span class="fw-normal text-white-50 ms-1">' . escapeHtml($office['name']) . '</span>' : 'New Office' ?></h5>
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal"></button>
</div>
<form action="post.php" method="post" autocomplete="off" data-office-form>

View File

@@ -16,7 +16,7 @@ if (!$payment_method) { ?>
<?php } else { ?>
<div class="modal-header bg-dark">
<h5 class="modal-title"><i class="fa fa-fw fa-credit-card me-2"></i>Payment Method: <strong><?= escapeHtml($payment_method['payment_method_name']) ?></strong></h5>
<h5 class="modal-title"><i class="fa fa-fw fa-credit-card me-2"></i>Edit Payment Method <span class="fw-normal text-white-50 ms-1"><?= escapeHtml($payment_method['payment_method_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">

View File

@@ -64,7 +64,7 @@ ob_start();
?>
<div class="modal-header bg-dark">
<h5 class="modal-title">
<i class="fa fa-fw fa-credit-card me-2"></i><?= $row ? '<strong>' . escapeHtml($name) . '</strong>' : 'New Payment Provider' ?>
<i class="fa fa-fw fa-credit-card me-2"></i><?= $row ? 'Edit Payment Provider <span class="fw-normal text-white-50 ms-1">' . escapeHtml($name) . '</span>' : 'New Payment Provider' ?>
<?php if ($mode !== '') { ?>
<span class="badge <?= $mode === 'live' ? 'text-bg-success' : 'text-bg-warning' ?> ms-2 align-middle" data-provider-mode><?= $mode === 'live' ? 'Live' : 'Test' ?></span>
<?php } ?>

View File

@@ -12,7 +12,7 @@ if (!$announcement) { ?>
<div class="modal-body text-center text-secondary py-5">That announcement is gone.</div>
<?php } else { ?>
<div class="modal-header bg-dark">
<h5 class="modal-title"><i class="fa fa-fw fa-bullhorn me-2"></i>Editing announcement: <strong><?= escapeHtml($announcement['announcement_title']) ?></strong></h5>
<h5 class="modal-title"><i class="fa fa-fw fa-bullhorn me-2"></i>Edit Announcement <span class="fw-normal text-white-50 ms-1"><?= escapeHtml($announcement['announcement_title']) ?></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">

View File

@@ -15,7 +15,7 @@ ob_start();
?>
<div class="modal-header bg-dark">
<h5 class="modal-title text-truncate"><i class="fas fa-fw fa-cubes me-2"></i>Edit Project Template <small class="ms-1 opacity-75"><?= escapeHtml($row['project_template_name']) ?></small></h5>
<h5 class="modal-title text-truncate"><i class="fas fa-fw fa-cubes me-2"></i>Edit Project Template <span class="fw-normal text-white-50 ms-1"><?= escapeHtml($row['project_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">

View File

@@ -22,7 +22,7 @@ ob_start();
?>
<div class="modal-header bg-dark">
<h5 class="modal-title"><i class="fas fa-fw fa-user-shield me-2"></i><?= $copy_of ? 'Copy ' . escapeHtml($copy_of['role_name']) : 'New Role' ?></h5>
<h5 class="modal-title"><i class="fas fa-fw fa-user-shield me-2"></i><?= $copy_of ? 'Copy Role <span class="fw-normal text-white-50 ms-1">' . escapeHtml($copy_of['role_name']) . '</span>' : 'New Role' ?></h5>
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal"></button>
</div>
<form action="post.php" method="post" autocomplete="off">

View File

@@ -19,7 +19,7 @@ if (!$role) { ?>
$agent_count = intval($role['agents']); ?>
<div class="modal-header bg-dark">
<h5 class="modal-title"><i class="fas fa-fw fa-user-shield me-2"></i>Role: <strong><?= escapeHtml($role['role_name']) ?></strong></h5>
<h5 class="modal-title"><i class="fas fa-fw fa-user-shield me-2"></i>Edit Role <span class="fw-normal text-white-50 ms-1"><?= escapeHtml($role['role_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">

View File

@@ -21,7 +21,7 @@ if (!$sla) { ?>
$sla_tickets = intval(mysqli_fetch_row(mysqli_query($mysqli, "SELECT COUNT(ticket_id) FROM tickets WHERE ticket_sla_id = $sla_id AND ticket_closed_at IS NULL AND ticket_archived_at IS NULL"))[0]); ?>
<div class="modal-header bg-dark">
<h5 class="modal-title"><i class="fas fa-fw fa-stopwatch me-2"></i>SLA: <strong><?= escapeHtml($sla['sla_name']) ?></strong></h5>
<h5 class="modal-title"><i class="fas fa-fw fa-stopwatch me-2"></i>Edit SLA <span class="fw-normal text-white-50 ms-1"><?= escapeHtml($sla['sla_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">

View File

@@ -38,7 +38,7 @@ ob_start();
?>
<div class="modal-header bg-dark">
<h5 class="modal-title"><i class="fa fa-fw fa-sms me-2"></i><?= $row ? '<strong>' . escapeHtml($name) . '</strong>' : 'New Texting Provider' ?></h5>
<h5 class="modal-title"><i class="fa fa-fw fa-sms me-2"></i><?= $row ? 'Edit Texting Provider <span class="fw-normal text-white-50 ms-1">' . escapeHtml($name) . '</span>' : 'New Texting Provider' ?></h5>
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal"></button>
</div>
<form action="post.php" method="post" autocomplete="off" novalidate data-sms-provider-form>

View File

@@ -19,7 +19,7 @@ if (!$template) { ?>
<?php } else { ?>
<div class="modal-header bg-dark">
<h5 class="modal-title text-truncate"><i class="fa fa-fw fa-cube me-2"></i>License template: <strong><?= escapeHtml($template['software_template_name']) ?></strong></h5>
<h5 class="modal-title text-truncate"><i class="fa fa-fw fa-cube me-2"></i>Edit License Template <span class="fw-normal text-white-50 ms-1"><?= escapeHtml($template['software_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">

View File

@@ -15,7 +15,7 @@ if (!$tag) { ?>
$tag_lines = tagSeatLines($tag_id); ?>
<div class="modal-header bg-dark">
<h5 class="modal-title"><i class="fas fa-fw fa-tag me-2"></i>Tag: <strong><?= escapeHtml($tag['tag_name']) ?></strong></h5>
<h5 class="modal-title"><i class="fas fa-fw fa-tag me-2"></i>Edit Tag <span class="fw-normal text-white-50 ms-1"><?= escapeHtml($tag['tag_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">

View File

@@ -30,7 +30,7 @@ if (!$tax || $tax['tax_archived_at']) { ?>
$others = billingTaxes();
unset($others[$tax_id]); ?>
<div class="modal-header bg-dark">
<h5 class="modal-title"><i class="fas fa-fw fa-archive me-2"></i>Archive tax: <strong><?= escapeHtml(taxLabel($tax)) ?></strong></h5>
<h5 class="modal-title"><i class="fas fa-fw fa-archive me-2"></i>Archive Tax <span class="fw-normal text-white-50 ms-1"><?= escapeHtml(taxLabel($tax)) ?></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">

View File

@@ -21,7 +21,7 @@ if (!$tax) { ?>
}
} ?>
<div class="modal-header bg-dark">
<h5 class="modal-title"><i class="fas fa-fw fa-balance-scale me-2"></i>Editing tax: <strong><?= escapeHtml($tax['tax_name']) ?></strong></h5>
<h5 class="modal-title"><i class="fas fa-fw fa-balance-scale me-2"></i>Edit Tax <span class="fw-normal text-white-50 ms-1"><?= escapeHtml($tax['tax_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">

View File

@@ -17,7 +17,7 @@ if (!$ticket_status) { ?>
$ticket_status_id = intval($ticket_status['ticket_status_id']); ?>
<div class="modal-header bg-dark">
<h5 class="modal-title"><i class="fas fa-fw fa-info-circle me-2"></i>Ticket Status: <strong><?= escapeHtml($ticket_status['ticket_status_name']) ?></strong></h5>
<h5 class="modal-title"><i class="fas fa-fw fa-info-circle me-2"></i>Edit Ticket Status <span class="fw-normal text-white-50 ms-1"><?= escapeHtml($ticket_status['ticket_status_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">

View File

@@ -18,7 +18,7 @@ if (!$template) { ?>
$template_tag_ids = ticketTemplateTagIds($ticket_template_id); ?>
<div class="modal-header bg-dark">
<h5 class="modal-title text-truncate"><i class="fa fa-fw fa-life-ring me-2"></i>Ticket template: <strong><?= escapeHtml($template['ticket_template_name']) ?></strong></h5>
<h5 class="modal-title text-truncate"><i class="fa fa-fw fa-life-ring me-2"></i>Edit Ticket Template <span class="fw-normal text-white-50 ms-1"><?= escapeHtml($template['ticket_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">

View File

@@ -32,7 +32,7 @@ if (!$template || ($name !== '' && !$fill_in)) { ?>
?>
<div class="modal-header bg-dark">
<h5 class="modal-title"><i class="fa fa-fw fa-pen-square me-2"></i><?= $fill_in ? 'Fill-in' : 'New fill-in' ?> <small class="ms-1 opacity-75"><?= escapeHtml($template['ticket_template_name']) ?></small></h5>
<h5 class="modal-title"><i class="fa fa-fw fa-pen-square me-2"></i><?= $fill_in ? 'Edit Fill-in' : 'New Fill-in' ?> <span class="fw-normal text-white-50 ms-1"><?= escapeHtml($template['ticket_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">

View File

@@ -15,7 +15,7 @@ ob_start();
?>
<div class="modal-header bg-dark">
<h5 class="modal-title text-truncate"><i class="fas fa-fw fa-user-edit me-2"></i><?= escapeHtml($form['user_name']) ?></h5>
<h5 class="modal-title text-truncate"><i class="fas fa-fw fa-user-edit me-2"></i>Edit User <span class="fw-normal text-white-50 ms-1"><?= escapeHtml($form['user_name']) ?></span></h5>
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal"></button>
</div>
<?php if ($user_id === intval($session_user_id)) { ?>

View File

@@ -25,7 +25,7 @@ if (!$template) { ?>
?>
<div class="modal-header bg-dark">
<h5 class="modal-title text-truncate"><i class="fa fa-fw fa-building me-2"></i>Vendor template: <strong><?= escapeHtml($template['vendor_template_name']) ?></strong></h5>
<h5 class="modal-title text-truncate"><i class="fa fa-fw fa-building me-2"></i>Edit Vendor Template <span class="fw-normal text-white-50 ms-1"><?= escapeHtml($template['vendor_template_name']) ?></span></h5>
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal"></button>
</div>
<form action="/admin/post.php" method="post" autocomplete="off">

View File

@@ -29,7 +29,7 @@ if (!$announcement) { ?>
<div class="modal-body text-center text-secondary py-5">That banner is gone.</div>
<?php } else { ?>
<div class="modal-header bg-dark">
<h5 class="modal-title"><i class="fa fa-fw fa-bullhorn me-2"></i>Editing banner: <strong><?= escapeHtml($announcement['announcement_title']) ?></strong></h5>
<h5 class="modal-title"><i class="fa fa-fw fa-bullhorn me-2"></i>Edit Banner <span class="fw-normal text-white-50 ms-1"><?= escapeHtml($announcement['announcement_title']) ?></span></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">

View File

@@ -70,7 +70,7 @@ ob_start();
?>
<div class="modal-header bg-dark">
<h5 class="modal-title text-truncate"><i class='fa fa-fw fa-<?= $device_icon ?> me-2'></i>Copying asset: <strong><?= $asset_name ?></strong></h5>
<h5 class="modal-title text-truncate"><i class='fa fa-fw fa-<?= $device_icon ?> me-2'></i>Copy Asset <span class="fw-normal text-white-50 ms-1"><?= $asset_name ?></span></h5>
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal"></button>
</div>
<form action="post.php" method="post" enctype="multipart/form-data" autocomplete="off">

View File

@@ -78,7 +78,7 @@ ob_start();
?>
<div class="modal-header bg-dark">
<h5 class="modal-title text-truncate"><i class='fa fa-fw fa-<?= $device_icon ?> me-2'></i>Editing asset: <strong><?= $asset_name ?></strong></h5>
<h5 class="modal-title text-truncate"><i class='fa fa-fw fa-<?= $device_icon ?> me-2'></i>Edit Asset <span class="fw-normal text-white-50 ms-1"><?= $asset_name ?></span></h5>
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal"></button>
</div>
<form action="post.php" method="post" enctype="multipart/form-data" autocomplete="off">

View File

@@ -17,7 +17,7 @@ ob_start();
?>
<div class="modal-header bg-dark">
<h5 class="modal-title text-truncate"><i class="fa fa-fw fa-ethernet me-2"></i><?= escapeHtml($form['asset_name']) ?> - <strong><?= escapeHtml($form['interface_name']) ?></strong></h5>
<h5 class="modal-title text-truncate"><i class="fa fa-fw fa-ethernet me-2"></i>Edit Interface <span class="fw-normal text-white-50 ms-1"><?= escapeHtml($form['interface_name']) ?> &middot; <?= escapeHtml($form['asset_name']) ?></span></h5>
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal"></button>
</div>

View File

@@ -18,7 +18,7 @@ ob_start();
?>
<div class="modal-header bg-dark">
<h5 class="modal-title"><i class='fa fa-fw fa-sticky-note me-2'></i>Creating note: <strong><?= $asset_name ?></strong></h5>
<h5 class="modal-title"><i class='fa fa-fw fa-sticky-note me-2'></i>New Note <span class="fw-normal text-white-50 ms-1"><?= $asset_name ?></span></h5>
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal"></button>
</div>

View File

@@ -36,7 +36,7 @@ ob_start();
?>
<div class="modal-header bg-dark">
<h5 class="modal-title text-truncate"><i class="fa fa-fw fa-lock me-2"></i>Editing certificate: <strong><?= $certificate_name ?></strong></h5>
<h5 class="modal-title text-truncate"><i class="fa fa-fw fa-lock me-2"></i>Edit Certificate <span class="fw-normal text-white-50 ms-1"><?= $certificate_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">

View File

@@ -42,7 +42,7 @@ ob_start();
?>
<div class="modal-header bg-dark">
<h5 class="modal-title"><i class='fa fa-fw fa-user-edit me-2'></i>Editing Client: <strong><?= $client_name ?></strong></h5>
<h5 class="modal-title"><i class='fa fa-fw fa-user-edit me-2'></i>Edit Client <span class="fw-normal text-white-50 ms-1"><?= $client_name ?></span></h5>
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal"></button>
</div>

View File

@@ -2,7 +2,7 @@
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header bg-dark">
<h5 class="modal-title"><i class="fa fa-fw fa-archive me-2"></i>Archiving contact: <strong><?= $contact_name ?></strong></h5>
<h5 class="modal-title"><i class="fa fa-fw fa-archive me-2"></i>Archive Contact <span class="fw-normal text-white-50 ms-1"><?= $contact_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">

View File

@@ -65,7 +65,7 @@ ob_start();
?>
<div class="modal-header bg-dark">
<h5 class="modal-title"><i class="fas fa-fw fa-user-edit me-2"></i>Editing contact: <strong><?= $contact_name ?></strong></h5>
<h5 class="modal-title"><i class="fas fa-fw fa-user-edit me-2"></i>Edit Contact <span class="fw-normal text-white-50 ms-1"><?= $contact_name ?></span></h5>
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal"></button>
</div>
<form action="post.php" method="post" enctype="multipart/form-data" autocomplete="off"

View File

@@ -18,7 +18,7 @@ ob_start();
?>
<div class="modal-header bg-dark">
<h5 class="modal-title"><i class='fa fa-fw fa-sticky-note me-2'></i>Creating note: <strong><?= $contact_name ?></strong></h5>
<h5 class="modal-title"><i class='fa fa-fw fa-sticky-note me-2'></i>New Note <span class="fw-normal text-white-50 ms-1"><?= $contact_name ?></span></h5>
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal"></button>
</div>

View File

@@ -24,7 +24,7 @@ if (!$form_contract) { ?>
<?php } else { ?>
<div class="modal-header bg-dark">
<h5 class="modal-title"><i class="fas fa-fw fa-file-contract me-2"></i>Contract: <strong><?= escapeHtml($form_contract['contract_name']) ?></strong></h5>
<h5 class="modal-title"><i class="fas fa-fw fa-file-contract me-2"></i>Edit Contract <span class="fw-normal text-white-50 ms-1"><?= escapeHtml($form_contract['contract_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">

View File

@@ -40,7 +40,7 @@ ob_start();
?>
<div class="modal-header bg-dark">
<h5 class="modal-title text-truncate"><i class="fas fa-fw fa-key me-2"></i>Editing credential: <strong><?= $credential_name ?></strong></h5>
<h5 class="modal-title text-truncate"><i class="fas fa-fw fa-key me-2"></i>Edit Credential <span class="fw-normal text-white-50 ms-1"><?= $credential_name ?></span></h5>
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal"></button>
</div>

View File

@@ -28,7 +28,7 @@ ob_start();
?>
<div class="modal-header bg-dark">
<h5 class="modal-title text-truncate"><i class="fa fa-fw fa-sync-alt me-2"></i>Change password: <strong><?= escapeHtml($credential['credential_name']) ?></strong></h5>
<h5 class="modal-title text-truncate"><i class="fa fa-fw fa-sync-alt me-2"></i>Change Password <span class="fw-normal text-white-50 ms-1"><?= escapeHtml($credential['credential_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" data-credential-rotate>

View File

@@ -31,7 +31,7 @@ ob_start();
?>
<div class="modal-header bg-dark">
<h5 class="modal-title text-truncate"><i class="fas fa-fw fa-edit me-2"></i>Editing <strong><?= $document_name ?></strong></h5>
<h5 class="modal-title text-truncate"><i class="fas fa-fw fa-edit me-2"></i>Edit Document <span class="fw-normal text-white-50 ms-1"><?= $document_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">

View File

@@ -36,7 +36,7 @@ ob_start();
?>
<div class="modal-header bg-dark">
<h5 class="modal-title text-truncate"><i class="fa fa-fw fa-globe me-2"></i>Editing domain: <strong><?= $domain_name ?></strong></h5>
<h5 class="modal-title text-truncate"><i class="fa fa-fw fa-globe me-2"></i>Edit Domain <span class="fw-normal text-white-50 ms-1"><?= $domain_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">

View File

@@ -27,7 +27,7 @@ ob_start();
?>
<div class="modal-header bg-dark">
<h5 class="modal-title text-truncate"><i class="fas fa-fw fa-folder me-2"></i><?= $folder_name ?></h5>
<h5 class="modal-title text-truncate"><i class="fas fa-fw fa-folder me-2"></i>Edit Folder <span class="fw-normal text-white-50 ms-1"><?= $folder_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">

View File

@@ -23,7 +23,7 @@ ob_start();
?>
<div class="modal-header bg-dark">
<h5 class="modal-title text-truncate"><i class="fas fa-fw fa-book me-2"></i>Editing <strong><?= escapeHtml($kb_form['kb_article_title']) ?></strong></h5>
<h5 class="modal-title text-truncate"><i class="fas fa-fw fa-book me-2"></i>Edit Article <span class="fw-normal text-white-50 ms-1"><?= escapeHtml($kb_form['kb_article_title']) ?></span></h5>
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal"></button>
</div>

View File

@@ -47,7 +47,7 @@ ob_start();
?>
<div class="modal-header bg-dark">
<h5 class="modal-title text-truncate"><i class="fa fa-fw fa-map-marker-alt me-2"></i>Editing location: <strong><?= $location_name ?></strong></h5>
<h5 class="modal-title text-truncate"><i class="fa fa-fw fa-map-marker-alt me-2"></i>Edit Location <span class="fw-normal text-white-50 ms-1"><?= $location_name ?></span></h5>
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal"></button>
</div>
<form action="post.php" method="post" enctype="multipart/form-data" autocomplete="off">

View File

@@ -16,7 +16,7 @@ ob_start();
?>
<div class="modal-header bg-dark">
<h5 class="modal-title text-truncate"><i class="fa fa-fw fa-network-wired me-2"></i>Editing network: <span class="text-bold"><?= escapeHtml($form['network_name']) ?></span></h5>
<h5 class="modal-title text-truncate"><i class="fa fa-fw fa-network-wired me-2"></i>Edit Network <span class="fw-normal text-white-50 ms-1"><?= escapeHtml($form['network_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">

View File

@@ -22,7 +22,7 @@ ob_start();
?>
<div class="modal-header bg-dark">
<h5 class="modal-title"><i class="fa fa-fw fa-map-pin me-2"></i>Editing <span class="font-monospace"><?= escapeHtml($form['ip_address']) ?></span></h5>
<h5 class="modal-title"><i class="fa fa-fw fa-map-pin me-2"></i>Edit IP Address <span class="fw-normal text-white-50 ms-1 font-monospace"><?= escapeHtml($form['ip_address']) ?></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">

View File

@@ -28,7 +28,7 @@ ob_start();
?>
<div class="modal-header bg-dark">
<h5 class="modal-title"><i class="fa fa-fw fa-wallet me-2"></i><?= "$invoice_prefix$invoice_number" ?>: Apply Credit (Balance: <?= billingMoney($credit_balance, $session_company_currency) ?>)</h5>
<h5 class="modal-title"><i class="fa fa-fw fa-wallet me-2"></i>Apply Credit <span class="fw-normal text-white-50 ms-1"><?= "$invoice_prefix$invoice_number" ?> &middot; <?= billingMoney($credit_balance, $session_company_currency) ?> to use</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">

View File

@@ -19,7 +19,7 @@ ob_start();
?>
<div class="modal-header bg-dark">
<h5 class="modal-title"><i class="fas fa-fw fa-edit me-2"></i>Edit <span class="fw-normal text-white-50 ms-1"><?= escapeHtml($form_product['product_name']) ?></span></h5>
<h5 class="modal-title"><i class="fas fa-fw fa-edit me-2"></i>Edit <?= $form_type === 'service' ? 'Service' : 'Product' ?> <span class="fw-normal text-white-50 ms-1"><?= escapeHtml($form_product['product_name']) ?></span></h5>
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal"></button>
</div>
<form action="post.php" method="post" enctype="multipart/form-data" autocomplete="off">

View File

@@ -23,7 +23,7 @@ ob_start();
<div class="modal-header bg-dark">
<h5 class="modal-title text-truncate">
<i class="fas fa-fw fa-project-diagram me-2"></i>Edit Project <small class="ms-1 opacity-75"><?= escapeHtml(projectReference($form)) ?> &middot; <?= $form_client_id ? escapeHtml($form['client_name']) : 'Internal' ?></small>
<i class="fas fa-fw fa-project-diagram me-2"></i>Edit Project <span class="fw-normal text-white-50 ms-1"><?= escapeHtml(projectReference($form)) ?> &middot; <?= $form_client_id ? escapeHtml($form['client_name']) : 'Internal' ?></span>
</h5>
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal"></button>
</div>

View File

@@ -41,7 +41,7 @@ ob_start();
?>
<div class="modal-header bg-dark">
<h5 class="modal-title text-truncate"><i class="fa fa-fw fa-edit me-2"></i><?= $unit_name ?> <span class="fw-normal text-white-50">in <?= $rack_name ?></span></h5>
<h5 class="modal-title text-truncate"><i class="fa fa-fw fa-edit me-2"></i>Edit Rack Item <span class="fw-normal text-white-50 ms-1"><?= $unit_name ?> in <?= $rack_name ?></span></h5>
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal"></button>
</div>

View File

@@ -40,7 +40,7 @@ ob_start();
?>
<div class="modal-header bg-dark">
<h5 class="modal-title"><i class="fa fa-fw fa-server me-2"></i>Editing rack: <strong><?= $rack_name ?></strong></h5>
<h5 class="modal-title"><i class="fa fa-fw fa-server me-2"></i>Edit Rack <span class="fw-normal text-white-50 ms-1"><?= $rack_name ?></span></h5>
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal"></button>
</div>

View File

@@ -51,7 +51,7 @@ ob_start();
?>
<div class="modal-header bg-dark">
<h5 class="modal-title text-truncate"><i class="fas fa-fw fa-redo-alt me-2"></i>Edit Recurring Ticket <small class="ms-1 opacity-75"><?= escapeHtml($recurring['client_name']) ?></small></h5>
<h5 class="modal-title text-truncate"><i class="fas fa-fw fa-redo-alt me-2"></i>Edit Recurring Ticket <span class="fw-normal text-white-50 ms-1"><?= escapeHtml($recurring['client_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">

View File

@@ -16,7 +16,7 @@ ob_start();
?>
<div class="modal-header bg-dark">
<h5 class="modal-title text-truncate"><i class="fas fa-fw fa-stream me-2"></i>Edit <strong><?= escapeHtml($form['service_name']) ?></strong></h5>
<h5 class="modal-title text-truncate"><i class="fas fa-fw fa-stream me-2"></i>Edit Service <span class="fw-normal text-white-50 ms-1"><?= escapeHtml($form['service_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">

View File

@@ -42,7 +42,7 @@ ob_start();
?>
<div class="modal-header bg-dark">
<h5 class="modal-title text-truncate"><i class="fa fa-fw fa-cube me-2"></i>Editing license: <strong><?= $software_name ?></strong></h5>
<h5 class="modal-title text-truncate"><i class="fa fa-fw fa-cube me-2"></i>Edit License <span class="fw-normal text-white-50 ms-1"><?= $software_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">

View File

@@ -48,7 +48,7 @@ ob_start();
?>
<div class="modal-header bg-dark">
<h5 class="modal-title"><i class="fa fa-fw fa-life-ring me-2"></i>Edit Ticket <small class="ms-1 opacity-75 font-monospace"><?= escapeHtml(ticketReference($ticket)) ?></small></h5>
<h5 class="modal-title"><i class="fa fa-fw fa-life-ring me-2"></i>Edit Ticket <span class="fw-normal text-white-50 ms-1 font-monospace"><?= escapeHtml(ticketReference($ticket)) ?></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">

View File

@@ -47,7 +47,7 @@ ob_start();
<div class="modal-header bg-dark">
<h5 class="modal-title">
<i class="fa fa-fw fa-user-plus me-2"></i><?= $helper ? escapeHtml($helper['user_name']) . ' on' : 'Add an agent to' ?> <small class="ms-1 opacity-75"><?= escapeHtml(ticketReference($row)) ?></small>
<i class="fa fa-fw fa-user-plus me-2"></i><?= $helper ? escapeHtml($helper['user_name']) . ' on' : 'Add an agent to' ?> <span class="fw-normal text-white-50 ms-1"><?= escapeHtml(ticketReference($row)) ?></span>
</h5>
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal"></button>
</div>

View File

@@ -45,7 +45,7 @@ ob_start();
?>
<div class="modal-header bg-dark">
<h5 class="modal-title"><i class="fa fa-fw fa-edit me-2"></i>Edit reply</h5>
<h5 class="modal-title"><i class="fa fa-fw fa-edit me-2"></i>Edit Reply</h5>
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal"></button>
</div>
<form action="post.php" method="post" autocomplete="off">

View File

@@ -38,7 +38,7 @@ ob_start();
?>
<div class="modal-header bg-dark">
<h5 class="modal-title"><i class="fa fa-fw fa-tasks me-2"></i>Edit task</h5>
<h5 class="modal-title"><i class="fa fa-fw fa-tasks me-2"></i>Edit Task</h5>
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal"></button>
</div>
<form action="post.php" method="post" autocomplete="off">

View File

@@ -41,7 +41,7 @@ ob_start();
?>
<div class="modal-header bg-dark">
<h5 class="modal-title text-truncate"><i class="fa fa-fw fa-building me-2"></i>Editing vendor: <strong><?= $vendor_name ?></strong></h5>
<h5 class="modal-title text-truncate"><i class="fa fa-fw fa-building me-2"></i>Edit Vendor <span class="fw-normal text-white-50 ms-1"><?= $vendor_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">

View File

@@ -27,7 +27,7 @@ if (!$response) { ?>
$response_category_ids = cannedResponseCategoryIds($canned_response_id); ?>
<div class="modal-header bg-dark">
<h5 class="modal-title text-truncate"><i class="fa fa-fw fa-comment-dots me-2"></i>Canned response: <strong><?= escapeHtml($response['canned_response_name']) ?></strong></h5>
<h5 class="modal-title text-truncate"><i class="fa fa-fw fa-comment-dots me-2"></i>Edit Canned Response <span class="fw-normal text-white-50 ms-1"><?= escapeHtml($response['canned_response_name']) ?></span></h5>
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal"></button>
</div>
<form action="/agent/user/post.php" method="post" enctype="multipart/form-data" autocomplete="off">