mirror of
https://github.com/perstarkse/minne.git
synced 2026-05-28 18:39:33 +02:00
feat: consistent styling index page
This commit is contained in:
+1
-1
File diff suppressed because one or more lines are too long
@@ -18,7 +18,7 @@
|
|||||||
<div class="form-control">
|
<div class="form-control">
|
||||||
<label class="floating-label">
|
<label class="floating-label">
|
||||||
<span>Email</span>
|
<span>Email</span>
|
||||||
<input type="email" placeholder="Email" required class="input input-md w-full validator" />
|
<input type="email" placeholder="Email" name="email" required class="input input-md w-full validator" />
|
||||||
<div class="validator-hint hidden">Enter valid email address</div>
|
<div class="validator-hint hidden">Enter valid email address</div>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
@@ -26,8 +26,8 @@
|
|||||||
<div class="form-control mt-4">
|
<div class="form-control mt-4">
|
||||||
<label class="floating-label">
|
<label class="floating-label">
|
||||||
<span>Password</span>
|
<span>Password</span>
|
||||||
<input type="password" class="input validator w-full" required placeholder="Password" minlength="8"
|
<input type="password" name="password" class="input validator w-full" required placeholder="Password"
|
||||||
pattern="(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}"
|
minlength="8" pattern="(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}"
|
||||||
title="Must be more than 8 characters, including number, lowercase letter, uppercase letter" />
|
title="Must be more than 8 characters, including number, lowercase letter, uppercase letter" />
|
||||||
<p class="validator-hint hidden">
|
<p class="validator-hint hidden">
|
||||||
Must be more than 8 characters, including
|
Must be more than 8 characters, including
|
||||||
@@ -37,13 +37,12 @@
|
|||||||
</p>
|
</p>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="mt-4" id="signup-result"></div>
|
<div class="mt-2 text-error" id="signup-result"></div>
|
||||||
<div class="form-control mt-6">
|
<div class="form-control mt-6">
|
||||||
<button id="submit-btn" class="btn btn-primary w-full">
|
<button id="submit-btn" class="btn btn-primary w-full">
|
||||||
Create Account
|
Create Account
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<div class="divider">OR</div>
|
<div class="divider">OR</div>
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<div class="container mx-auto p-4 max-w-(--breakpoint-lg) flex-col flex justify-center gap-6">
|
<div class="flex justify-center grow mt-2 sm:mt-4 gap-6">
|
||||||
|
<div class="container">
|
||||||
<!-- Search Bar -->
|
<!-- Search Bar -->
|
||||||
<div class="form-control w-full mx-auto mt-8">
|
<div class="form-control w-full mx-auto mt-8">
|
||||||
<h1 class="textl-lg text-center pb-5">So here you can search all your ingressed documents</h1>
|
<h1 class="textl-lg text-center pb-5">So here you can search all your ingressed documents</h1>
|
||||||
@@ -26,4 +27,5 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -1,8 +1,9 @@
|
|||||||
{% extends "body_base.html" %}
|
{% extends "body_base.html" %}
|
||||||
{% block main %}
|
{% block main %}
|
||||||
<div class="container px-4 max-w-(--breakpoint-lg)">
|
<div class="flex justify-center grow mt-2 sm:mt-4">
|
||||||
<form class="space-y-2" hx-post="/ingress" enctype="multipart/form-data">
|
<div class="container">
|
||||||
<h1 class="text-2xl">Add content to the database </h1>
|
<h1 class="text-2xl">Add content to the database </h1>
|
||||||
|
<form class="space-y-2" hx-post="/ingress" enctype="multipart/form-data">
|
||||||
<label class="label label-text">Instructions</label>
|
<label class="label label-text">Instructions</label>
|
||||||
<textarea name="instructions" class="textarea w-full input-bordered"
|
<textarea name="instructions" class="textarea w-full input-bordered"
|
||||||
placeholder="Enter instructions for the AI here, help it understand what its seeing or how it should relate to the database"></textarea>
|
placeholder="Enter instructions for the AI here, help it understand what its seeing or how it should relate to the database"></textarea>
|
||||||
@@ -16,5 +17,6 @@
|
|||||||
<button type="submit" class="btn btn-primary">Submit</button>
|
<button type="submit" class="btn btn-primary">Submit</button>
|
||||||
</form>
|
</form>
|
||||||
<div id="ingress-result"></div>
|
<div id="ingress-result"></div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
Reference in New Issue
Block a user