fix: elysia issues 2

This commit is contained in:
2026-03-19 10:06:14 +04:00
parent 03fe13e707
commit d8d1952304
3 changed files with 10 additions and 5 deletions
+2 -3
View File
@@ -141,13 +141,12 @@
<h2 class="text-sm font-semibold text-gray-300">Sub-Keys</h2>
<p class="text-xs text-gray-600 mt-0.5">Create separate keys for different apps, scripts, or teammates.</p>
</div>
<button onclick="document.getElementById('create-key-form').classList.toggle('hidden')" class="px-3 py-1.5 bg-blue-600 hover:bg-blue-500 text-white rounded-lg text-xs font-medium transition-colors">+ New Sub-Key</button>
</div>
<!-- Create key form -->
<form id="create-key-form" action="/account/keys" method="POST" class="hidden mb-4 p-4 bg-gray-800/50 rounded-lg border border-gray-700">
<form action="/account/keys" method="POST" class="mb-4 p-4 bg-gray-800/50 rounded-lg border border-gray-700">
<input type="hidden" name="_form" value="1">
<label class="block text-xs text-gray-500 mb-1.5">Label</label>
<label class="block text-xs text-gray-500 mb-1.5">New Sub-Key</label>
<div class="flex gap-2">
<input name="label" type="text" placeholder="e.g. ci-pipeline, mobile-app" required
class="flex-1 bg-gray-800 border border-gray-700 rounded-lg px-3 py-2 text-gray-100 placeholder-gray-600 focus:outline-none focus:border-blue-500 text-sm">