From 2c2a714e0615d6aff3773fabfd3b93e8672a40a1 Mon Sep 17 00:00:00 2001 From: Vasilii Chernov Date: Mon, 22 Feb 2016 12:21:04 +0100 Subject: Add device html server --- pywrap/templates/registers_list.html | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 pywrap/templates/registers_list.html (limited to 'pywrap/templates/registers_list.html') diff --git a/pywrap/templates/registers_list.html b/pywrap/templates/registers_list.html new file mode 100644 index 0000000..199475b --- /dev/null +++ b/pywrap/templates/registers_list.html @@ -0,0 +1,26 @@ +{% extends "base.html" %} +{% block title %}Registers list{% endblock %} +{% block info %} +

List of aviable registers

+{% endblock %} + +{% block content %} + + + + + +{% for register in registers %} + + + {% if 'description' in register %} + + {% else %} + + {% endif %} + +{% endfor %} +
NameDescription
{{ register.name }}{{ register.description }}
+{% endblock %} + + -- cgit v1.2.3