~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/templates/macros.pt

  • Committer: Guillermo Gonzalez
  • Date: 2008-09-09 03:47:24 UTC
  • mto: (217.1.9 logging)
  • mto: This revision was merged to the branch mainline in revision 226.
  • Revision ID: guillo.gonzo@gmail.com-20080909034724-dm7wj8yf22y86fkh
 * new apps module: "error" and ErrorHandlerApp middleware
 * new error_ui controller 
 * added trivial template: error.pt
 * serve-branches:
  - added --log-folder option
  - reorganized logging setup (as first step towards move it into trace.py)
 * exception handling in BranchWSGIApp.app 

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
 
22
22
<body>
23
23
    <!-- Loggerhead Content Area -->
24
 
    <ul id="menuTabs">
25
 
        <form tal:attributes="action python:branch.url('/changes', start_revid=getattr(navigation, 'start_revid', None), 
26
 
                                                                   file_id=getattr(navigation, 'file_id', None))">
27
 
          <div id="finderBox">
28
 
            <label>search:</label> <input type="search" name="q" id="q" autocomplete="off" onblur="hide_search();" /> 
29
 
            <div><a tal:attributes="href python:url(['/atom']);
30
 
                                    title string:RSS feed for ${branch/friendly_name}"> 
31
 
                 <img tal:attributes="src python:branch.static_url('/static/images/ico_rss.gif')" alt="RSS" class="rssfeed"/></a>
32
 
            </div>
33
 
          </div>
34
 
        </form>
 
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>
35
32
 
36
 
        <tal:block tal:condition="not:fileview_active">
37
 
        <li><a tal:attributes="href python:url('/changes', clear=1);
38
 
                               title string:Changes;
39
 
                               id string:on">Changes</a></li>
40
 
        <li><a tal:attributes="href python:url('/files', clear=1);
41
 
                               title string:Files">Files</a></li>
42
 
        </tal:block>
43
 
        <tal:block tal:condition="fileview_active">
44
 
        <li><a tal:attributes="href python:url('/changes', clear=1);
45
 
                               title string:Changes">Changes</a></li>
46
 
        <li><a tal:attributes="href python:url('/files', clear=1);
47
 
                               title string:Files;
48
 
                               id string:on">Files</a></li>
49
 
        </tal:block>
50
 
      </ul>
 
33
      <tal:menu define="fileview_active fileview_active"
 
34
                replace="structure python:menu(branch, url, fileview_active)" />
51
35
      <div id="loggerheadCont">
52
36
 
53
 
         <div id="search_terms"></div>
 
37
        <div id="search_terms"></div>
54
38
 
55
39
        <h1 metal:define-slot="heading"></h1>
56
40
        <div metal:define-slot="content"></div>
57
41
 
58
 
        <p class="fl">Loggerhead runs on <a href="http://bazaar-vcs.org/" class="link">Bazaar</a> branches</p>
59
 
    </div>
 
42
        <p class="fl">Loggerhead is a web-based interface for <a href="http://bazaar-vcs.org/">Bazaar</a> branches</p>
 
43
      </div>
60
44
  </body>
61
45
</html>