~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/templates/annotate.kid

  • Committer: Robey Pointer
  • Date: 2007-01-14 05:40:40 UTC
  • Revision ID: robey@lag.net-20070114054040-7i9lbhq992e612rq
fix up dev.cfg so that nobody will ever have to edit it, by letting the
important params be overridable in loggerhead.conf.

make start-loggerhead actually daemonize, write a pid file, and write logs
to normal log files, instead of requiring 'nohup' stuff.  ie act like a real
server.  added stop-loggerhead to do a clean shutdown.  changed the README
to clarify how it should work now.

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 ])}"> browse files </a> </div>
 
16
            <div> <b>&#8594;</b> <a href="${branch.url('/revision', start_revid=revid)}"> view revision </a> </div>
 
17
            <div> <b>&#8594;</b> <a href="${branch.url('/changes', 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 ])}"> view/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}"> ${line.lineno} </td>
 
32
            <td class="revno ${line.status}">
 
33
                <a py:if="line.status=='changed'" href="${branch.url('/revision', start_revid=line.change.revid, file_id=file_id)}"
 
34
                    title="${line.change.revno} by ${util.hide_email(line.change.author)}, on ${line.change.date.strftime('%d %b %Y %H:%M')} (${util.ago(line.change.date)})">${util.trunc(line.change.revno)}</a>
 
35
            </td>
 
36
            <td class="text ${line.status}"> ${XML(line.text)} </td>
 
37
        </tr>
 
38
    </table>
 
39
</div>
 
40
 
 
41
</body>
 
42
</html>