mirror of
https://github.com/itflow-org/itflow
synced 2026-09-03 05:15: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:
@@ -60,7 +60,7 @@ ob_start();
|
||||
<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>
|
||||
<select class="form-control select2" name="client_id" required>
|
||||
<select class="form-select select2" name="client_id" required>
|
||||
<option value="">- Select Client -</option>
|
||||
<?php
|
||||
|
||||
@@ -81,7 +81,7 @@ ob_start();
|
||||
<label>Type <strong class="text-danger">*</strong></label>
|
||||
<div class="input-group">
|
||||
<span class="input-group-text"><i class="fa fa-fw fa-tag"></i></span>
|
||||
<select class="form-control select2" name="type" required>
|
||||
<select class="form-select select2" name="type" required>
|
||||
<option value="">- Select Type -</option>
|
||||
<<?php
|
||||
$sql_software_types_select = mysqli_query($mysqli, "
|
||||
@@ -120,7 +120,7 @@ ob_start();
|
||||
<label>Vendor</label>
|
||||
<div class="input-group">
|
||||
<span class="input-group-text"><i class="fa fa-fw fa-building"></i></span>
|
||||
<select class="form-control select2" name="vendor">
|
||||
<select class="form-select select2" name="vendor">
|
||||
<option value="">- Select Vendor -</option>
|
||||
<?php
|
||||
|
||||
@@ -152,7 +152,7 @@ ob_start();
|
||||
<label>License Type</label>
|
||||
<div class="input-group">
|
||||
<span class="input-group-text"><i class="fa fa-fw fa-cube"></i></span>
|
||||
<select class="form-control select2" name="license_type">
|
||||
<select class="form-select select2" name="license_type">
|
||||
<option value="">- Select a License Type -</option>
|
||||
<?php foreach ($license_types_array as $license_type) { ?>
|
||||
<option><?= $license_type ?></option>
|
||||
|
||||
@@ -25,7 +25,7 @@ ob_start();
|
||||
<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>
|
||||
<select class="form-control select2" name="client_id" required>
|
||||
<select class="form-select select2" name="client_id" required>
|
||||
<option value="">- Select Client -</option>
|
||||
<?php
|
||||
|
||||
@@ -46,7 +46,7 @@ ob_start();
|
||||
<div class="mb-3">
|
||||
<div class="input-group">
|
||||
<span class="input-group-text"><i class="fa fa-fw fa-puzzle-piece"></i></span>
|
||||
<select class="form-control" name="software_template_id" required>
|
||||
<select class="form-select" name="software_template_id" required>
|
||||
<option value="">- Select Template -</option>
|
||||
<?php
|
||||
$sql_software_templates = mysqli_query($mysqli, "SELECT software_template_id, software_template_name FROM software_templates WHERE software_template_archived_at IS NULL ORDER BY software_template_name ASC");
|
||||
|
||||
@@ -99,7 +99,7 @@ ob_start();
|
||||
<label>Type <strong class="text-danger">*</strong></label>
|
||||
<div class="input-group">
|
||||
<span class="input-group-text"><i class="fa fa-fw fa-tag"></i></span>
|
||||
<select class="form-control select2" name="type" required>
|
||||
<select class="form-select select2" name="type" required>
|
||||
<option value="">- Select Type -</option>
|
||||
<<?php
|
||||
$sql_software_types_select = mysqli_query($mysqli, "
|
||||
@@ -139,7 +139,7 @@ ob_start();
|
||||
<label>Vendor</label>
|
||||
<div class="input-group">
|
||||
<span class="input-group-text"><i class="fa fa-fw fa-building"></i></span>
|
||||
<select class="form-control select2" name="vendor">
|
||||
<select class="form-select select2" name="vendor">
|
||||
<option value="">- Select Vendor -</option>
|
||||
<?php
|
||||
$vendor_sql = mysqli_query($mysqli, "SELECT vendor_id, vendor_name FROM vendors WHERE vendor_client_id = $client_id AND vendor_archived_at IS NULL ORDER BY vendor_name ASC");
|
||||
@@ -171,7 +171,7 @@ ob_start();
|
||||
<label>License Type</label>
|
||||
<div class="input-group">
|
||||
<span class="input-group-text"><i class="fa fa-fw fa-cube"></i></span>
|
||||
<select class="form-control select2" name="license_type">
|
||||
<select class="form-select select2" name="license_type">
|
||||
<option value="">- Select a License Type -</option>
|
||||
<?php foreach($license_types_array as $license_type_select) { ?>
|
||||
<option <?php if ($license_type_select == $software_license_type) { echo "selected"; } ?>><?= $license_type_select ?></option>
|
||||
|
||||
@@ -55,7 +55,7 @@ ob_start();
|
||||
<label>Client</label>
|
||||
<div class="input-group">
|
||||
<span class="input-group-text"><i class="fa fa-fw fa-user"></i></span>
|
||||
<select class="form-control select2" name="client">
|
||||
<select class="form-select select2" name="client">
|
||||
<option value="">- All Clients -</option>
|
||||
<?php
|
||||
$sql_clients_filter = mysqli_query($mysqli, "SELECT client_id, client_name FROM clients WHERE EXISTS (SELECT 1 FROM software WHERE software_client_id = client_id) ORDER BY client_name ASC");
|
||||
@@ -76,7 +76,7 @@ ob_start();
|
||||
<label>Expiring In</label>
|
||||
<div class="input-group">
|
||||
<span class="input-group-text"><i class="fa fa-fw fa-hourglass-half"></i></span>
|
||||
<select class="form-control select2" name="expire_days">
|
||||
<select class="form-select select2" name="expire_days">
|
||||
<option value="">- Any -</option>
|
||||
<option <?php if ($expire_filter === 'expired') { echo "selected"; } ?> value="expired">Expired</option>
|
||||
<?php foreach ([7, 30, 45, 60, 90] as $expire_option) { ?>
|
||||
@@ -90,7 +90,7 @@ ob_start();
|
||||
<label>Archived</label>
|
||||
<div class="input-group">
|
||||
<span class="input-group-text"><i class="fa fa-fw fa-archive"></i></span>
|
||||
<select class="form-control select2" name="archived">
|
||||
<select class="form-select select2" name="archived">
|
||||
<option <?php if (!$archived_filter) { echo "selected"; } ?> value="0">Active only</option>
|
||||
<option <?php if ($archived_filter) { echo "selected"; } ?> value="1">Archived only</option>
|
||||
</select>
|
||||
|
||||
Reference in New Issue
Block a user