~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/templates/macros.pt

  • Committer: Michael Hudson
  • Date: 2007-12-12 08:36:51 UTC
  • mto: This revision was merged to the branch mainline in revision 143.
  • Revision ID: michael.hudson@canonical.com-20071212083651-oyh34swjxbzceyi1
add a comment for spiv

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
 
          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
 
<html xmlns="http://www.w3.org/1999/xhtml" metal:define-macro="main">
4
 
  <head>
5
 
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
6
 
 
7
 
    <title metal:define-slot="title">
8
 
      Title.
9
 
    </title>
10
 
 
11
 
    <link rel="stylesheet"
12
 
          tal:attributes="href python:tg.url('/static/css/zptstyle.css')" />
13
 
 
14
 
    <metal:block metal:define-slot="header-extras" />
15
 
  </head>
16
 
 
17
 
  <body tal:attributes="onload onload|nothing">
18
 
 
19
 
    <div class="bar" tal:condition="navigation|nothing">
20
 
      <form tal:attributes="action python:branch.url('/changes', start_revid=getattr(navigation, 'start_revid', None), file_id=getattr(navigation, 'file_id', None))">
21
 
        <table>
22
 
          <tr>
23
 
            <td>
24
 
              <span class="buttons">
25
 
                <a tal:attributes="href python:url('/changes', clear=1)"> changes </a>
26
 
                <a tal:attributes="href python:url('/files', clear=1)"> files </a>
27
 
                <span class="search">
28
 
                  search: <input type="text" name="q" />
29
 
                </span>
30
 
              </span>
31
 
            </td>
32
 
            <td align="right" tal:condition="navigation/revid_list|nothing">
33
 
              <span tal:condition="navigation/feed" class="rbuttons feed">
34
 
                <a tal:attributes="href python:url(['/atom'])">
35
 
                  <img tal:attributes="src python:tg.url('/static/images/feed-icon-16x16.gif')" />
36
 
                </a>
37
 
              </span>
38
 
              <span class="navbuttons">
39
 
                <a tal:condition="navigation/prev_page_revid"
40
 
                   tal:attributes="href navigation/prev_page_url"
41
 
                   title="Previous page">
42
 
                  &#171;
43
 
                </a>
44
 
                <tal:arrow condition="not:navigation/prev_page_revid">
45
 
                  &#171;
46
 
                </tal:arrow>
47
 
                revision <tal:b content="python:history.get_revno(revid)" />
48
 
                (<tal:b condition="python:navigation.pagesize > 1">page </tal:b>
49
 
                <tal:b content="navigation/page_position" /> / <tal:b content="navigation/page_count" />)
50
 
                <a tal:condition="navigation/next_page_revid"
51
 
                   tal:attributes="href navigation/next_page_url"
52
 
                   title="Next page">
53
 
                  &#187;
54
 
                </a>
55
 
                <tal:arrow condition="not:navigation/next_page_revid">
56
 
                  &#187;
57
 
                </tal:arrow>
58
 
              </span>
59
 
            </td>
60
 
          </tr>
61
 
        </table>
62
 
      </form>
63
 
    </div>
64
 
 
65
 
    <h1 metal:define-slot="heading">
66
 
      Heading
67
 
    </h1>
68
 
 
69
 
    <div metal:define-slot="content">
70
 
      Content.
71
 
    </div>
72
 
 
73
 
    <div class="footer">
74
 
      <span class="banner">
75
 
        <a href="http://www.bazaar-vcs.org/">
76
 
          <img tal:attributes="src python:tg.url('/static/images/bazaar-banner.png')" />
77
 
        </a>
78
 
      </span>
79
 
      <span class="banner">
80
 
        <a href="http://www.lag.net/loggerhead/">
81
 
          <img tal:attributes="src python:tg.url('/static/images/loggerhead-banner.png')" />
82
 
        </a>
83
 
      </span>
84
 
    </div>
85
 
  </body>
86
 
</html>