~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/templates/directory.pt

ok i should've known those API calls wouldn't be consistent.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
 
<html xmlns="http://www.w3.org/1999/xhtml" >
3
 
  <head>
4
 
    <title tal:content="string:Browsing ${name}"></title>
5
 
    <link rel="stylesheet"
6
 
          tal:attributes="href python:static_url('/static/css/global.css')" />
7
 
  </head>
8
 
  <body>
9
 
    <div id="loggerheadCont">
10
 
      <h1>
11
 
        Browsing
12
 
        <span metal:use-macro="breadcrumbs/directory" />
13
 
      </h1>
14
 
 
15
 
      <div >
16
 
        <table id="logentries">
17
 
          <tr class="logheader">
18
 
            <th class="summarycell" colspan="2">Filename</th>
19
 
            <th class="datecell">Latest Rev</th>
20
 
            <th class="datecell">Last Changed</th>
21
 
          </tr>
22
 
 
23
 
          <tr class="blueRow0" tal:condition="python:name != '/'">
24
 
            <td class="icocell">
25
 
                <a href="../"><img tal:attributes="src python:static_url('/static/images/ico_folder_up.gif')" /></a>
26
 
            </td>
27
 
            <td class="summcell" colspan="3">
28
 
                <a href="../">..</a>
29
 
            </td>
30
 
          </tr>
31
 
          <tal:block repeat="dir dirs">
32
 
 
33
 
            <tal:branch-row tal:condition="dir/branch">
34
 
              <tr tal:attributes="class string:blueRow${dir/parity}">
35
 
                <td class="icocell">
36
 
                    <a tal:attributes="href string:${dir/dirname}/files">
37
 
                        <img tal:attributes="src python:static_url('/static/images/ico_branch.gif')" alt="Branch" />
38
 
                    </a>
39
 
                </td>
40
 
                <td class="autcell">
41
 
                  <a tal:attributes="href string:${dir/dirname}/files" tal:content="dir/dirname" /></td>
42
 
                <td class="date">
43
 
                  <a tal:attributes="href string:${dir/dirname}/revision/${dir/branch/revno};
44
 
                                     title string:Show revision ${dir/branch/revno}"
45
 
                     tal:content="dir/branch/revno"></a>
46
 
                </td>
47
 
                <td class="date" tal:content="python:util.date_time(dir.last_change)"></td>
48
 
              </tr>
49
 
            </tal:branch-row>
50
 
            <tal:non-branch-row tal:condition="not:dir/branch">
51
 
              <tr tal:attributes="class string:blueRow${dir/parity}">
52
 
                <td class="icocell">
53
 
                    <a tal:attributes="href string:${dir/dirname}/">
54
 
                        <img tal:attributes="src python:static_url('/static/images/ico_folder.gif')" alt="Folder" />
55
 
                    </a>
56
 
                </td>
57
 
                <td class="autcell">
58
 
                  <a tal:attributes="href string:${dir/dirname}/" tal:content="dir/dirname" /></td>
59
 
                <td class="date"></td>
60
 
                <td class="date" tal:content="dir/last_change"></td>
61
 
              </tr>
62
 
            </tal:non-branch-row>
63
 
          </tal:block>
64
 
        </table>
65
 
      </div>
66
 
    </div>
67
 
  </body>
68
 
</html>