summaryrefslogtreecommitdiffstats
path: root/pywrap/templates/base.html
diff options
context:
space:
mode:
authorVasilii Chernov <vchernov@inr.ru>2016-02-22 12:21:04 +0100
committerVasilii Chernov <vchernov@inr.ru>2016-02-22 12:21:04 +0100
commit2c2a714e0615d6aff3773fabfd3b93e8672a40a1 (patch)
treee482ce7d9c6de21dac5999fb2af2cab30208ec32 /pywrap/templates/base.html
parentb16fd97ffcaf9e7bd3fd52e505adbed2ffd0c768 (diff)
downloadpcitool-2c2a714e0615d6aff3773fabfd3b93e8672a40a1.tar.gz
pcitool-2c2a714e0615d6aff3773fabfd3b93e8672a40a1.tar.bz2
pcitool-2c2a714e0615d6aff3773fabfd3b93e8672a40a1.tar.xz
pcitool-2c2a714e0615d6aff3773fabfd3b93e8672a40a1.zip
Add device html server
Diffstat (limited to 'pywrap/templates/base.html')
-rw-r--r--pywrap/templates/base.html15
1 files changed, 15 insertions, 0 deletions
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>
+