~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:
7
7
    <title metal:define-slot="title"></title>
8
8
    <link rel="stylesheet"
9
9
          tal:attributes="href python:branch.static_url('/static/css/global.css')" />
10
 
    <tal:comment condition="nothing">
11
 
      <script type="text/javascript"
12
 
              src="http://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js"></script>
13
 
    </tal:comment>
14
 
    <script type="text/javascript">
15
 
      var global_path = <tal:block content="python:'\''+branch.url('/')+'\''" />;
16
 
      var collapsed_icon_path = <tal:block content="python:'\''+branch.static_url('/static/images/treeCollapsed.png')+'\''" />;
17
 
      var expanded_icon_path = <tal:block content="python:'\''+branch.static_url('/static/images/treeExpanded.png')+'\''" />;
18
 
    </script>
19
 
    <script type="text/javascript"
20
 
            tal:attributes="src python:branch.yui_url('yui/yui-min.js')"></script>
21
 
    <script type="text/javascript"
22
 
            tal:attributes="src python:branch.yui_url('oop/oop-min.js')"></script>
23
 
    <script type="text/javascript"
24
 
            tal:attributes="src python:branch.yui_url('event/event-min.js')"></script>
25
 
    <script type="text/javascript"
26
 
            tal:attributes="src python:branch.yui_url('attribute/attribute-min.js')"></script>
27
 
    <script type="text/javascript"
28
 
            tal:attributes="src python:branch.yui_url('base/base-min.js')"></script>
29
 
    <script type="text/javascript"
30
 
            tal:attributes="src python:branch.yui_url('dom/dom-min.js')"></script>
31
 
    <script type="text/javascript"
32
 
            tal:attributes="src python:branch.yui_url('node/node-min.js')"></script>
33
 
    <script type="text/javascript"
34
 
            tal:attributes="src python:branch.yui_url('anim/anim-min.js')"></script>
35
 
    <script type="text/javascript"
36
 
            tal:attributes="src python:branch.yui_url('io/io-base-min.js')"></script>
 
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>
37
14
    <script type="text/javascript"
38
15
            tal:attributes="src python:branch.static_url('/static/javascript/custom.js')"></script>
 
16
      <script language="javascript">
 
17
          var global_path = <tal:block content="python:'\''+branch.url('/')+'\''" />;
 
18
      </script>
39
19
    <metal:block metal:define-slot="header_extras" />
40
20
  </head>
41
21
 
42
22
<body>
43
23
    <!-- Loggerhead Content Area -->
44
 
      <div id="finderBox">
45
 
         <tal:search-box define="navigation navigation"
46
 
                        replace="structure python:search_box(branch,
47
 
                                 navigation)" />
48
 
        <div>
49
 
          <tal:feed-link replace="structure python:feed_link(branch, url)" />
50
 
        </div>
51
 
      </div>
52
 
 
53
 
      <tal:menu define="fileview_active fileview_active"
54
 
                replace="structure python:menu(branch, url, fileview_active)" />
 
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>
55
51
      <div id="loggerheadCont">
56
 
 
57
 
        <div id="search_terms"></div>
 
52
    
 
53
         <div id="search_terms"></div>
58
54
 
59
55
        <h1 metal:define-slot="heading"></h1>
60
56
        <div metal:define-slot="content"></div>
61
57
 
62
 
        <p class="fl">Loggerhead is a web-based interface for <a href="http://bazaar-vcs.org/">Bazaar</a> branches</p>
63
 
      </div>
 
58
        <p class="fl">Loggerhead runs on <a href="http://bazaar-vcs.org/" class="link">Bazaar</a> branches</p>
 
59
    </div>
64
60
  </body>
65
61
</html>