~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-16 11:35:03 UTC
  • mto: This revision was merged to the branch mainline in revision 435.
  • Revision ID: john@arbash-meinel.com-20110316113503-c21ve1v3wru7kvae
Remove duplicated effort in setup_logging.

Instead, pass in some extra flags, indicating what loggerhead should do.

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
    <title metal:define-slot="title"></title>
10
10
    <link rel="stylesheet"
11
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
12
    <tal:comment condition="nothing">
15
13
      <script type="text/javascript"
16
14
              src="http://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js"></script>
45
43
 
46
44
<body>
47
45
    <!-- Loggerhead Content Area -->
48
 
      
49
 
      <div metal:define-slot="backlink" />
50
 
      
51
 
      <h1 class="branch-name">
52
 
        <span metal:define-slot="branchname" />
53
 
      </h1>
 
46
      <div id="finderBox">
 
47
         <tal:search-box define="navigation navigation"
 
48
                        replace="structure python:search_box(branch,
 
49
                                 navigation)" />
 
50
        <div>
 
51
          <tal:feed-link replace="structure python:feed_link(branch, url)" />
 
52
        </div>
 
53
      </div>
 
54
 
54
55
      <tal:menu define="fileview_active fileview_active"
55
56
                replace="structure python:menu(branch, url, fileview_active)" />
56
57
      <div id="loggerheadCont">
57
58
 
58
59
        <div id="search_terms"></div>
59
 
        <div metal:define-slot="heading" />
 
60
 
 
61
        <h1 metal:define-slot="heading"></h1>
60
62
        <div metal:define-slot="content"></div>
61
63
 
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>
 
64
        <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>
63
65
      </div>
64
66
  </body>
65
67
</html>