Created base template. Updated forms. Added navbar. Added better scraping support for edit page.
This commit is contained in:
parent
13d63245ed
commit
89118c6d1d
11 changed files with 208 additions and 144 deletions
|
|
@ -1,6 +1,8 @@
|
|||
{% include 'header.html' %}
|
||||
{% extends "base.html" %}
|
||||
|
||||
<main class="w-full h-screen flex justify-center items-end md:items-center">
|
||||
{% block content %}
|
||||
|
||||
<main class="w-full flex-grow 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() }}
|
||||
|
||||
|
|
@ -13,8 +15,8 @@
|
|||
{{ 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.submit(class="btn btn-soft btn-success w-full") }}
|
||||
</form>
|
||||
</main>
|
||||
|
||||
{% include 'footer.html' %}
|
||||
{% endblock content %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue