Add TUI publish feature and fix web UI dropdown
- Add Publish button to TUI for publishing tools directly from the graphical interface without using the command line - Fix user dropdown menu in web UI header that stayed open after clicking (replaced Alpine.js directives with vanilla JS) - Update test to use correct registry URL (cmdforge.brrd.tech) Co-Authored-By: Claude Opus 4.5 <[email protected]>
This commit is contained in:
@@ -60,17 +60,16 @@
|
||||
|
||||
<!-- Auth links -->
|
||||
{% if session.get('user') %}
|
||||
<div class="relative" x-data="{ open: false }">
|
||||
<button @click="open = !open"
|
||||
<div class="relative" id="user-dropdown-container">
|
||||
<button onclick="toggleUserDropdown(event)"
|
||||
class="flex items-center space-x-2 px-3 py-2 rounded-md hover:bg-slate-700 transition-colors">
|
||||
<span class="text-sm font-medium">{{ session.user.display_name }}</span>
|
||||
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 9l-7 7-7-7"/>
|
||||
</svg>
|
||||
</button>
|
||||
<div x-show="open"
|
||||
@click.away="open = false"
|
||||
class="absolute right-0 mt-2 w-48 bg-white rounded-md shadow-lg py-1 z-50">
|
||||
<div id="user-dropdown"
|
||||
class="hidden absolute right-0 mt-2 w-48 bg-white rounded-md shadow-lg py-1 z-50">
|
||||
<a href="{{ url_for('web.dashboard') }}" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Dashboard</a>
|
||||
<a href="{{ url_for('web.dashboard_settings') }}" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Settings</a>
|
||||
<hr class="my-1">
|
||||
|
||||
Reference in New Issue
Block a user