mirror of
https://github.com/itflow-org/itflow
synced 2026-09-14 18: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:
@@ -58,7 +58,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 contacts WHERE contact_client_id = client_id) ORDER BY client_name ASC");
|
||||
@@ -80,7 +80,7 @@ ob_start();
|
||||
<label>Location</label>
|
||||
<div class="input-group">
|
||||
<span class="input-group-text"><i class="fa fa-fw fa-map-marker-alt"></i></span>
|
||||
<select class="form-control select2" name="location">
|
||||
<select class="form-select select2" name="location">
|
||||
<option value="">- All Locations -</option>
|
||||
<?php
|
||||
$sql_locations_filter = mysqli_query($mysqli, "SELECT location_id, location_name FROM locations WHERE location_client_id = $client_id AND location_archived_at IS NULL ORDER BY location_name ASC");
|
||||
@@ -101,7 +101,7 @@ ob_start();
|
||||
<label>Tags</label>
|
||||
<div class="input-group">
|
||||
<span class="input-group-text"><i class="fa fa-fw fa-tags"></i></span>
|
||||
<select class="form-control select2" name="tags[]" data-placeholder="- All Tags -" multiple>
|
||||
<select class="form-select select2" name="tags[]" data-placeholder="- All Tags -" multiple>
|
||||
<?php
|
||||
$sql_tags_filter = mysqli_query($mysqli, "SELECT tag_id, tag_name FROM tags WHERE tag_type = 3 ORDER BY tag_name ASC");
|
||||
while ($row = mysqli_fetch_assoc($sql_tags_filter)) {
|
||||
@@ -120,7 +120,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