nimuli/resources/views/livewire/modals/revoke-api-token.blade.php

27 lines
1.2 KiB
PHP

<div class="p-6">
<div class="flex items-start gap-4">
<div class="w-10 h-10 rounded-full bg-red/10 flex items-center justify-center flex-shrink-0">
<svg class="w-5 h-5 text-red" fill="none" viewBox="0 0 20 20" stroke="currentColor" stroke-width="1.5">
<path stroke-linecap="round" stroke-linejoin="round" d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zM7 9h6m-3-3v6"/>
</svg>
</div>
<div class="flex-1 min-w-0">
<h3 class="text-base font-semibold text-t1">Revoke Token</h3>
<p class="mt-1.5 text-sm text-t2">
Revoke <span class="text-t1 font-medium">{{ $tokenName }}</span>? Any integrations using this token will stop working immediately.
</p>
</div>
</div>
<div class="flex gap-3 mt-6 justify-end">
<button wire:click="closeModal"
class="px-4 py-2 bg-s2 text-t2 text-sm font-medium rounded-lg hover:text-t1 transition-colors border border-white/[.06]">
Cancel
</button>
<button wire:click="revoke"
class="px-4 py-2 bg-red text-white text-sm font-medium rounded-lg hover:opacity-90 transition-opacity">
Revoke
</button>
</div>
</div>