~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/templates/macros.pt

  • Committer: Matt Nordhoff
  • Date: 2009-06-24 01:43:36 UTC
  • mto: This revision was merged to the branch mainline in revision 377.
  • Revision ID: mnordhoff@mattnordhoff.com-20090624014336-phcgmfc6f4suhj4d
Add templatefunctions for getting the versions of Loggerhead and its dependencies.

May not be the best place to put these, but it's the place I thought of!

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" />
8
6
 
9
7
    <title metal:define-slot="title"></title>
10
8
    <link rel="stylesheet"
43
41
 
44
42
<body>
45
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>
46
52
 
47
53
      <tal:menu define="fileview_active fileview_active"
48
54
                replace="structure python:menu(branch, url, fileview_active)" />
53
59
        <h1 metal:define-slot="heading"></h1>
54
60
        <div metal:define-slot="content"></div>
55
61
 
56
 
        <p class="fl">Loggerhead <tal:version content="loggerhead_version" /> is a web-based interface for <a href="http://bazaar-vcs.org/">Bazaar</a> branches</p>
 
62
        <p class="fl">Loggerhead is a web-based interface for <a href="http://bazaar-vcs.org/">Bazaar</a> branches</p>
57
63
      </div>
58
64
  </body>
59
65
</html>