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

23 lines
841 B
PHP
Raw Normal View History

2023-06-15 07:58:17 +00:00
<x-layout>
2023-09-04 07:44:44 +00:00
<x-security.navbar />
<div class="flex gap-2">
<h2 class="pb-4">Private Keys</h2>
<a href="{{ route('security.private-key.new') }}"><x-forms.button>+ Add</x-forms.button></a>
</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"
2023-09-04 07:44:44 +00:00
href="{{ route('security.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>
2023-09-04 07:44:44 +00:00
<x-use-magic-bar link="/security/private-key/new" />
2023-06-15 07:58:17 +00:00
</div>
@endforelse
</div>
</x-layout>