mirror of
https://github.com/itflow-org/itflow
synced 2026-11-11 15:07:24 +00:00
Replace Tom Select with ITFlow's own select picker: native select stays the source of truth, search, checklists for multi selects, add-your-own for tag fields, phone sheet, and client/agent/contact avatars, tag and category colours, priority dots and asset icons in the options
This commit is contained in:
@@ -40,22 +40,19 @@ header("X-Frame-Options: DENY");
|
||||
<link rel="icon" type="image/x-icon" href="/uploads/favicon.ico">
|
||||
<?php } ?>
|
||||
|
||||
<?php /* The Tom Select pair is the first thing includes/footer.php runs,
|
||||
<?php /* The select picker is the first thing includes/footer.php runs,
|
||||
because until it does the browser is showing raw <select>
|
||||
controls. Preloading here starts both fetches during head parse,
|
||||
in parallel with the stylesheets, so the bytes are already warm
|
||||
when the parser reaches the tag instead of being requested only
|
||||
at that point. Hints only - the <script> tags in footer.php are
|
||||
what actually load them. */ ?>
|
||||
<link rel="preload" as="script" href="/libs/tom-select/js/tom-select.complete.min.js">
|
||||
<link rel="preload" as="script" href="/js/tom_select.js">
|
||||
controls. Preloading here starts the fetch during head parse, in
|
||||
parallel with the stylesheets, so the bytes are already warm when
|
||||
the parser reaches the tag. A hint only - the <script> tag in
|
||||
footer.php is what actually loads it. */ ?>
|
||||
<link rel="preload" as="script" href="/js/itflow_select.js">
|
||||
|
||||
<!-- Font Awesome -->
|
||||
<link rel="stylesheet" href="/libs/fontawesome-free/css/all.min.css">
|
||||
|
||||
<!-- Custom Styles -->
|
||||
<link rel="stylesheet" href="/libs/flatpickr/css/flatpickr.min.css">
|
||||
<link rel="stylesheet" href="/libs/tom-select/css/tom-select.bootstrap5.min.css">
|
||||
<link rel="stylesheet" href="/libs/sweetalert2/css/sweetalert2.min.css">
|
||||
<link rel="stylesheet" href="/libs/DataTables/datatables.min.css">
|
||||
<link rel="stylesheet" href="/libs/intl-tel-input/css/intlTelInput.min.css">
|
||||
|
||||
Reference in New Issue
Block a user