~jameinel/loggerhead/meliae-dump

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
  <head>
    <title tal:content="string:Browsing ${name}"></title>
    <link rel="stylesheet"
          tal:attributes="href python:static_url('/static/css/global.css')" />
  </head>
  <body>
    <div id="loggerheadCont">
      <h1>
        Browsing
        <span metal:use-macro="breadcrumbs/directory" />
      </h1>

      <div >
        <table id="logentries">
          <tr class="logheader">
            <th class="summarycell" colspan="2">Filename</th>
            <th class="datecell">Latest Rev</th>
            <th class="datecell">Last Changed</th>
          </tr>

          <tr class="blueRow0" tal:condition="python:name != '/'">
            <td class="icocell">
                <a href=".."><img tal:attributes="src python:static_url('/static/images/ico_folder_up.gif')" /></a>
            </td>
            <td class="summcell" colspan="3">
                <a href="..">..</a>
            </td>
          </tr>
          <tal:block repeat="dir dirs">

            <tal:branch-row tal:condition="dir/branch">
              <tr tal:attributes="class string:blueRow${dir/parity}">
                <td class="icocell">
                    <a tal:attributes="href string:${dir/dirname}/files">
                        <img tal:attributes="src python:static_url('/static/images/ico_branch.gif')" alt="Branch" />
                    </a>
                </td>
                <td class="autcell">
                  <a tal:attributes="href string:${dir/dirname}/files" tal:content="dir/dirname" /></td>
                <td class="date">
                  <a tal:attributes="href string:${dir/dirname}/revision/${dir/branch/revno};
                                     title string:Show revision ${dir/branch/revno}"
                     tal:content="dir/branch/revno"></a>
                </td>
                <td class="date" tal:content="python:util.date_time(dir.last_change)"></td>
              </tr>
            </tal:branch-row>
            <tal:non-branch-row tal:condition="not:dir/branch">
              <tr tal:attributes="class string:blueRow${dir/parity}">
                <td class="icocell">
                    <a tal:attributes="href string:${dir/dirname}">
                        <img tal:attributes="src python:static_url('/static/images/ico_folder.gif')" alt="Folder" />
                    </a>
                </td>
                <td class="autcell">
                  <a tal:attributes="href string:${dir/dirname}" tal:content="dir/dirname" /></td>
                <td class="date"></td>
                <td class="date" tal:content="dir/last_change"></td>
              </tr>
            </tal:non-branch-row>
          </tal:block>
        </table>
      </div>
    </div>
  </body>
</html>