mirror of
https://github.com/itflow-org/itflow
synced 2026-08-27 09:55:12 +00:00
Update Font, Migrated away from JQUERY dependent libs: toastr to bootstrap5 toasts, daterangepicker to flatpickr, select2 to Tom Select, InputMask to IMask
This commit is contained in:
@@ -25,7 +25,7 @@ $assets_sql = mysqli_query($mysqli, "SELECT asset_description, asset_id, asset_m
|
||||
|
||||
<div class="col-md-12">
|
||||
|
||||
<table class="table tabled-bordered border border-dark">
|
||||
<table class="table table-bordered border border-dark">
|
||||
<thead class="table-dark">
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
|
||||
@@ -18,7 +18,7 @@ $certificates_sql = mysqli_query($mysqli, "SELECT certificate_id, certificate_na
|
||||
|
||||
<div class="col-md-10">
|
||||
|
||||
<table class="table tabled-bordered border border-dark">
|
||||
<table class="table table-bordered border border-dark">
|
||||
<thead class="table-dark">
|
||||
<tr>
|
||||
<th>Certificate Name</th>
|
||||
|
||||
@@ -66,7 +66,7 @@ enforceContactCan('contacts');
|
||||
<label>Portal authentication</label>
|
||||
<div class="input-group">
|
||||
<span class="input-group-text"><i class="fa fa-fw fa-user-circle"></i></span>
|
||||
<select class="form-control select2 authMethod" name="contact_auth_method">
|
||||
<select class="form-select select2 authMethod" name="contact_auth_method">
|
||||
<option value="">- No portal access -</option>
|
||||
<option value="local">Local (Email and password)</option>
|
||||
<?php if (!empty($config_azure_client_id)) { ?>
|
||||
|
||||
@@ -97,7 +97,7 @@ if ($row) {
|
||||
<label>Portal authentication</label>
|
||||
<div class="input-group">
|
||||
<span class="input-group-text"><i class="fa fa-fw fa-user-circle"></i></span>
|
||||
<select class="form-control select2 authMethod" name="contact_auth_method">
|
||||
<select class="form-select select2 authMethod" name="contact_auth_method">
|
||||
<option value="">- No portal access -</option>
|
||||
<option value="local" <?php if ($contact_auth_method == "local") { echo "selected"; } ?>>Local (Email and password)</option>
|
||||
<?php if (!empty($config_azure_client_id)) { ?>
|
||||
|
||||
@@ -26,7 +26,7 @@ $contacts_sql = mysqli_query($mysqli, "SELECT contact_id, contact_name, contact_
|
||||
|
||||
<div class="col-md-10">
|
||||
|
||||
<table class="table tabled-bordered border border-dark">
|
||||
<table class="table table-bordered border border-dark">
|
||||
<thead class="table-dark">
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
|
||||
@@ -18,7 +18,7 @@ $domains_sql = mysqli_query($mysqli, "SELECT domain_id, domain_name, domain_expi
|
||||
|
||||
<div class="col-md-10">
|
||||
|
||||
<table class="table tabled-bordered border border-dark">
|
||||
<table class="table table-bordered border border-dark">
|
||||
<thead class="table-dark">
|
||||
<tr>
|
||||
<th>Domain Name</th>
|
||||
|
||||
@@ -104,7 +104,7 @@ header("X-Frame-Options: DENY"); // Legacy
|
||||
|
||||
</ul><!-- End left nav -->
|
||||
|
||||
<ul class="nav navbar-nav pull-right">
|
||||
<ul class="nav navbar-nav ms-auto">
|
||||
<li class="nav-item dropdown">
|
||||
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-bs-toggle="dropdown">
|
||||
<?= stripslashes(escapeHtml($session_contact_name)) ?>
|
||||
@@ -128,7 +128,7 @@ header("X-Frame-Options: DENY"); // Legacy
|
||||
<div class="row mb-3">
|
||||
<div class="col-md-1 text-center">
|
||||
<?php if (!empty($session_contact_photo)) { ?>
|
||||
<img src="/uploads/clients/<?= $session_client_id ?>/<?= $session_contact_photo ?>" alt="..." height="50" width="50" class="img-circle img-responsive">
|
||||
<img src="/uploads/clients/<?= $session_client_id ?>/<?= $session_contact_photo ?>" alt="..." height="50" width="50" class="rounded-circle img-fluid">
|
||||
|
||||
<?php } else { ?>
|
||||
<span class="fa-stack fa-2x rounded-start">
|
||||
|
||||
@@ -20,7 +20,7 @@ $invoices_sql = mysqli_query($mysqli, "SELECT invoice_amount, invoice_date, invo
|
||||
|
||||
<div class="col-md-10">
|
||||
|
||||
<table class="table tabled-bordered border border-dark">
|
||||
<table class="table table-bordered border border-dark">
|
||||
<thead class="table-dark">
|
||||
<tr>
|
||||
<th>#</th>
|
||||
|
||||
@@ -19,7 +19,7 @@ $quotes_sql = mysqli_query($mysqli, "SELECT quote_amount, quote_date, quote_id,
|
||||
|
||||
<div class="col-md-10">
|
||||
|
||||
<table class="table tabled-bordered border border-dark">
|
||||
<table class="table table-bordered border border-dark">
|
||||
<thead class="table-dark">
|
||||
<tr>
|
||||
<th>#</th>
|
||||
|
||||
@@ -35,7 +35,7 @@ $payment_provider_threshold = floatval($row['payment_provider_threshold']);
|
||||
|
||||
<div class="col-md-10">
|
||||
|
||||
<table class="table tabled-bordered border border-dark">
|
||||
<table class="table table-bordered border border-dark">
|
||||
<thead class="table-dark">
|
||||
<tr>
|
||||
<th>Scope</th>
|
||||
@@ -83,7 +83,7 @@ $payment_provider_threshold = floatval($row['payment_provider_threshold']);
|
||||
<input type="hidden" name="csrf_token" value="<?= $_SESSION['csrf_token'] ?>">
|
||||
<input type="hidden" name="set_recurring_payment" value="1">
|
||||
<input type="hidden" name="recurring_invoice_id" value="<?= $recurring_invoice_id ?>">
|
||||
<select class="form-control select2" name="saved_payment_id" onchange="this.form.submit()">
|
||||
<select class="form-select select2" name="saved_payment_id" onchange="this.form.submit()">
|
||||
<option value="0">Disabled</option>
|
||||
<?php
|
||||
while ($row = mysqli_fetch_assoc($sql)) {
|
||||
|
||||
@@ -310,7 +310,7 @@ if (isset($_GET['id']) && intval($_GET['id'])) {
|
||||
<?php
|
||||
if (!empty($user_avatar)) {
|
||||
?>
|
||||
<img src="<?= $avatar_link ?>" alt="User Avatar" class="img-size-50 me-3 img-circle">
|
||||
<img src="<?= $avatar_link ?>" alt="User Avatar" class="img-size-50 me-3 rounded-circle">
|
||||
<?php
|
||||
} else {
|
||||
?>
|
||||
|
||||
@@ -41,7 +41,7 @@ $sql_assets = mysqli_query($mysqli, "SELECT asset_id, asset_name, asset_type FRO
|
||||
<label>Priority <strong class="text-danger">*</strong></label>
|
||||
<div class="input-group">
|
||||
<span class="input-group-text"><i class="fa fa-fw fa-thermometer-half"></i></span>
|
||||
<select class="form-control select2" name="priority" required>
|
||||
<select class="form-select select2" name="priority" required>
|
||||
<option>Low</option>
|
||||
<option>Medium</option>
|
||||
<option>High</option>
|
||||
@@ -56,7 +56,7 @@ $sql_assets = mysqli_query($mysqli, "SELECT asset_id, asset_name, asset_type FRO
|
||||
<label>Category</label>
|
||||
<div class="input-group">
|
||||
<span class="input-group-text"><i class="fa fa-fw fa-layer-group"></i></span>
|
||||
<select class="form-control select2" name="category">
|
||||
<select class="form-select select2" name="category">
|
||||
<option value="0">- No Category -</option>
|
||||
<?php
|
||||
$sql_categories = mysqli_query($mysqli, "SELECT category_id, category_name FROM categories WHERE category_type = 'Ticket' AND category_archived_at IS NULL");
|
||||
@@ -79,7 +79,7 @@ $sql_assets = mysqli_query($mysqli, "SELECT asset_id, asset_name, asset_type FRO
|
||||
<label>Asset</label>
|
||||
<div class="input-group">
|
||||
<span class="input-group-text"><i class="fa fa-fw fa-desktop"></i></span>
|
||||
<select class="form-control select2" name="asset">
|
||||
<select class="form-select select2" name="asset">
|
||||
<option value="0">- None -</option>
|
||||
<?php
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ $all_tickets = mysqli_query($mysqli, "SELECT ticket_id, ticket_prefix, ticket_nu
|
||||
<div class="mb-3">
|
||||
<form method="get">
|
||||
<label>Ticket Status</label>
|
||||
<select class="form-control" name="status" onchange="this.form.submit()">
|
||||
<select class="form-select" name="status" onchange="this.form.submit()">
|
||||
<option value="%" <?php if ($status == "%") {echo "selected";}?> >Any</option>
|
||||
<option value="Open" <?php if ($status == "Open") {echo "selected";}?> >Open</option>
|
||||
<option value="Closed" <?php if ($status == "Closed") {echo "selected";}?> >Closed</option>
|
||||
|
||||
@@ -47,7 +47,7 @@ $total_tickets = intval($row['total_tickets']);
|
||||
|
||||
<div class="col-md-10">
|
||||
|
||||
<table class="table tabled-bordered border border-dark">
|
||||
<table class="table table-bordered border border-dark">
|
||||
<thead class="table-dark">
|
||||
<tr>
|
||||
<th>#</th>
|
||||
|
||||
@@ -80,7 +80,7 @@ $balance = $invoice_amounts - $amount_paid;
|
||||
|
||||
<div class="col-md-10">
|
||||
|
||||
<table class="table tabled-bordered border border-dark">
|
||||
<table class="table table-bordered border border-dark">
|
||||
<thead class="table-dark">
|
||||
<tr>
|
||||
<th>#</th>
|
||||
|
||||
Reference in New Issue
Block a user