mirror of
https://github.com/perstarkse/minne.git
synced 2026-03-25 02:41:27 +01: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>
|
||||
<details>
|
||||
<summary>Account</summary>
|
||||
<ul class="bg-base-100 rounded-t-none p-2">
|
||||
<li><a hx-boost="true" class="" href="/account">Account</a></li>
|
||||
<ul class="bg-base-100 rounded-t-none p-2 z-50">
|
||||
<li><a hx-boost="true" href="/account">Account</a></li>
|
||||
{% 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 %}
|
||||
<li><a hx-boost="true" href="/signout">Sign out</a></li>
|
||||
</ul>
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
<div class="card shadow mt-4">
|
||||
<div class="card-body">
|
||||
<div class="flex gap-4">
|
||||
<button class="btn btn-primary" hx-get="/ingress-form" hx-swap="outerHTML">Add Content</button>
|
||||
</div>
|
||||
<div class="p-4 shadow mt-4 rounded-box">
|
||||
<div class="flex gap-4">
|
||||
<button class="btn btn-primary" hx-get="/ingress-form" hx-swap="outerHTML">Add Content</button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,13 +1,10 @@
|
||||
<div class="">
|
||||
<!-- <div class="card bg-base-100 shadow-xl"> -->
|
||||
<div class="card-body">
|
||||
<h2 class="card-title">
|
||||
Search your content
|
||||
</h2>
|
||||
<input type="text" placeholder="Search your knowledge base" class="input input-bordered w-full" name="query"
|
||||
hx-get="/search" hx-target="#search-results" />
|
||||
<div id="search-results" class="mt-4">
|
||||
<!-- Results will be populated here by HTMX -->
|
||||
</div>
|
||||
<div class="p-4 shadow rounded-box">
|
||||
<h2>
|
||||
Search your content
|
||||
</h2>
|
||||
<input type="text" placeholder="Search your knowledge base" class="input input-bordered w-full" name="query"
|
||||
hx-get="/search" hx-target="#search-results" />
|
||||
<div id="search-results" class="mt-4">
|
||||
<!-- Results will be populated here by HTMX -->
|
||||
</div>
|
||||
</div>
|
||||
@@ -18,8 +18,8 @@
|
||||
<div class="form-control">
|
||||
<label class="floating-label">
|
||||
<span>Category</span>
|
||||
<input type="text" name="category" class="input input-bordered validator w-full"
|
||||
placeholder="Category for ingress" value="{{ category }}" list="category-list" required />
|
||||
<input type="text" name="category" class="input input-bordered validator w-full" value="{{ category }}"
|
||||
list="category-list" required />
|
||||
<datalist id="category-list">
|
||||
{% for category in user_categories %}
|
||||
<option value="{{ category }}" />
|
||||
|
||||
Reference in New Issue
Block a user