coolify/resources/views/security/private-key/index.blade.php

27 lines
963 B
PHP
Raw Normal View History

2023-06-15 09:58:17 +02:00
<x-layout>
2023-09-04 09:44:44 +02:00
<x-security.navbar />
<div class="flex gap-2">
<h2 class="pb-4">Private Keys</h2>
2024-03-21 14:30:35 +01:00
<x-slide-over closeWithX fullScreen>
<x-slot:title>New Private Key</x-slot:title>
<x-slot:content>
<livewire:security.private-key.create />
</x-slot:content>
<button @click="slideOverOpen=true" class="button">+
Add</button>
</x-slide-over>
2023-09-04 09:44:44 +02:00
</div>
2023-06-15 09:58:17 +02:00
<div class="grid gap-2 lg:grid-cols-2">
@forelse ($privateKeys as $key)
2024-01-07 16:23:41 +01:00
<a class="text-center hover:no-underline box group"
2023-09-04 09:44:44 +02:00
href="{{ route('security.private-key.show', ['private_key_uuid' => data_get($key, 'uuid')]) }}">
2023-06-15 09:58:17 +02:00
<div class="group-hover:text-white">
<div>{{ $key->name }}</div>
</div>
</a>
@empty
2024-03-21 14:30:35 +01:00
<div>No private keys found.</div>
2023-06-15 09:58:17 +02:00
@endforelse
</div>
</x-layout>