~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/templates/directory.pt

  • Committer: Robey Pointer
  • Date: 2006-12-24 07:04:28 UTC
  • Revision ID: robey@lag.net-20061224070428-u2tbimufx0m1v16t
add the actual 1.0 release

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 tal:content="string:Browsing ${name}">
11
 
        Hi.
12
 
      </h1>
13
 
 
14
 
      <div >
15
 
        <table id="logentries">
16
 
          <tr class="logheader">
17
 
            <th class="summarycell" colspan="2">Filename</th>
18
 
            <th class="datecell">Latest Rev</th>
19
 
            <th class="datecell">Last Changed</th>
20
 
          </tr>
21
 
          
22
 
          <tr class="blueRow0" tal:condition="python:name != '/'">
23
 
            <td class="icocell">
24
 
                <a href=".."><img tal:attributes="src python:static_url('/static/images/ico_folder_up.gif')" /></a>
25
 
            </td>
26
 
            <td class="summcell" colspan="3">
27
 
                <a href="..">..</a>
28
 
            </td>
29
 
          </tr>
30
 
          <tal:block repeat="dir dirs">
31
 
 
32
 
            <tal:branch-row tal:condition="dir/branch">
33
 
              <tr tal:attributes="class string:blueRow${dir/parity}">
34
 
                <td class="icocell">
35
 
                    <a tal:attributes="href string:${dir/dirname}/files">
36
 
                        <img tal:attributes="src python:static_url('/static/images/ico_branch.gif')" />
37
 
                    </a>
38
 
                </td>
39
 
                <td class="autcell">
40
 
                  <a tal:attributes="href string:${dir/dirname}/files" tal:content="dir/dirname" /></td>
41
 
                <td class="date">
42
 
                  <a tal:attributes="href string:${dir/dirname}/revision/${dir/branch/revno};
43
 
                                     title string:Show revision ${dir/branch/revno}"
44
 
                     tal:content="dir/branch/revno"></a>
45
 
                </td>
46
 
                <td class="date" tal:content="python:util.date_time(dir.last_change)"></td>
47
 
              </tr>
48
 
            </tal:branch-row>
49
 
            <tal:non-branch-row tal:condition="not:dir/branch">
50
 
              <tr tal:attributes="class string:blueRow${dir/parity}">
51
 
                <td class="icocell">
52
 
                    <a tal:attributes="href string:${dir/dirname}">
53
 
                        <img tal:attributes="src python:static_url('/static/images/ico_folder.gif')" />
54
 
                    </a>
55
 
                </td>
56
 
                <td class="autcell">
57
 
                  <a tal:attributes="href string:${dir/dirname}" tal:content="dir/dirname" /></td>
58
 
                <td class="date"></td>
59
 
                <td class="date" tal:content="dir/last_change"></td>
60
 
              </tr>
61
 
            </tal:non-branch-row>
62
 
          </tal:block>
63
 
        </table>
64
 
      </div>
65
 
    </div>
66
 
  </body>
67
 
</html>