~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/templates/macros.pt

  • Committer: Michael Hudson
  • Date: 2008-07-28 05:26:13 UTC
  • mfrom: (128.13.91 new_theme_trunk)
  • Revision ID: michael.hudson@canonical.com-20080728052613-35uxs2xz28dsqdgz
merge the new theme created by Martin Albisetti
(this work sponsored by Canonical)

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
  <head>
5
5
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
6
6
 
7
 
    <title metal:define-slot="title">
8
 
      Title.
9
 
    </title>
10
 
 
 
7
    <title metal:define-slot="title"></title>
11
8
    <link rel="stylesheet"
12
 
          tal:attributes="href python:branch.static_url('/static/css/zptstyle.css')" />
13
 
 
14
 
    <script type="text/javascript"
15
 
            tal:attributes="src python:branch.static_url('/static/javascript/mootools.js')">
16
 
    </script>
17
 
    <script type="text/javascript"
18
 
            tal:attributes="src python:branch.static_url('/static/javascript/custom.js')">
19
 
    </script>
20
 
    <metal:block metal:define-slot="header_extras" />
21
 
  </head>
22
 
 
23
 
  <body tal:attributes="onload onload|nothing">
 
9
          tal:attributes="href python:branch.static_url('/static/css/global.css')" />
 
10
    <script type="text/javascript"
 
11
            tal:attributes="src python:branch.static_url('/static/javascript/mootools-1.2-core.js')"></script>
 
12
    <script type="text/javascript"
 
13
            tal:attributes="src python:branch.static_url('/static/javascript/mootools-1.2-more.js')"></script>
 
14
    <script type="text/javascript"
 
15
            tal:attributes="src python:branch.static_url('/static/javascript/custom.js')"></script>
24
16
      <script language="javascript">
25
17
          var global_path = <tal:block content="python:'\''+branch.url('/')+'\''" />;
26
18
      </script>
27
 
    <div class="bar" tal:condition="navigation|nothing">
28
 
      <form tal:attributes="action python:branch.url('/changes', start_revid=getattr(navigation, 'start_revid', None), file_id=getattr(navigation, 'file_id', None))">
29
 
        <table>
30
 
          <tr>
31
 
            <td>
32
 
              <span class="buttons">
33
 
                <a tal:attributes="href python:url('/changes', clear=1)"> changes </a>
34
 
                <a tal:attributes="href python:url('/files', clear=1)"> files </a>
35
 
                <span class="search">
36
 
                    search: <input type="text" name="q" id="q" autocomplete="off" onblur="hide_search();" />
37
 
                </span>
38
 
              </span>
39
 
            </td>
40
 
            <td align="right" tal:condition="navigation/revid_list|nothing">
41
 
              <span tal:condition="navigation/feed" class="rbuttons feed">
42
 
                <a tal:attributes="href python:url(['/atom'])">
43
 
                  <img tal:attributes="src python:branch.static_url('/static/images/feed-icon-16x16.gif')" />
44
 
                </a>
45
 
              </span>
46
 
              <span class="navbuttons">
47
 
                <a tal:condition="navigation/prev_page_revid"
48
 
                   tal:attributes="href navigation/prev_page_url"
49
 
                   title="Previous page">
50
 
                  &#171;
51
 
                </a>
52
 
                <tal:arrow condition="not:navigation/prev_page_revid">
53
 
                  &#171;
54
 
                </tal:arrow>
55
 
                revision <tal:b content="python:history.get_revno(revid)" />
56
 
                (<tal:b condition="python:navigation.pagesize > 1">page </tal:b>
57
 
                <tal:b content="navigation/page_position" /> / <tal:b content="navigation/page_count" />)
58
 
                <a tal:condition="navigation/next_page_revid"
59
 
                   tal:attributes="href navigation/next_page_url"
60
 
                   title="Next page">
61
 
                  &#187;
62
 
                </a>
63
 
                <tal:arrow condition="not:navigation/next_page_revid">
64
 
                  &#187;
65
 
                </tal:arrow>
66
 
              </span>
67
 
          </td>
68
 
      </tr>
69
 
        </table>
70
 
      </form>
71
 
  </div>
72
 
  <div id="search_terms"></div>
73
 
 
74
 
    <h1 metal:define-slot="heading">
75
 
      Heading
76
 
    </h1>
77
 
 
78
 
    <div metal:define-slot="content">
79
 
      Content.
80
 
    </div>
81
 
 
82
 
    <div class="footer">
83
 
      <span class="banner">
84
 
        <a href="http://www.bazaar-vcs.org/">
85
 
          <img tal:attributes="src python:branch.static_url('/static/images/bazaar-banner.png')" />
86
 
        </a>
87
 
      </span>
88
 
      <span class="banner">
89
 
        <a href="http://www.lag.net/loggerhead/">
90
 
          <img tal:attributes="src python:branch.static_url('/static/images/loggerhead-banner.png')" />
91
 
        </a>
92
 
      </span>
 
19
    <metal:block metal:define-slot="header_extras" />
 
20
  </head>
 
21
 
 
22
<body>
 
23
    <!-- Loggerhead Content Area -->
 
24
    <ul id="menuTabs">
 
25
        <form tal:attributes="action python:branch.url('/changes', start_revid=getattr(navigation, 'start_revid', None), 
 
26
                                                                   file_id=getattr(navigation, 'file_id', None))">
 
27
          <div id="finderBox">
 
28
            <label>search:</label> <input type="search" name="q" id="q" autocomplete="off" onblur="hide_search();" /> 
 
29
            <div><a tal:attributes="href python:url(['/atom']);
 
30
                                    title string:RSS feed for ${branch/friendly_name}"> 
 
31
                 <img tal:attributes="src python:branch.static_url('/static/images/ico_rss.gif')" alt="RSS" class="rssfeed"/></a>
 
32
            </div>
 
33
          </div>
 
34
        </form>
 
35
        
 
36
        <tal:block tal:condition="not:fileview_active">
 
37
        <li><a tal:attributes="href python:url('/changes', clear=1);
 
38
                               title string:Changes;
 
39
                               id string:on">Changes</a></li>
 
40
        <li><a tal:attributes="href python:url('/files', clear=1);
 
41
                               title string:Files">Files</a></li>
 
42
        </tal:block>
 
43
        <tal:block tal:condition="fileview_active">
 
44
        <li><a tal:attributes="href python:url('/changes', clear=1);
 
45
                               title string:Changes">Changes</a></li>
 
46
        <li><a tal:attributes="href python:url('/files', clear=1);
 
47
                               title string:Files;
 
48
                               id string:on">Files</a></li>
 
49
        </tal:block>
 
50
      </ul>
 
51
      <div id="loggerheadCont">
 
52
    
 
53
         <div id="search_terms"></div>
 
54
 
 
55
        <h1 metal:define-slot="heading"></h1>
 
56
        <div metal:define-slot="content"></div>
 
57
 
 
58
        <p class="fl">Loggerhead runs on <a href="http://bazaar-vcs.org/" class="link">Bazaar</a> branches</p>
93
59
    </div>
94
60
  </body>
95
61
</html>