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/logger.html | 136 +++++++++++++++++++++++++++++++++++++- 1 file changed, 135 insertions(+), 1 deletion(-) (limited to 'app/templates/modules/logger.html') diff --git a/app/templates/modules/logger.html b/app/templates/modules/logger.html index 7ba93b3..f3321e9 100644 --- a/app/templates/modules/logger.html +++ b/app/templates/modules/logger.html @@ -1,8 +1,142 @@ +{# -*- mode: web; -*- #} + {% extends "base.html" %} + {% block title %} Logger {% endblock %} {% block content %} -insert module content here. + + +
+ Add log +
+ +Track operating logs. + +

Most recent target

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ActionsIDTypeUpdatedNNO3PKCaMgSNaClFeZnBMnCuMoSiNNH4
+ + +
+ +
+
{{ target.primary_key }}Target{{ target.date_time_updated }}{{ target.nno3 }}{{ target.p }}{{ target.k }}{{ target.ca }}{{ target.mg }}{{ target.s }}{{ target.na }}{{ target.cl }}{{ target.fe }}{{ target.zn }}{{ target.b }}{{ target.mn }}{{ target.cu }}{{ target.mo }}{{ target.si }}{{ target.nnh4 }}
+ +

Logs

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + {% for log in logs %} + + + + + {% if log.target == "True" %} + + {% else %} + + {% endif %} + + + + + + + + + + + + + + + + + + + {% endfor %} + +
ActionsIDTypeUpdatedNNO3PKCaMgSNaClFeZnBMnCuMoSiNNH4
+ + +
+ +
+
{{ log.primary_key }}TargetLog{{ log.date_time_updated }}{{ log.nno3 }}{{ log.p }}{{ log.k }}{{ log.ca }}{{ log.mg }}{{ log.s }}{{ log.na }}{{ log.cl }}{{ log.fe }}{{ log.zn }}{{ log.b }}{{ log.mn }}{{ log.cu }}{{ log.mo }}{{ log.si }}{{ log.nnh4 }}
{% endblock %} -- cgit v1.2.3