wip: plotly & additional documentation

This commit is contained in:
Per Stark
2025-02-04 12:54:55 +01:00
parent 632b30397a
commit a9901acc2b
69 changed files with 618 additions and 156 deletions

View File

@@ -1,6 +1,6 @@
{% block active_jobs_section %}
<ul id="active_jobs_section" class="list ">
<li class="py-4 text-xs opacity-60 tracking-wide">Active Jobs</li>
<li class="py-4 text-center text-xs opacity-60 tracking-wide">Active Jobs</li>
{% for item in active_jobs %}
<li class="list-row">
<div class="bg-secondary rounded-box size-10 flex justify-center items-center text-secondary-content">

View File

@@ -1,6 +1,4 @@
<div class="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>
<a class="btn btn-secondary" href="/knowledge" hx-boost="true">View Knowledge</a>
</div>
<div class="flex gap-4 flex-col">
<a class="btn btn-secondary" href="/knowledge" hx-boost="true">View Knowledge</a>
<button class="btn btn-primary" hx-get="/ingress-form" hx-swap="outerHTML">Add Content</button>
</div>

View File

@@ -1,6 +1,6 @@
{% block latest_content_section %}
<ul id="latest_content_section" class="list">
<li class="py-4 text-xs opacity-60 tracking-wide">Recently added content</li>
<li class="py-4 text-center text-xs opacity-60 tracking-wide">Recently added content</li>
{% for item in latest_text_contents %}
<li class="list-row">
<div class="bg-accent rounded-box size-10 flex justify-center items-center text-accent-content">

View File

@@ -1,10 +1,8 @@
<div class="py-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>
<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>