mirror of
https://github.com/itflow-org/itflow
synced 2026-09-09 00:05:13 +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:
@@ -95,11 +95,10 @@ ob_start();
|
||||
<div class="mb-3">
|
||||
<label><?= $module_name_display_safe ?> <strong class="text-danger">*</strong></label>
|
||||
|
||||
<div class="btn-group btn-group-toggle w-100" data-toggle="buttons" role="group"
|
||||
<div class="btn-group w-100" role="group"
|
||||
aria-label="Permissions for <?= $module_name_display_safe ?>">
|
||||
|
||||
<label class="btn btn-outline-secondary btn-sm active" title="No Access">
|
||||
<input
|
||||
<input class="btn-check"
|
||||
type="radio"
|
||||
name="<?= $field_name ?>"
|
||||
id="<?= $group_id ?>_0"
|
||||
@@ -108,41 +107,34 @@ ob_start();
|
||||
checked
|
||||
required
|
||||
>
|
||||
None
|
||||
</label>
|
||||
<label class="btn btn-outline-secondary btn-sm" title="No Access" for="<?= $group_id ?>_0">None</label>
|
||||
|
||||
<label class="btn btn-outline-primary btn-sm" title="Viewing Only">
|
||||
<input
|
||||
<input class="btn-check"
|
||||
type="radio"
|
||||
name="<?= $field_name ?>"
|
||||
id="<?= $group_id ?>_1"
|
||||
value="1"
|
||||
autocomplete="off"
|
||||
>
|
||||
<i class="fas fa-fw fa-eye me-1"></i>Read
|
||||
</label>
|
||||
<label class="btn btn-outline-primary btn-sm" title="Viewing Only" for="<?= $group_id ?>_1"><i class="fas fa-fw fa-eye me-1"></i>Read</label>
|
||||
|
||||
<label class="btn btn-outline-warning btn-sm" title="Read, Edit, Archive">
|
||||
<input
|
||||
<input class="btn-check"
|
||||
type="radio"
|
||||
name="<?= $field_name ?>"
|
||||
id="<?= $group_id ?>_2"
|
||||
value="2"
|
||||
autocomplete="off"
|
||||
>
|
||||
<i class="fas fa-fw fa-edit me-1"></i>Modify
|
||||
</label>
|
||||
<label class="btn btn-outline-warning btn-sm" title="Read, Edit, Archive" for="<?= $group_id ?>_2"><i class="fas fa-fw fa-edit me-1"></i>Modify</label>
|
||||
|
||||
<label class="btn btn-outline-danger btn-sm" title="Read, Edit, Archive, Delete">
|
||||
<input
|
||||
<input class="btn-check"
|
||||
type="radio"
|
||||
name="<?= $field_name ?>"
|
||||
id="<?= $group_id ?>_3"
|
||||
value="3"
|
||||
autocomplete="off"
|
||||
>
|
||||
<i class="fas fa-fw fa-trash me-1"></i>Full
|
||||
</label>
|
||||
<label class="btn btn-outline-danger btn-sm" title="Read, Edit, Archive, Delete" for="<?= $group_id ?>_3"><i class="fas fa-fw fa-trash me-1"></i>Full</label>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
@@ -129,10 +129,9 @@ ob_start();
|
||||
$group_id = "perm_group_$module_id";
|
||||
?>
|
||||
|
||||
<div class="btn-group btn-group-toggle w-100" data-toggle="buttons" role="group" aria-label="Permissions for <?= $module_name_display ?>">
|
||||
<div class="btn-group w-100" role="group" aria-label="Permissions for <?= $module_name_display ?>">
|
||||
|
||||
<label class="btn btn-outline-secondary btn-sm <?php if ($module_permission == 0) { echo 'active'; } ?>" title="No Access">
|
||||
<input
|
||||
<input class="btn-check"
|
||||
type="radio"
|
||||
name="<?= $field_name ?>"
|
||||
id="<?= $group_id ?>_0"
|
||||
@@ -141,11 +140,9 @@ ob_start();
|
||||
<?php if ($module_permission == 0) { echo 'checked'; } ?>
|
||||
required
|
||||
>
|
||||
None
|
||||
</label>
|
||||
<label class="btn btn-outline-secondary btn-sm" title="No Access" for="<?= $group_id ?>_0">None</label>
|
||||
|
||||
<label class="btn btn-outline-primary btn-sm <?php if ($module_permission == 1) { echo 'active'; } ?>" title="Viewing Only">
|
||||
<input
|
||||
<input class="btn-check"
|
||||
type="radio"
|
||||
name="<?= $field_name ?>"
|
||||
id="<?= $group_id ?>_1"
|
||||
@@ -153,11 +150,9 @@ ob_start();
|
||||
autocomplete="off"
|
||||
<?php if ($module_permission == 1) { echo 'checked'; } ?>
|
||||
>
|
||||
<i class="fas fa-fw fa-eye me-1"></i>Read
|
||||
</label>
|
||||
<label class="btn btn-outline-primary btn-sm" title="Viewing Only" for="<?= $group_id ?>_1"><i class="fas fa-fw fa-eye me-1"></i>Read</label>
|
||||
|
||||
<label class="btn btn-outline-warning btn-sm <?php if ($module_permission == 2) { echo 'active'; } ?>" title="Read, Edit, Archive">
|
||||
<input
|
||||
<input class="btn-check"
|
||||
type="radio"
|
||||
name="<?= $field_name ?>"
|
||||
id="<?= $group_id ?>_2"
|
||||
@@ -165,11 +160,9 @@ ob_start();
|
||||
autocomplete="off"
|
||||
<?php if ($module_permission == 2) { echo 'checked'; } ?>
|
||||
>
|
||||
<i class="fas fa-fw fa-edit me-1"></i>Modify
|
||||
</label>
|
||||
<label class="btn btn-outline-warning btn-sm" title="Read, Edit, Archive" for="<?= $group_id ?>_2"><i class="fas fa-fw fa-edit me-1"></i>Modify</label>
|
||||
|
||||
<label class="btn btn-outline-danger btn-sm <?php if ($module_permission == 3) { echo 'active'; } ?>" title="Read, Edit, Archive, Delete">
|
||||
<input
|
||||
<input class="btn-check"
|
||||
type="radio"
|
||||
name="<?= $field_name ?>"
|
||||
id="<?= $group_id ?>_3"
|
||||
@@ -177,8 +170,7 @@ ob_start();
|
||||
autocomplete="off"
|
||||
<?php if ($module_permission == 3) { echo 'checked'; } ?>
|
||||
>
|
||||
<i class="fas fa-fw fa-trash me-1"></i>Full
|
||||
</label>
|
||||
<label class="btn btn-outline-danger btn-sm" title="Read, Edit, Archive, Delete" for="<?= $group_id ?>_3"><i class="fas fa-fw fa-trash me-1"></i>Full</label>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user