Replaces the “Add Policies” picker with a modal table (search, pagination, multi-select). Adds filters: policy type, platform, last synced, ignored, has versions; “Select all” applies to the current filtered results. Improves identifiers shown (short external id), and fixes has-versions filtering behavior. Backup set items table: groups row actions (View policy / Remove) into an action group. Adds bulk action to remove multiple backup items at once. Updates/adds tests covering the picker table bulk add and backup items bulk remove. Co-authored-by: Ahmed Darrazi <ahmeddarrazi@adsmac.local> Reviewed-on: #21
21 lines
794 B
PHP
21 lines
794 B
PHP
<div class="space-y-4">
|
|
<div class="grid gap-3 sm:grid-cols-3">
|
|
<label class="flex items-center gap-2">
|
|
<input type="checkbox" wire:model.live="include_assignments" class="fi-checkbox-input" />
|
|
<span class="text-sm">Include assignments</span>
|
|
</label>
|
|
|
|
<label class="flex items-center gap-2">
|
|
<input type="checkbox" wire:model.live="include_scope_tags" class="fi-checkbox-input" />
|
|
<span class="text-sm">Include scope tags</span>
|
|
</label>
|
|
|
|
<label class="flex items-center gap-2">
|
|
<input type="checkbox" wire:model.live="include_foundations" class="fi-checkbox-input" />
|
|
<span class="text-sm">Include foundations</span>
|
|
</label>
|
|
</div>
|
|
|
|
{{ $this->table }}
|
|
</div>
|