From 3bf5383a7ea03c5aa263aa4d8acf8b4949547319 Mon Sep 17 00:00:00 2001 From: Vasilii Chernov Date: Thu, 25 Feb 2016 17:02:35 +0100 Subject: Move html_server to separate folder. Update html server templates. --- html_server/templates/register_info.html | 148 +++++++++++++++++++++++++++++++ 1 file changed, 148 insertions(+) create mode 100644 html_server/templates/register_info.html (limited to 'html_server/templates/register_info.html') diff --git a/html_server/templates/register_info.html b/html_server/templates/register_info.html new file mode 100644 index 0000000..1118dbf --- /dev/null +++ b/html_server/templates/register_info.html @@ -0,0 +1,148 @@ +{% block content %} + +{% if standalone %} + + +{% endif %} + + + + + + {% if 'description' in register %} + + {% endif %} + + + + + {% if 'range' in register %} + + {% endif %} + {% if 'values' in register %} + + {% endif %} + + + + {% if 'description' in register %} + + {% endif %} + + + + + {% if 'range' in register %} + + {% endif %} + {% if 'values' in register %} + + {% endif %} + +
Description Value Default valueBankModeRangeValues
{{ register.description }} + + + + {% if 'R' in register.mode %} + + {% endif %} + + {% if 'W' in register.mode %} + + + + + {% endif %} +
{{ value }} + +
+ + + +
+
{{ register.defvalue }}{{ register.bank }} +
    + {% for m in register.mode %} + {{ m + '; '}} + {% endfor %} +
+
+ + + + + + + + + +
min max
{{ register.range.min }} {{ register.range.max }}
+
+ + + {% for v in register['values'] %} + + {% endfor %} + +
+ + {% if 'name' in v %} + + + + + {% endif %} + {% if 'description' in v %} + + + + + {% endif %} + + + + + + + + + + + + +
Name {{v.name}}
Description {{ v.description }}
Min {{ v.min }}
Max {{ v.max }}
Value {{ v.value }}
+
+
+{% endblock %} -- cgit v1.2.3