~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/templates/macros.pt

  • Committer: Matt Nordhoff
  • Date: 2009-04-30 10:27:53 UTC
  • mto: (389.2.2 pep8-2009-10)
  • mto: This revision was merged to the branch mainline in revision 392.
  • Revision ID: mnordhoff@mattnordhoff.com-20090430102753-k0fe9v60gw0at3py
Whitespace tweak to profile.py

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>
 
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>
 
37
    <script type="text/javascript"
 
38
            tal:attributes="src python:branch.static_url('/static/javascript/custom.js')"></script>
20
39
    <metal:block metal:define-slot="header_extras" />
21
40
  </head>
22
41
 
23
 
  <body tal:attributes="onload onload|nothing">
24
 
      <script language="javascript">
25
 
          var global_path = <tal:block content="python:'\''+branch.url('/')+'\''" />;
26
 
      </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>
93
 
    </div>
 
42
<body>
 
43
    <!-- 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)" />
 
55
      <div id="loggerheadCont">
 
56
 
 
57
        <div id="search_terms"></div>
 
58
 
 
59
        <h1 metal:define-slot="heading"></h1>
 
60
        <div metal:define-slot="content"></div>
 
61
 
 
62
        <p class="fl">Loggerhead is a web-based interface for <a href="http://bazaar-vcs.org/">Bazaar</a> branches</p>
 
63
      </div>
94
64
  </body>
95
65
</html>