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 "${tg.url('/static/css/style.css')}";
13
<!-- !define common navbar -->
14
<span py:def="navbar()">
15
<!-- !requires: ${navigation: start_revid, revid, revid_list, pagesize, buttons, scan_url}, ${branch}, ${history} -->
16
<div class="navbar" py:if="navigation is not None">
18
<!-- form must go OUTSIDE the table, or safari will add extra padding :( -->
19
<form action="${branch.url('/changes', start_revid=getattr(navigation, 'start_revid', None), file_id=getattr(navigation, 'file_id', None))}">
22
<span class="buttons">
23
<!-- ! navbar buttons never change, from now on. i decree it! -->
24
<a href="${branch.url('/changes')}"> changes </a>
25
<a href="${branch.url('/files')}"> files </a>
26
<span class="search"> search: <input type="text" name="q" /> </span>
28
</td><td align="right" py:if="hasattr(navigation, 'revid_list')">
29
<span py:if="hasattr(navigation, 'feed')" class="rbuttons feed">
30
<a href="${branch.url('/atom')}"><img src="${tg.url('/static/images/feed-icon-16x16.gif')}" /></a>
32
<span class="navbuttons">
33
<span py:if="navigation.prev_page_revid"> <a href="${navigation.prev_page_url}" title="Previous page"> « </a> </span>
34
<span py:if="not navigation.prev_page_revid"> « </span>
35
revision ${history.get_revno(revid)} (<span py:if="navigation.pagesize > 1">page </span>${navigation.page_position} / ${navigation.page_count})
36
<span py:if="navigation.next_page_revid"> <a href="${navigation.next_page_url}" title="Next page"> » </a> </span>
37
<span py:if="not navigation.next_page_revid"> » </span>
46
<span py:def="revlink(revid, start_revid, file_id, text)">
47
<a title="Show revision ${history.get_revno(revid)}" href="${branch.url([ '/revision', revid ], start_revid=start_revid, file_id=file_id)}" class="revlink"> ${text} </a>
49
<span py:def="revlink_q(revid, start_revid, file_id, query, text)">
50
<a title="Show revision ${history.get_revno(revid)}" href="${branch.url([ '/revision', revid ], start_revid=start_revid, file_id=file_id, q=query)}" class="revlink"> ${text} </a>
55
<body py:match="item.tag=='{http://www.w3.org/1999/xhtml}body'" py:attrs="item.items()">
57
<div py:replace="[item.text]+item[:]"/>
59
<!-- End of main_content -->
62
<span class="banner"><a href="http://www.bazaar-vcs.org/"><img src="${tg.url('/static/images/bazaar-banner.png')}" /></a></span>
63
<span class="banner"><a href="http://www.lag.net/loggerhead/"><img src="${tg.url('/static/images/loggerhead-banner.png')}" /></a></span>