lasthourcloud/resources/views/private-key/all.blade.php

20 lines
685 B
PHP
Raw Normal View History

2023-06-15 07:58:17 +00:00
<x-layout>
<h1>Private Keys</h1>
2023-06-16 10:35:40 +00:00
<div class="pt-2 pb-10 ">All Private Keys</div>
2023-06-15 07:58:17 +00:00
<div class="grid gap-2 lg:grid-cols-2">
@forelse ($privateKeys as $key)
<a class="text-center hover:no-underline box group"
href="{{ route('private-key.show', ['private_key_uuid' => data_get($key, 'uuid')]) }}">
2023-06-15 07:58:17 +00:00
<div class="group-hover:text-white">
<div>{{ $key->name }}</div>
</div>
</a>
@empty
<div>
<div>No private keys found.</div>
<x-use-magic-bar link="/private-key/new"/>
2023-06-15 07:58:17 +00:00
</div>
@endforelse
</div>
</x-layout>