add private key description

This commit is contained in:
Andras Bacsai
2024-04-29 11:06:06 +02:00
parent bbbeacee4d
commit 360f5db2cf
2 changed files with 9 additions and 4 deletions

View File

@@ -8,10 +8,15 @@
</div>
<div class="grid gap-2 lg:grid-cols-2">
@forelse ($privateKeys as $key)
<a class="text-center hover:no-underline box group"
<a class="box"
href="{{ route('security.private-key.show', ['private_key_uuid' => data_get($key, 'uuid')]) }}">
<div class="group-hover:dark:text-white">
<div>{{ $key->name }}</div>
<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