summaryrefslogtreecommitdiffstats
path: root/pywrap/templates/registers_list.html
blob: 199475b1f2c3488a1685d7b2c7fd59bbd51ad7f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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 %}