~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/templates/master.kid

  • Committer: Jasper St. Pierre
  • Date: 2011-04-22 18:18:02 UTC
  • mto: This revision was merged to the branch mainline in revision 448.
  • Revision ID: jstpierre@mecheye.net-20110422181802-7y2yambz9iscfa17
Make breadcrumbs consistent

Show diffs side-by-side

added added

removed removed

Lines of Context:
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">
4
 
 
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";
11
 
    </style>
12
 
 
13
 
<!-- !define common navbar -->
14
 
<span py:def="navbar()">
15
 
    <!-- !requires: ${navigation: start_revid, revid, revlist, pagesize, buttons, scan_url}, ${history} -->
16
 
    <div class="navbar">
17
 
        <div class="bar">
18
 
            <table>
19
 
                <tr><td>
20
 
                    <span class="buttons">
21
 
                        <!-- ! navbar buttons never change, from now on.  i decree it! -->
22
 
                        <a href="${tg.url('/changes')}"> changes </a>
23
 
                        <a href="${tg.url('/files')}"> files </a>
24
 
                    </span>
25
 
                </td><td align="right" py:if="hasattr(navigation, 'revlist')">
26
 
                    <span py:if="hasattr(navigation, 'feed')" class="rbuttons feed">
27
 
                        <a href="${tg.url('/atom')}"><img src="/static/images/feed-icon-16x16.gif" /></a>
28
 
                    </span>
29
 
                    <span class="navbuttons">
30
 
                        <span py:if="navigation.prev_page_revid"> <a href="${navigation.prev_page_url}" title="Previous page"> &#171; </a>      </span>
31
 
                        <span py:if="not navigation.prev_page_revid"> &#171; </span>
32
 
                                revision ${history.get_revno(revid)} (<span py:if="navigation.pagesize > 1">page </span>${navigation.page_position} / ${navigation.page_count})
33
 
                        <span py:if="navigation.next_page_revid"> <a href="${navigation.next_page_url}" title="Next page"> &#187; </a>  </span>
34
 
                        <span py:if="not navigation.next_page_revid"> &#187; </span>
35
 
                    </span>
36
 
                </td></tr>
37
 
            </table>
38
 
        </div>
39
 
    </div>
40
 
</span>
41
 
 
42
 
<span py:def="revlink(revid, text)">
43
 
    <a title="Show revision" href="${tg.url([ '/revision', revid ])}" class="revlink"> ${text} </a>
44
 
</span>
45
 
<span py:def="revlink_path(revid, start_revid, text, path)">
46
 
    <a title="Show revision" href="${tg.url([ '/revision', revid ], start_revid=start_revid, path=path)}" class="revlink"> ${text} </a>
47
 
</span>
48
 
 
49
 
</head>
50
 
 
51
 
<body py:match="item.tag=='{http://www.w3.org/1999/xhtml}body'" py:attrs="item.items()">
52
 
 
53
 
    <div py:replace="[item.text]+item[:]"/>
54
 
 
55
 
        <!-- End of main_content -->
56
 
</body>
57
 
 
58
 
</html>