~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/templates/macros.pt

fix anchor links in the "modified files" list by making two lists, one for
unified view and one for side-by-side view.  each type of diff has different
anchors now too.  that seems to make the links work, at the slight expense
of more visual jumping as the page loads (and various blocks hide themselves).
should fix bug 119422.

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"></title>
8
 
    <link rel="stylesheet"
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>
16
 
      <script language="javascript">
17
 
          var global_path = <tal:block content="python:'\''+branch.url('/')+'\''" />;
18
 
      </script>
19
 
    <metal:block metal:define-slot="header_extras" />
20
 
  </head>
21
 
 
22
 
<body>
23
 
    <!-- 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
 
 
33
 
      <tal:menu define="fileview_active fileview_active"
34
 
                replace="structure python:menu(branch, url, fileview_active)" />
35
 
      <div id="loggerheadCont">
36
 
 
37
 
        <div id="search_terms"></div>
38
 
 
39
 
        <h1 metal:define-slot="heading"></h1>
40
 
        <div metal:define-slot="content"></div>
41
 
 
42
 
        <p class="fl">Loggerhead is a web-based interface for <a href="http://bazaar-vcs.org/" class="link">Bazaar</a> branches</p>
43
 
      </div>
44
 
  </body>
45
 
</html>