1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
<?python import sitetemplate ?>
3
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://purl.org/kid/ns#" py:extends="sitetemplate">
5
<head py:match="item.tag=='{http://www.w3.org/1999/xhtml}head'" py:attrs="item.items()">
6
<meta content="text/html; charset=UTF-8" http-equiv="content-type" py:replace="''"/>
7
<title py:replace="''">Your title goes here</title>
8
<meta py:replace="item[:]"/>
9
<style type="text/css" media="screen">
10
@import "/static/css/style.css";
13
<!-- define common navbar -->
14
<span py:def="navbar()">
15
<!-- requires: ${revid}, ${buttons} -->
20
<span class="buttons">
21
<span py:for="label, url in buttons">
22
<a href="${url}"> ${label} </a>
25
</td><td align="right">
26
<span class="navbuttons">
27
<span py:for="label, l_revid in history.scan_range(revid)">
28
<a py:if="l_revid" href="${tg.url([ scan_url, l_revid ])}"> ${label} </a>
29
<span py:if="not l_revid"> ${label} </span>
35
<div class="navposition">
39
<td class="navposition" align="right">
40
changes: ${history.get_sequence(revid) + 1} / ${history.count}
50
<body py:match="item.tag=='{http://www.w3.org/1999/xhtml}body'" py:attrs="item.items()">
52
<div py:replace="[item.text]+item[:]"/>
54
<!-- End of main_content -->