- added stylesheet entries for tables/forms, small changes to templates

This commit is contained in:
Bernhard Stampfer
2016-02-20 18:32:33 +01:00
parent c51340fa6e
commit 2ad94b8753
9 changed files with 89 additions and 28 deletions

View File

@@ -1,7 +1,7 @@
{% extends "base.html"%}
{% set title = "Produkt hinzufügen" %}
{% block content %}
<h1> Produkt hinzufügen</h1>
<h1>Konsumat hinzufügen</h1>
{% if error %}
<p>Fehler: {{ error }}</p>
{% endif %}
@@ -10,8 +10,8 @@
{% endif %}
<p> TODO: many </p>
<form name="user" method="post" action="/manage_beverages/add">
Produktname:<input type="text" name="name" required><br>
Preis:<input type="number" name="price" step="any" required value="0.0" /><br>
Produktname:<br><input type="text" name="name" required><br>
Preis:<br><input type="number" name="price" step="any" required value="0.0" /><br>
Angezeigt: <input type="checkbox" name="isshown" checked /><br>
<input type="submit" value="Hinzufügen">
</form>