File: browse

package info (click to toggle)
libsvn-web-perl 0.63-2
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 668 kB
  • ctags: 105
  • sloc: perl: 1,958; sh: 73; makefile: 4
file content (31 lines) | stat: -rw-r--r-- 1,239 bytes parent folder | download | duplicates (4)
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
<div class="title">
[%|l(path, revision)%]browsing %1 (of revision %2)[%END%]
<a href="[% script %]/[% repos | uri %]/log[% path | url %]?rev=[% rev %]">[%|l%](history of this directory)[%END%]</a>
</div>
[% IF entries.size == 0 %]
<p>No entries in this directory.</p>
[% ELSE %]
<table border=0 width="90%" class="entries" summary="File and directory listing">
<thead>
<tr><th>[%|l%]name[%END%]</th><th>[%|l%]revision[%END%]</th><th>[%|l%]age[%END%]</th><th>[%|l%]size[%END%]</th></tr>
</thead>
<tbody>
[% FOREACH entries %]
<tr>
<td class="name">
[% IF isdir %]
<img alt="[dir]" border="0" src="/icons/dir.gif" />
<a href="[% script %]/[% repos | uri %]/browse[% path | url %][% name | url %]/?rev=[% rev %]">[% name %]</a>
[% ELSE %]
<a href="[% script %]/[% repos | uri %]/checkout[% path | url %][% name | url %]?rev=[% rev %]"><img alt="[file]" border="0" src="/icons/[% type || 'text' %].gif" /></a>
<a href="[% script %]/[% repos | uri %]/view[% path | url %][% name | url %]?rev=[% rev %]">[% name %]</a>
[% END %]</td>
<td class="revision"><a href="[% script %]/[% repos | uri %]/revision?rev=[% rev %]">[% rev %]</a>
</td>
<td class="age">Unimpl</td>
<td class="size">[% size %]</td>
</tr>
[% END %]
</tbody>
</table>
[% END %]