mirror of
https://github.com/wizarrrr/wizarr.git
synced 2026-07-31 15:27:35 -04:00
23 lines
1.1 KiB
HTML
23 lines
1.1 KiB
HTML
<div id="create-api-key-modal"></div>
|
|
<section class="py-8 animate__animated animate__fadeIn">
|
|
<div class="container px-4 mx-auto">
|
|
<div class="flex items-center justify-between mb-6">
|
|
<h1 class="text-2xl font-bold text-gray-900 dark:text-white">{{ _("API Keys") }}</h1>
|
|
<button hx-get="{{ url_for('api_keys.create_api_key') }}"
|
|
hx-target="#create-api-key-modal"
|
|
hx-trigger="click"
|
|
_="on htmx:afterOnLoad wait 10ms then remove .hidden to #modal"
|
|
class="inline-flex items-center px-4 py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2 dark:focus:ring-offset-gray-800">
|
|
<svg class="w-5 h-5 mr-2"
|
|
fill="none"
|
|
stroke="currentColor"
|
|
viewBox="0 0 24 24">
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 6v6m0 0v6m0-6h6m-6 0H6"></path>
|
|
</svg>
|
|
{{ _("Create API Key") }}
|
|
</button>
|
|
</div>
|
|
{% include "partials/api_keys_grid.html" %}
|
|
</div>
|
|
</section>
|