~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/templates/directory.pt

  • Committer: Matt Nordhoff
  • Date: 2009-10-09 16:23:47 UTC
  • Revision ID: mnordhoff@mattnordhoff.com-20091009162347-yycmggfhs8r0xsk0
serve_http was passing a transport to BranchesFromTransportRoot, not an URL.

This is a waste of a transport object, but oh well.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
    <title tal:content="string:Browsing ${name}"></title>
5
5
    <link rel="stylesheet"
6
6
          tal:attributes="href python:static_url('/static/css/global.css')" />
7
 
    <link rel="shortcut icon"
8
 
          tal:attributes="href python:branch.static_url('/static/images/favicon.ico')" /> 
9
7
  </head>
10
8
  <body>
11
9
    <div id="loggerheadCont">
21
19
            <th class="datecell">Latest Rev</th>
22
20
            <th class="datecell">Last Changed</th>
23
21
          </tr>
24
 
 
 
22
          
25
23
          <tr class="blueRow0" tal:condition="python:name != '/'">
26
24
            <td class="icocell">
27
 
                <a href="../"><img tal:attributes="src python:static_url('/static/images/ico_folder_up.gif')" /></a>
 
25
                <a href=".."><img tal:attributes="src python:static_url('/static/images/ico_folder_up.gif')" /></a>
28
26
            </td>
29
27
            <td class="summcell" colspan="3">
30
 
                <a href="../">..</a>
 
28
                <a href="..">..</a>
31
29
            </td>
32
30
          </tr>
33
31
          <tal:block repeat="dir dirs">
52
50
            <tal:non-branch-row tal:condition="not:dir/branch">
53
51
              <tr tal:attributes="class string:blueRow${dir/parity}">
54
52
                <td class="icocell">
55
 
                    <a tal:attributes="href string:${dir/dirname}/">
 
53
                    <a tal:attributes="href string:${dir/dirname}">
56
54
                        <img tal:attributes="src python:static_url('/static/images/ico_folder.gif')" alt="Folder" />
57
55
                    </a>
58
56
                </td>
59
57
                <td class="autcell">
60
 
                  <a tal:attributes="href string:${dir/dirname}/" tal:content="dir/dirname" /></td>
 
58
                  <a tal:attributes="href string:${dir/dirname}" tal:content="dir/dirname" /></td>
61
59
                <td class="date"></td>
62
60
                <td class="date" tal:content="dir/last_change"></td>
63
61
              </tr>