~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/templates/macros.pt

  • Committer: Michael Hudson-Doyle
  • Date: 2012-01-19 21:37:14 UTC
  • mfrom: (461.1.2 bug-383631)
  • Revision ID: michael.hudson@linaro.org-20120119213714-3r0wrm96mewvt8pr
fix bug #383631: Breadcrumbs while annotating a file in head shows the most recent revision in the url instead of head

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
 
    <title metal:define-slot="title">
8
 
      Title.
9
 
    </title>
10
 
    <style type="text/css" media="screen, print"
11
 
        tal:content="python:'@import url('+tg.url('/static/css/launchpad_slimmer.css')+');'"></style>
 
9
    <title metal:define-slot="title"></title>
12
10
    <link rel="stylesheet"
13
 
          tal:attributes="href python:tg.url('/static/css/global.css')" />
14
 
    <script type="text/javascript"
15
 
            tal:attributes="src python:tg.url('/static/javascript/mootools-1.2-core.js')"></script>
16
 
    <script type="text/javascript"
17
 
            tal:attributes="src python:tg.url('/static/javascript/mootools-1.2-more.js')"></script>
18
 
    <script type="text/javascript"
19
 
            tal:attributes="src python:tg.url('/static/javascript/custom.js')"></script>
 
11
          tal:attributes="href python:branch.static_url('/static/css/global.css')" />
 
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>
 
41
    <script type="text/javascript"
 
42
            tal:attributes="src python:branch.static_url('/static/javascript/custom.js')"></script>
20
43
    <metal:block metal:define-slot="header_extras" />
21
44
  </head>
22
45
 
23
 
<body>
24
 
        <div id="topline"></div>
25
 
    <div id="locationbar" xml:lang="en" lang="en" dir="ltr">
26
 
        <strong id="yourlocation">Your location:</strong>
27
 
        <ul id="menuroot">
28
 
                <li lpm:mid="root" class="item"><a href="https://launchpad.net/" class="breadcrumb container" id="homebreadcrumb"><em><span>Home</span></em></a></li>
29
 
        </ul>      
30
 
    </div>
 
46
 <body tal:attributes="class python:branch.public_private_css()">
31
47
    <!-- Loggerhead Content Area -->
32
 
      <ul id="menuTabs">
33
 
        <div id="finderBox">
34
 
                <label>Jump to revision:</label>
35
 
            <input name="" type="text" />
36
 
            <div><a href="http://bazaar.launchpad.net/~loggerhead-team/loggerhead/trunk/atom" title=""><img tal:attributes="src python:tg.url('/static/images/ico_rss.gif')"  alt="RSS" /></a></div>
37
 
        </div>
38
 
        <li><a tal:attributes="href python:url('/changes', clear=1);
39
 
                               title string:Changes;
40
 
                               id string:on">Changes</a></li>
41
 
        <li><a tal:attributes="href  python:url('/files', clear=1);
42
 
                               title string:Files">Files</a></li>
43
 
        <li><a tal:attributes="href string:#;
44
 
                               title string:Help">Help</a></li>       
45
 
      </ul>
 
48
      
 
49
      <div metal:define-slot="backlink" />
 
50
      
 
51
      <h1 class="branch-name">
 
52
        <span metal:define-slot="branchname" />
 
53
      </h1>
 
54
      <tal:menu define="fileview_active fileview_active"
 
55
                replace="structure python:menu(branch, url, fileview_active)" />
46
56
      <div id="loggerheadCont">
47
57
 
48
 
    <h1 metal:define-slot="heading">
49
 
      Heading
50
 
    </h1>
51
 
 
52
 
    <div metal:define-slot="content">
53
 
      Content.
54
 
    </div>
55
 
 
56
 
    <p class="fl">Launchpad runs <a href="#" class="link">Loggerhead</a> on <a href="#" class="link">Bazaar</a> branches</p>
57
 
    </div>
 
58
        <div id="search_terms"></div>
 
59
        <div metal:define-slot="heading" />
 
60
        <div metal:define-slot="content"></div>
 
61
 
 
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>
 
63
      </div>
58
64
  </body>
59
65
</html>