feat: Netzwerk-Segmentverwaltung, Dashboard, globale Suche v0.6.0

This commit is contained in:
2026-07-01 18:46:49 +02:00
parent 402537805d
commit 9fa20af87a
17 changed files with 1006 additions and 60 deletions
+44 -6
View File
@@ -39,10 +39,35 @@
</x-dropdown>
@endrole
{{-- Netzwerk-Link --}}
<x-nav-link :href="route('network.index')" :active="request()->routeIs('network.*')">
🌐 Netzwerk
</x-nav-link>
{{-- Netzwerk-Dropdown --}}
<x-dropdown align="left" width="48">
<x-slot name="trigger">
<button class="inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium leading-5 transition duration-150 ease-in-out focus:outline-none
{{ request()->routeIs('network.*') ? 'border-indigo-400 text-gray-900 dark:text-gray-100' : 'border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300 dark:text-gray-400 dark:hover:text-gray-300' }}">
🌐 Netzwerk
<svg class="ms-1 fill-current h-4 w-4" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20">
<path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd" />
</svg>
</button>
</x-slot>
<x-slot name="content">
<x-dropdown-link :href="route('network.dashboard')">
📊 Dashboard
</x-dropdown-link>
<x-dropdown-link :href="route('network.segments.index')">
🗂️ Segmente
</x-dropdown-link>
<x-dropdown-link :href="route('network.devices')">
💻 Alle Geräte
</x-dropdown-link>
<x-dropdown-link :href="route('network.search')">
🔍 Suche
</x-dropdown-link>
<x-dropdown-link :href="route('network.import')">
⬆️ Scan importieren
</x-dropdown-link>
</x-slot>
</x-dropdown>
{{-- Hilfe-Dropdown --}}
<x-dropdown align="left" width="48">
@@ -133,8 +158,21 @@
@endrole
<div class="pt-2 pb-1 border-t border-gray-200">
<x-responsive-nav-link :href="route('network.index')" :active="request()->routeIs('network.*')">
🌐 Netzwerk
<div class="px-4 py-1 text-xs font-semibold text-gray-400 uppercase tracking-wider">Netzwerk</div>
<x-responsive-nav-link :href="route('network.dashboard')">
&nbsp;&nbsp;📊 Dashboard
</x-responsive-nav-link>
<x-responsive-nav-link :href="route('network.segments.index')">
&nbsp;&nbsp;🗂️ Segmente
</x-responsive-nav-link>
<x-responsive-nav-link :href="route('network.devices')">
&nbsp;&nbsp;💻 Alle Geräte
</x-responsive-nav-link>
<x-responsive-nav-link :href="route('network.search')">
&nbsp;&nbsp;🔍 Suche
</x-responsive-nav-link>
<x-responsive-nav-link :href="route('network.import')">
&nbsp;&nbsp;⬆️ Scan importieren
</x-responsive-nav-link>
</div>