~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/templates/macros.pt

  • Committer: John Arbash Meinel
  • Date: 2011-03-25 14:14:42 UTC
  • Revision ID: john@arbash-meinel.com-20110325141442-536j4be3x0c464zy
Don't access loggerhead code from under 'bzrlib.plugins'.

Only test_load_test was doing so. And in the Launchpad test suite
loggerhead is a standalone app, rather than a bzr plugin.
This allows us to run the test suite as part of the Launchpad
test suite (bug #742446)

Show diffs side-by-side

added added

removed removed

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