lasthourcloud/resources/views/security/private-key/index.blade.php
2024-04-29 11:06:06 +02:00

27 lines
932 B
PHP

<x-layout>
<x-security.navbar />
<div class="flex gap-2">
<h2 class="pb-4">Private Keys</h2>
<x-modal-input buttonTitle="+ Add" title="New Private Key">
<livewire:security.private-key.create />
</x-modal-input>
</div>
<div class="grid gap-2 lg:grid-cols-2">
@forelse ($privateKeys as $key)
<a class="box"
href="{{ route('security.private-key.show', ['private_key_uuid' => data_get($key, 'uuid')]) }}">
<div class="flex flex-col mx-6">
<div class="box-title">
{{ data_get($key, 'name') }}
</div>
<div class="box-description">
{{ $key->description }}
</div>
</div>
</a>
@empty
<div>No private keys found.</div>
@endforelse
</div>
</x-layout>