diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2016-02-26 02:14:55 +0100 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2016-02-26 02:14:55 +0100 |
commit | 30d740cc6accc3bd477e6bc924d5b74dad71ee6d (patch) | |
tree | 2e197791d23958258b34a3bc53cc5b0584ac7060 /pywrap/templates/registers_list.html | |
parent | 3ea1907f3169e0233d3a32a7d470af3c34b6f967 (diff) | |
parent | ed7a7ff66c64cc2e164070865306e7d79652063a (diff) | |
download | pcitool-30d740cc6accc3bd477e6bc924d5b74dad71ee6d.tar.gz pcitool-30d740cc6accc3bd477e6bc924d5b74dad71ee6d.tar.bz2 pcitool-30d740cc6accc3bd477e6bc924d5b74dad71ee6d.tar.xz pcitool-30d740cc6accc3bd477e6bc924d5b74dad71ee6d.zip |
Merge of further work on Python scripting from Vasiliy Chernov
Diffstat (limited to 'pywrap/templates/registers_list.html')
-rw-r--r-- | pywrap/templates/registers_list.html | 26 |
1 files changed, 26 insertions, 0 deletions
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 %} +<h1>List of aviable registers</h1> +{% endblock %} + +{% block content %} +<table border="1" style="width:100%"> + <tr> + <th>Name</th> + <th>Description</th> + </tr> +{% for register in registers %} + <tr> + <td><a href="{{ url_for('get_register_info', bank=register.bank, name=register.name) }}">{{ register.name }}</td> + {% if 'description' in register %} + <td>{{ register.description }}</td> + {% else %} + <td></td> + {% endif %} + </tr> +{% endfor %} +</table> +{% endblock %} + + |