mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-app.git
synced 2025-12-22 02:00:15 +00:00
🌐 Enhance service management: Add IP address field to forms, views, and database schema
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user