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/customers.html | 43 ++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 app/templates/modules/customers.html (limited to 'app/templates/modules/customers.html') diff --git a/app/templates/modules/customers.html b/app/templates/modules/customers.html new file mode 100644 index 0000000..c693097 --- /dev/null +++ b/app/templates/modules/customers.html @@ -0,0 +1,43 @@ +{# -*- mode: web; -*- #} + +{% extends "base.html" %} +{% block title %} +Customers +{% endblock %} + +{% block content %} +
+ Add customer +
+ + + + + + + + + + + + + {% for customer in customers %} + + + {% if customer.website %} + + {% else %} + + {% endif %} + + + {% if customer.email %} + + {% else %} + + {% endif %} + + {% endfor %} + +
NameCityPhoneE-mail
{{ customer.name }}{{ customer.name }}{{ customer.city }}{{ customer.phone }}{{ customer.email }}
+{% endblock %} -- cgit v1.2.3