Updated forms. Added scrapers. Updated edit page for scrapers. Made new wishlist look better and added warning to save uuids somewhere safe. Updated nix flake.
This commit is contained in:
parent
1f269afce5
commit
13d63245ed
14 changed files with 367 additions and 109 deletions
|
|
@ -1,11 +1,20 @@
|
|||
<form action="{{ url_for("new") }}" method="POST">
|
||||
{{ form.hidden_tag() }}
|
||||
{% include 'header.html' %}
|
||||
|
||||
{{ form.title.label }}
|
||||
{{ form.title() }}
|
||||
<main class="w-full h-screen flex justify-center items-end md:items-center">
|
||||
<form action="{{ url_for("new") }}" method="POST" class="border-2 border-base-300 w-full md:w-md p-6 m-4 rounded-lg shadow-lg bg-base-100">
|
||||
{{ form.hidden_tag() }}
|
||||
|
||||
{{ form.description.label }}
|
||||
{{ form.description() }}
|
||||
<h1 class="text-3xl font-semibold text-center text-info-content mb-4">New wishlist</h1>
|
||||
|
||||
{{ form.submit() }}
|
||||
</form>
|
||||
<legend class="fieldset-legend">{{ form.title.label.text }}</legend>
|
||||
{{ form.title(class="w-full input validator mt-1 mb-4", placeholder="Wishlist Title") }}
|
||||
|
||||
<legend class="fieldset-legend">{{ form.description.label.text }}</legend>
|
||||
{{ form.description(class="w-full textarea validator mt-1 mb-2", placeholder="Wishlist Description") }}
|
||||
<div class="validator-hint">Please make sure that both inputs are filled.</div>
|
||||
|
||||
{{ form.submit(class="btn btn-soft w-full") }}
|
||||
</form>
|
||||
</main>
|
||||
|
||||
{% include 'footer.html' %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue