~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/templates/annotate.kid

  • Committer: Max Bowsher
  • Date: 2011-03-10 14:22:12 UTC
  • mto: This revision was merged to the branch mainline in revision 432.
  • Revision ID: maxb@f2s.com-20110310142212-7xp32hm90lq7zz0d
Remove more things related to the removed code.

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.friendly_name} : contents of ${path} at revision ${change.revno} </title>
7
 
</head>
8
 
 
9
 
<body>
10
 
 
11
 
${navbar()}
12
 
 
13
 
<h1> <span class="branch-name">${branch.friendly_name}</span> : <span class="annotate-path">${path}</span> (revision ${change.revno})
14
 
        <div class="links">
15
 
            <div> <b>&#8594;</b> <a href="${branch.url([ '/files', revid ], **util.get_context(clear=1))}"> browse files </a> </div>
16
 
            <div> <b>&#8594;</b> <a href="${branch.url('/revision', **util.get_context(clear=1, start_revid=revid))}"> view revision </a> </div>
17
 
            <div> <b>&#8594;</b> <a href="${branch.url('/changes', **util.get_context(clear=1, start_revid=revid, file_id=file_id))}"> view changes to this file </a> </div>
18
 
            <div> <b>&#8594;</b> <a href="${branch.url([ '/download', revid, file_id, filename ])}"> download file </a> </div>
19
 
        </div>
20
 
</h1>
21
 
 
22
 
<div class="annotate">
23
 
    <table>
24
 
        <tr>
25
 
            <th class="lineno"> Line# </th>
26
 
            <th class="revision"> Revision </th>
27
 
            <th class="text"> Contents </th>
28
 
        </tr>
29
 
 
30
 
        <tr py:for="line in contents" class="parity${line.parity}">
31
 
            <td class="lineno ${line.status}"><a name="L${line.lineno}"> ${line.lineno} </a></td>
32
 
            <td class="revno ${line.status}">
33
 
                <a py:if="line.status=='changed'" href="${branch.url('/revision', **util.get_context(clear=1, start_revid=line.change.revid, file_id=file_id))}"
34
 
                    title="${line.change.revno} by ${util.hide_email(line.change.author)}, ${util.date_time(line.change.date)}">${util.trunc(line.change.revno)}</a>
35
 
            </td>
36
 
            <td class="text ${line.status}"> ${line.text} </td>
37
 
        </tr>
38
 
    </table>
39
 
</div>
40
 
 
41
 
</body>
42
 
</html>