aboutsummaryrefslogtreecommitdiffstats
path: root/templates/minimal.html.tmpl
blob: 21530b187daf6cc0a1ff30e2969eab3c5b795a3a (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<html>
<head><title>{{ name }} Memory Map Documentation</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" >
<style type="text/css">
.error {padding: 15px; background-color: yellow; border: 4px solid orange; color:red;}
table {border: 1px solid black; border-collapse: collapse; border-spacing:2px;}
th, td {border-width: 1px; border-style: inset; border-color: gray; padding: 2px;}
dt {font-weight: bold;}
.code {color: white; background-color: black; border: 3px gray solid; 
    width: 640px; padding: 3px; margin-left: 10px;}
</style>
</head>
<body style="margin: 25px; font-family: helvetica;"> 
<a name="top"><h1 style="border-bottom: 2px solid; margin-bottom: 2px;">
{{ name }} Memory Map Documentation</h1></a>
<i style="font-size:smaller;">
{% for section in sections.keys() %}
<a href="#{{section}}">{{section}}</a> - 
{% endfor %}
Last updated [{{ now }}] by {{ whoami }}
</i><br>
<p>

{% for sec_name, sec_values in sections.iteritems() %}
<a name="{{sec_name}}"><h2>{{ sec_name }}</h2></a>
<table>
  <tr><th>Memory Address</th>
      <th>Bits</th>
      <th>Mode</th>
      <th>Shortname</th>
      <th>What</th></tr>
{% for val in sec_values %}
  <tr><td><pre>{{ val.addr_pp() }}</pre></td>
      <td><pre>{{ val.bits }}</pre></td>
      <td><pre>{{ val.mode }}</pre></td>
      <td>{{ val.slug }}</td>
      <td>{{ val.description }}</td></tr>
{% endfor %}
</table>{% endfor %}

</body></html>