🌐 Enhance service management: Add IP address field to forms, views, and database schema

This commit is contained in:
HolgerHatGarKeineNode
2025-12-07 06:04:52 +01:00
parent eb7d792f1c
commit 980b833e80
5 changed files with 64 additions and 2 deletions

View File

@@ -142,6 +142,19 @@ class extends Component {
</flux:link>
</flux:tooltip>
@endif
@if($service->ip)
<div class="flex items-center gap-2">
<span class="font-mono text-sm text-gray-700 dark:text-gray-300">
<flux:icon.server variant="mini" class="inline"/>
{{ $service->ip }}
</span>
<div x-copy-to-clipboard="'{{ $service->ip }}'">
<flux:button icon="clipboard" size="xs" variant="ghost" class="cursor-pointer">
{{ __('Copy') }}
</flux:button>
</div>
</div>
@endif
</div>
</flux:table.cell>