mirror of
https://github.com/perstarkse/minne.git
synced 2026-04-25 02:08:30 +02:00
chore: consistent styling
This commit is contained in:
1292
assets/style.css
1292
assets/style.css
File diff suppressed because it is too large
Load Diff
@@ -17,10 +17,10 @@
|
|||||||
<li>
|
<li>
|
||||||
<details>
|
<details>
|
||||||
<summary>Account</summary>
|
<summary>Account</summary>
|
||||||
<ul class="bg-base-100 rounded-t-none p-2">
|
<ul class="bg-base-100 rounded-t-none p-2 z-50">
|
||||||
<li><a hx-boost="true" class="" href="/account">Account</a></li>
|
<li><a hx-boost="true" href="/account">Account</a></li>
|
||||||
{% if user.admin %}
|
{% if user.admin %}
|
||||||
<li><a hx-boost="true" class="" href="/admin">Admin</a></li>
|
<li><a hx-boost="true" href="/admin">Admin</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<li><a hx-boost="true" href="/signout">Sign out</a></li>
|
<li><a hx-boost="true" href="/signout">Sign out</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
<div class="card shadow mt-4">
|
<div class="p-4 shadow mt-4 rounded-box">
|
||||||
<div class="card-body">
|
<div class="flex gap-4">
|
||||||
<div class="flex gap-4">
|
<button class="btn btn-primary" hx-get="/ingress-form" hx-swap="outerHTML">Add Content</button>
|
||||||
<button class="btn btn-primary" hx-get="/ingress-form" hx-swap="outerHTML">Add Content</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -1,13 +1,10 @@
|
|||||||
<div class="">
|
<div class="p-4 shadow rounded-box">
|
||||||
<!-- <div class="card bg-base-100 shadow-xl"> -->
|
<h2>
|
||||||
<div class="card-body">
|
Search your content
|
||||||
<h2 class="card-title">
|
</h2>
|
||||||
Search your content
|
<input type="text" placeholder="Search your knowledge base" class="input input-bordered w-full" name="query"
|
||||||
</h2>
|
hx-get="/search" hx-target="#search-results" />
|
||||||
<input type="text" placeholder="Search your knowledge base" class="input input-bordered w-full" name="query"
|
<div id="search-results" class="mt-4">
|
||||||
hx-get="/search" hx-target="#search-results" />
|
<!-- Results will be populated here by HTMX -->
|
||||||
<div id="search-results" class="mt-4">
|
|
||||||
<!-- Results will be populated here by HTMX -->
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -18,8 +18,8 @@
|
|||||||
<div class="form-control">
|
<div class="form-control">
|
||||||
<label class="floating-label">
|
<label class="floating-label">
|
||||||
<span>Category</span>
|
<span>Category</span>
|
||||||
<input type="text" name="category" class="input input-bordered validator w-full"
|
<input type="text" name="category" class="input input-bordered validator w-full" value="{{ category }}"
|
||||||
placeholder="Category for ingress" value="{{ category }}" list="category-list" required />
|
list="category-list" required />
|
||||||
<datalist id="category-list">
|
<datalist id="category-list">
|
||||||
{% for category in user_categories %}
|
{% for category in user_categories %}
|
||||||
<option value="{{ category }}" />
|
<option value="{{ category }}" />
|
||||||
|
|||||||
Reference in New Issue
Block a user