Clean up style elements

This commit is contained in:
2025-06-19 06:43:36 +02:00
parent cad9849019
commit 23d354bc12
9 changed files with 13 additions and 27 deletions

View File

@ -11,10 +11,6 @@
</head>
<body class="bg-gray-50 text-gray-900 min-h-screen flex flex-col">
<!-- Optional: Shoelace modals, toasts -->
<sl-alert id="global-alert" variant="primary" duration="4000" closable></sl-alert>
<sl-dialog id="global-dialog" label="Dialog"></sl-dialog>
<!-- Layout Container -->
<div class="flex flex-1 h-full overflow-hidden">

View File

@ -15,18 +15,9 @@
</button>
<!-- Page title or logo -->
<a href="/" class="flex ml-2 md:mr-24">
<img
src="{{ url_for('static', path='logo.svg') }}"
class="h-11 mr-3"
alt="Sshecret Logo"
/>
<span
class="self-center text-xl font-semibold sm:text-2xl whitespace-nowrap dark:text-white"
>Sshecret</span
>
</a>
{% if page_title %}
<h1 class="text-xl flex ml-2 md:mr-24 font-semibold text-gray-900 sm:text-2xl dark:text-white">{{page_title}}</h1>
{% endif %}
</div>
<!-- Right: User menu -->

View File

@ -4,7 +4,8 @@
<div class="px-4 py-6">
<a href="/" class="text-xl font-semibold text-gray-800">
🐚 Sshecret
<sl-icon src="{{ url_for('static', path='logo.svg') }}"></sl-icon>
Sshecret
</a>
</div>

View File

@ -2,8 +2,6 @@
<div class="flowbite-init-target">
<div class="tree-header grid grid-cols-2 place-content-between mb-6">
<h1 class="text-xl font-semibold text-gray-900 sm:text-2xl dark:text-white">Clients</h1>
<div class="flex">
<div
class="htmx-indicator mt-2"

View File

@ -1,4 +1,4 @@
{% extends "/shared/_base.html" %} {% block content %} {% if login_error %}
{% extends "/base/bare.html.j2" %} {% block content %} {% if login_error %}
<div class="flex bg-gray-100">
<div
@ -88,7 +88,5 @@
</a>
</div>
</div>
{% endif %}
{% endblock %}
{% endif %} {% endblock %}
</div>

View File

@ -55,9 +55,6 @@
{% block master %}
<div class="flowbite-init-target">
<div class="tree-header grid grid-cols-2 place-content-between mb-6">
<h1 class="text-xl font-semibold text-gray-900 sm:text-2xl dark:text-white">Secrets</h1>
</div>
<div id="secret-tree">
<sl-tree class="tree-with-icons">
<sl-tree-item