~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/templates/inventory.kid

  • Committer: Guillermo Gonzalez
  • Date: 2008-09-26 12:48:00 UTC
  • mfrom: (217.2.2 logging)
  • mto: This revision was merged to the branch mainline in revision 226.
  • Revision ID: guillo.gonzo@gmail.com-20080926124800-7pjmc08s1da0cxg8
 merge with mwhudson logging branch

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" xmlns:py="http://purl.org/kid/ns#"
3
 
    py:extends="'master.kid'">
4
 
<head>
5
 
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type" py:replace="''"/>
6
 
    <title> ${branch_name} : files for revision ${change.revno} </title>
7
 
</head>
8
 
 
9
 
<body>
10
 
 
11
 
${navbar()}
12
 
 
13
 
<h1> <span class="branch-name">${branch_name}</span> : files for revision ${change.revno} </h1>
14
 
 
15
 
<!-- !FIXME: this is just copied verbatim from revision.kid -->
16
 
<div class="revision-info">
17
 
    <table>
18
 
        <tr>
19
 
            <th class="author">committed by:</th>
20
 
            <td class="author"> ${util.hide_email(change.author)} </td>
21
 
        </tr>
22
 
        <tr>
23
 
            <th class="date">date:</th>
24
 
            <td class="date"> ${change.date.strftime('%d %b %Y %H:%M')} </td>
25
 
        </tr>
26
 
 
27
 
        <tr py:if="len(change.merge_points) > 0">
28
 
            <th class="children"> merged in: </th>
29
 
            <td class="children">
30
 
                <span py:for="child in change.merge_points"> ${revlink(child.revid, '(' + child.revno + ')')} &nbsp; </span>
31
 
            </td>
32
 
        </tr>
33
 
        <tr py:if="len(change.parents) > 1">
34
 
                <th class="parents"> merged from: </th>
35
 
                <td class="parents">
36
 
                    <span py:for="parent in change.parents"><span py:if="parent.revid != change.parents[0].revid"> ${revlink(parent.revid, '(' + parent.revno + ')')} &nbsp; </span></span>
37
 
                </td>
38
 
        </tr>
39
 
 
40
 
        <tr>
41
 
            <th class="description">description:</th>
42
 
            <td class="description"><span py:for="line in change.comment_clean">${XML(line)} <br /></span></td>
43
 
        </tr>
44
 
    </table>
45
 
</div>
46
 
 
47
 
<b>folder:</b> <span class="folder"> ${path} </span>
48
 
 
49
 
<table class="inventory" width="100%">
50
 
    <tr class="header">
51
 
        <th class="permissions"> Permissions </th>
52
 
        <th> Filename </th>
53
 
        <th> Last change </th>
54
 
        <th> History </th>
55
 
    </tr>
56
 
    
57
 
    <tr class="parity1" py:if="updir">
58
 
        <td class="permissions">drwxr-xr-x</td>
59
 
        <td class="filename directory"><a href="${tg.url([ '/files', revid ], path=updir)}"> (up) </a></td>
60
 
        <td> </td> <td> </td>
61
 
    </tr>
62
 
 
63
 
    <tr py:for="file in filelist" class="parity${file.parity}">
64
 
        <td class="permissions"> ${util.fake_permissions(file.kind, file.executable)} </td>
65
 
        <td class="filename ${file.kind}">
66
 
            <a py:if="file.kind=='directory'" href="${tg.url([ '/files', revid ], path=posixpath.join(path, file.pathname))}">${file.filename}/</a>
67
 
            <span py:if="file.kind=='symlink'">${file.filename}@</span>
68
 
            <a py:if="file.kind=='file'" href="${tg.url([ '/annotate', revid ], path=posixpath.join(path, file.pathname))}">${file.filename}</a>
69
 
        </td>
70
 
        <td class="revision"> ${revlink(file.revid, file.revno)} </td>
71
 
        <td class="changes-link"> <a href="${tg.url([ '/changes', file.revid ], path=posixpath.join(path, file.pathname))}"> (changes) </a></td>
72
 
    </tr>
73
 
    <!-- #entries# -->
74
 
</table>
75
 
 
76
 
</body>
77
 
</html>