From 2c2a714e0615d6aff3773fabfd3b93e8672a40a1 Mon Sep 17 00:00:00 2001 From: Vasilii Chernov <vchernov@inr.ru> Date: Mon, 22 Feb 2016 12:21:04 +0100 Subject: Add device html server --- pywrap/templates/base.html | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 pywrap/templates/base.html (limited to 'pywrap/templates/base.html') diff --git a/pywrap/templates/base.html b/pywrap/templates/base.html new file mode 100644 index 0000000..e62dbdf --- /dev/null +++ b/pywrap/templates/base.html @@ -0,0 +1,15 @@ +<!doctype html> +<title>{% block title %}Device {{ device }}{% endblock %}</title> +{% block info %} + <h1>Device {{ device }} model={{ model }} control page </h1> +{% endblock %} + +{% block content %} +{% endblock %} + +<ul> + <li><a href="{{ url_for('get_registers_list') }}">Registers list</li> + <li><a href="{{ url_for('get_property_list') }}">Property info</li> + <li><a href="{{ url_for('greet') }}">Main page</li> +</ul> + -- cgit v1.2.3