refactor: introduce new Firewall component in Proxmox with enhanced rule management, policies, and UI improvements for better user experience
This commit is contained in:
@@ -527,7 +527,7 @@
|
||||
<x-ri-save-line class="size-4 inline mr-1" x-show="editingPositions" />
|
||||
<span x-text="editingPositions ? 'Save' : 'Edit Order'"></span>
|
||||
</button>
|
||||
<button
|
||||
<button
|
||||
type="button"
|
||||
wire:click="startCreateRule"
|
||||
class="px-4 py-2 bg-primary text-white rounded-lg hover:bg-primary/90 transition-colors text-sm font-medium">
|
||||
@@ -775,7 +775,7 @@
|
||||
</td>
|
||||
<td class="py-3 px-4 text-sm">
|
||||
<div class="flex gap-2">
|
||||
<button
|
||||
<button
|
||||
type="button"
|
||||
wire:click="toggleRule({{ $index }})"
|
||||
wire:key="toggle-rule-{{ $index }}"
|
||||
@@ -788,7 +788,7 @@
|
||||
<x-ri-toggle-fill class="size-4" />
|
||||
@endif
|
||||
</button>
|
||||
<button
|
||||
<button
|
||||
type="button"
|
||||
wire:click="startEditRule({{ $index }})"
|
||||
wire:key="edit-rule-{{ $index }}"
|
||||
@@ -796,7 +796,7 @@
|
||||
title="Edit rule">
|
||||
<x-ri-edit-line class="size-4" />
|
||||
</button>
|
||||
<button
|
||||
<button
|
||||
type="button"
|
||||
wire:click="confirmDeleteRule({{ $index }})"
|
||||
wire:key="delete-rule-{{ $index }}"
|
||||
|
||||
Reference in New Issue
Block a user