From caa0e1db19c0616031f7879d4298ed152b05f557 Mon Sep 17 00:00:00 2001 From: Marius Peter Date: Sun, 1 May 2022 21:38:59 +0200 Subject: Jinja2 templates. --- app/templates/modules/products.html | 51 +++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 app/templates/modules/products.html (limited to 'app/templates/modules/products.html') diff --git a/app/templates/modules/products.html b/app/templates/modules/products.html new file mode 100644 index 0000000..97b692a --- /dev/null +++ b/app/templates/modules/products.html @@ -0,0 +1,51 @@ +{# -*- mode: web; -*- #} + +{% extends "base.html" %} +{% block title %} +Products +{% endblock %} + +{% block content %} + + +
+ Add product +
+ +Track products you sell here. + + + + + + + + + + + + + {% for product in products %} + + + + + + + {% if product.date_time_updated %} + + {% else %} + + {% endif %} + + + {% endfor %} + +
ActionsNamePrice (net)Price (gross)Updated
+ + +
+ +
+
{{ product.name }}{{ product.price_net }}{{ product.price_gross }}{{ product.date_time_updated }}{{ product.date_time_created }}
+{% endblock %} -- cgit v1.2.3