##// END OF EJS Templates
hgweb (coal/paper): make file, diff and annotate easier to render...
Brendan Cully -
r7394:03b60f2f default
parent child Browse files
Show More
@@ -1,74 +1,70 b''
1 1 {header}
2 2 <title>{repo|escape}: {node|short}</title>
3 3 </head>
4 4 <body>
5 5 <div class="container">
6 6 <div class="menu">
7 7 <div class="logo">
8 8 <a href="http://www.selenic.com/mercurial/">
9 9 <img src="{staticurl}hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
10 10 </div>
11 11 <ul>
12 12 <li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li>
13 13 <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li>
14 14 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
15 15 </ul>
16 16 <ul>
17 17 <li class="active">changeset</li>
18 18 <li><a href="{url}raw-rev/{node|short}{sessionvars%urlparameter}">raw</a></li>
19 19 <li><a href="{url}file/{node|short}{sessionvars%urlparameter}">browse</a></li>
20 20 </ul>
21 21 <ul>
22 22 {archives%archiveentry}
23 23 </ul>
24 24 </div>
25 25
26 26 <div class="main">
27 27
28 28 <h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2>
29 29 <h3>changeset {rev}:{node|short} {changesettag}</h3>
30 30
31 31 <form class="search" action="{url}log">
32 32 {sessionvars%hiddenformentry}
33 33 <p><input name="rev" id="search1" type="text" size="30"></p>
34 34 <span>find changesets by author, revision,
35 35 files, or words in the commit message</span>
36 36 </form>
37 37
38 38 <div class="description">{desc|strip|escape|addbreaks}</div>
39 39
40 40 <table id="changesetEntry">
41 41 <tr>
42 42 <th class="author">author</th>
43 43 <td class="author">{author|obfuscate}</td>
44 44 </tr>
45 45 <tr>
46 46 <th class="date">date</th>
47 47 <td class="date">{date|date} ({date|age} ago)</td></tr>
48 48 <tr>
49 49 <th class="author">parents</th>
50 50 <td class="author">{parent%changesetparent}</td>
51 51 </tr>
52 52 <tr>
53 53 <th class="author">children</th>
54 54 <td class="author">{child%changesetchild}</td>
55 55 </tr>
56 56 <tr>
57 57 <th class="files">files</th>
58 58 <td class="files">{files}</td>
59 59 </tr>
60 60 </table>
61 61
62 62 <div class="overflow">
63 <table class="bigtable">
64 <tr>
65 <th class="lineno">line</th>
66 <th class="source">diff</th>
67 </tr>
68 </table>
63 <div class="sourcefirst"> line diff</div>
64
69 65 {diff}
70 66 </div>
71 67
72 68 </div>
73 69 </div>
74 70 {footer}
@@ -1,79 +1,78 b''
1 1 {header}
2 2 <title>{repo|escape}: {file|escape} annotate</title>
3 3 </head>
4 4 <body>
5 5
6 6 <div class="container">
7 7 <div class="menu">
8 8 <div class="logo">
9 9 <a href="http://www.selenic.com/mercurial/">
10 10 <img src="{staticurl}hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
11 11 </div>
12 12 <ul>
13 13 <li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li>
14 14 <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li>
15 15 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
16 16 </ul>
17 17
18 18 <ul>
19 19 <li><a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a></li>
20 20 <li><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">browse</a></li>
21 21 </ul>
22 22 <ul>
23 23 <li><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a></li>
24 24 <li><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a></li>
25 25 <li class="active">annotate</li>
26 26 <li><a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file log</a></li>
27 27 <li><a href="{url}raw-annotate/{node|short}/{file|urlescape}">raw</a></li>
28 28 </ul>
29 29 </div>
30 30
31 31 <div class="main">
32 32 <h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2>
33 33 <h3>annotate {file|escape} @ {rev}:{node|short}</h3>
34 34
35 35 <form class="search" action="{url}log">
36 36 {sessionvars%hiddenformentry}
37 37 <p><input name="rev" id="search1" type="text" size="30"></p>
38 38 <span>find changesets by author, revision,
39 39 files, or words in the commit message</span>
40 40 </form>
41 41
42 42 <div class="description">{desc|strip|escape|addbreaks}</div>
43 43
44 44 <table id="changesetEntry">
45 45 <tr>
46 46 <th class="author">author</th>
47 47 <td class="author">{author|obfuscate}</td>
48 48 </tr>
49 49 <tr>
50 50 <th class="date">date</th>
51 51 <td class="date">{date|date} ({date|age} ago)</td>
52 52 </tr>
53 53 <tr>
54 54 <th class="author">parents</th>
55 55 <td class="author">{parent%filerevparent}</td>
56 56 </tr>
57 57 <tr>
58 58 <th class="author">children</th>
59 59 <td class="author">{child%filerevchild}</td>
60 60 </tr>
61 61 {changesettag}
62 62 </table>
63 63
64 64 <br/>
65 65
66 66 <div class="overflow">
67 67 <table class="bigtable">
68 68 <tr>
69 69 <th class="annotate">rev</th>
70 <th class="lineno">line</th>
71 <th class="line">source</th>
70 <th class="line">&nbsp;&nbsp;line source</th>
72 71 </tr>
73 72 {annotate%annotateline}
74 73 </table>
75 74 </div>
76 75 </div>
77 76 </div>
78 77
79 78 {footer}
@@ -1,76 +1,71 b''
1 1 {header}
2 2 <title>{repo|escape}: {file|escape} diff</title>
3 3 </head>
4 4 <body>
5 5
6 6 <div class="container">
7 7 <div class="menu">
8 8 <div class="logo">
9 9 <a href="http://www.selenic.com/mercurial/">
10 10 <img src="{staticurl}hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
11 11 </div>
12 12 <ul>
13 13 <li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li>
14 14 <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li>
15 15 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
16 16 </ul>
17 17 <ul>
18 18 <li><a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a></li>
19 19 <li><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">browse</a></li>
20 20 </ul>
21 21 <ul>
22 22 <li><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a></li>
23 23 <li class="active">diff</li>
24 24 <li><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a></li>
25 25 <li><a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file log</a></li>
26 26 <li><a href="{url}raw-file/{node|short}/{file|urlescape}">raw</a></li>
27 27 </ul>
28 28 </div>
29 29
30 30 <div class="main">
31 31 <h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2>
32 32 <h3>diff {file|escape} @ {rev}:{node|short}</h3>
33 33
34 34 <form class="search" action="{url}log">
35 35 {sessionvars%hiddenformentry}
36 36 <p><input name="rev" id="search1" type="text" size="30"></p>
37 37 <span>find changesets by author, revision,
38 38 files, or words in the commit message</span>
39 39 </form>
40 40
41 41 <div class="description">{desc|strip|escape|addbreaks}</div>
42 42
43 43 <table id="changesetEntry">
44 44 <tr>
45 45 <th>author</th>
46 46 <td>{author|obfuscate}</td>
47 47 </tr>
48 48 <tr>
49 49 <th>date</th>
50 50 <td>{date|date} ({date|age} ago)</td>
51 51 </tr>
52 52 <tr>
53 53 <th>parents</th>
54 54 <td>{parent%filerevparent}</td>
55 55 </tr>
56 56 <tr>
57 57 <th>children</th>
58 58 <td>{child%filerevchild}</td>
59 59 </tr>
60 60 {changesettag}
61 61 </table>
62 62
63 63 <div class="overflow">
64 <table class="bigtable">
65 <tr>
66 <th class="lineno">line</th>
67 <th class="source">diff</th>
68 </tr>
69 </table>
64 <div class="sourcefirst"> line diff</div>
70 65
71 66 {diff}
72 67 </div>
73 68 </div>
74 69 </div>
75 70
76 71 {footer}
@@ -1,75 +1,71 b''
1 1 {header}
2 2 <title>{repo|escape}: {node|short} {file|escape}</title>
3 3 </head>
4 4 <body>
5 5
6 6 <div class="container">
7 7 <div class="menu">
8 8 <div class="logo">
9 9 <a href="http://www.selenic.com/mercurial/">
10 10 <img src="{staticurl}hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
11 11 </div>
12 12 <ul>
13 13 <li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li>
14 14 <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li>
15 15 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
16 16 </ul>
17 17 <ul>
18 18 <li><a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a></li>
19 19 <li><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">browse</a></li>
20 20 </ul>
21 21 <ul>
22 22 <li class="active">file</li>
23 23 <li><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a></li>
24 24 <li><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a></li>
25 25 <li><a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file log</a></li>
26 26 <li><a href="{url}raw-file/{node|short}/{file|urlescape}">raw</a></li>
27 27 </ul>
28 28 </div>
29 29
30 30 <div class="main">
31 31 <h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2>
32 32 <h3>view {file|escape} @ {rev}:{node|short}</h3>
33 33
34 34 <form class="search" action="{url}log">
35 35 {sessionvars%hiddenformentry}
36 36 <p><input name="rev" id="search1" type="text" size="30"></p>
37 37 <span>find changesets by author, revision,
38 38 files, or words in the commit message</span>
39 39 </form>
40 40
41 41 <div class="description">{desc|strip|escape|addbreaks}</div>
42 42
43 43 <table id="changesetEntry">
44 44 <tr>
45 45 <th class="author">author</th>
46 46 <td class="author">{author|obfuscate}</td>
47 47 </tr>
48 48 <tr>
49 49 <th class="date">date</th>
50 50 <td class="date">{date|date} ({date|age} ago)</td>
51 51 </tr>
52 52 <tr>
53 53 <th class="author">parents</th>
54 54 <td class="author">{parent%filerevparent}</td>
55 55 </tr>
56 56 <tr>
57 57 <th class="author">children</th>
58 58 <td class="author">{child%filerevchild}</td>
59 59 </tr>
60 60 {changesettag}
61 61 </table>
62 62
63 63 <div class="overflow">
64 <table class="bigtable">
65 <tr>
66 <th class="lineno">line</th>
67 <th class="source">source</th>
68 </tr>
64 <div class="sourcefirst"> line source</div>
69 65 {text%fileline}
70 </table>
66 <div class="sourcelast"></div>
71 67 </div>
72 68 </div>
73 69 </div>
74 70
75 71 {footer}
@@ -1,72 +1,72 b''
1 1 default = 'shortlog'
2 2
3 3 mimetype = 'text/html; charset={encoding}'
4 4 header = header.tmpl
5 5 footer = footer.tmpl
6 6 search = search.tmpl
7 7
8 8 changelog = shortlog.tmpl
9 9 shortlog = shortlog.tmpl
10 10 shortlogentry = shortlogentry.tmpl
11 11 graph = graph.tmpl
12 12
13 13 naventry = '<a href="{url}log/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
14 14 navshortentry = '<a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
15 15 navgraphentry = '<a href="{url}graph/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
16 16 filenaventry = '<a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{label|escape}</a> '
17 17 filedifflink = '<a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> '
18 18 filenodelink = '<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> '
19 19 filenolink = '{file|escape} '
20 20 fileellipses = '...'
21 21 changelogentry = shortlogentry.tmpl
22 22 searchentry = shortlogentry.tmpl
23 23 changeset = changeset.tmpl
24 24 manifest = manifest.tmpl
25 25
26 26 direntry = '<tr class="fileline parity{parity}"><td class="name"><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}"><img src="{staticurl}coal-folder.png"> {basename|escape}/</a> <a href="{url}file/{node|short}{path|urlescape}/{emptydirs|urlescape}{sessionvars%urlparameter}">{emptydirs|escape}</a><td class="size"></td><td class="permissions">drwxr-xr-x</td></tr>'
27 27 fileentry = '<tr class="fileline parity{parity}"><td class="filename"><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}#l1"><img src="{staticurl}coal-file.png"> {basename|escape}</a></td><td class="size">{size}</td><td class="permissions">{permissions|permissions}</td></tr>'
28 28
29 29 filerevision = filerevision.tmpl
30 30 fileannotate = fileannotate.tmpl
31 31 filediff = filediff.tmpl
32 32 filelog = filelog.tmpl
33 fileline = '<tr class="parity{parity}"><td class="lineno"><a href="#{lineid}" id="{lineid}">{linenumber}</a></td><td class="source">{line|escape}</td></tr>'
33 fileline = '<div class="parity{parity} source"><a href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</div>'
34 34 filelogentry = filelogentry.tmpl
35 35
36 annotateline = '<tr class="parity{parity}"><td class="annotate"><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}#{targetline}" title="{node|short}: {desc|escape|firstline}">{author|user}@{rev}</a></td><td class="lineno"><a href="#{lineid}" id="{lineid}">{linenumber}</a></td><td class="source">{line|escape}</td></tr>'
36 annotateline = '<tr class="parity{parity}"><td class="annotate"><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}#{targetline}" title="{node|short}: {desc|escape|firstline}">{author|user}@{rev}</a></td><td class="source"><a href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</td></tr>'
37 37
38 diffblock = '<table class="bigtable parity{parity}">{lines}</table>'
39 difflineplus = '<tr><td class="lineno"><a href="#{lineid}" id="{lineid}">{linenumber}</a></td><td class="source plusline">{line|escape}</td></tr>'
40 difflineminus = '<tr><td class="lineno"><a href="#{lineid}" id="{lineid}">{linenumber}</a></td><td class="source minusline">{line|escape}</td></tr>'
41 difflineat = '<tr><td class="lineno"><a href="#{lineid}" id="{lineid}">{linenumber}</a></td><td class="source atline">{line|escape}</td></tr>'
42 diffline = '<tr><td class="lineno"><a href="#{lineid}" id="{lineid}">{linenumber}</a></td><td class="source">{line|escape}</td></tr>'
38 diffblock = '<div class="source bottomline parity{parity}">{lines}</div>'
39 difflineplus = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> <span class="plusline">{line|escape}</span>'
40 difflineminus = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> <span class="minusline">{line|escape}</span>'
41 difflineat = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> <span class="atline">{line|escape}</span>'
42 diffline = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}'
43 43
44 44 changelogparent = '<tr><th class="parent">parent {rev}:</th><td class="parent"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
45 45
46 46 changesetparent = '<a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a> '
47 47
48 48 filerevparent = '<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{rename%filerename}{node|short}</a> '
49 49 filerevchild = '<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a> '
50 50
51 51 filerename = '{file|escape}@'
52 52 filelogrename = '<tr><th>base:</th><td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}@{node|short}</a></td></tr>'
53 53 fileannotateparent = '<tr><td class="metatag">parent:</td><td><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{rename%filerename}{node|short}</a></td></tr>'
54 54 changesetchild = '<a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a>'
55 55 changelogchild = '<tr><th class="child">child</th><td class="child"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
56 56 fileannotatechild = '<tr><td class="metatag">child:</td><td><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
57 57 tags = tags.tmpl
58 58 tagentry = '<tr class="tagEntry parity{parity}"><td><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{tag|escape}</a></td><td class="node">{node|short}</td></tr>'
59 59 changelogtag = '<span class="tag">{name|escape}</span> '
60 60 changesettag = '<span class="tag">{tag|escape}</span> '
61 61 filediffparent = '<tr><th class="parent">parent {rev}:</th><td class="parent"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
62 62 filelogparent = '<tr><th>parent {rev}:</th><td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
63 63 filediffchild = '<tr><th class="child">child {rev}:</th><td class="child"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
64 64 filelogchild = '<tr><th>child {rev}:</th><td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
65 65 indexentry = '<tr class="parity{parity}"><td><a href="{url}{sessionvars%urlparameter}">{name|escape}</a></td><td>{description}</td><td>{contact|obfuscate}</td><td class="age">{lastchange|age} ago</td><td class="indexlinks">{archives%indexarchiveentry}</td></tr>\n'
66 66 indexarchiveentry = '<a href="{url}archive/{node|short}{extension|urlescape}">&nbsp;&darr;{type|escape}</a>'
67 67 index = index.tmpl
68 68 archiveentry = '<li><a href="{url}archive/{node|short}{extension|urlescape}">{type|escape}</a></li>'
69 69 notfound = notfound.tmpl
70 70 error = error.tmpl
71 71 urlparameter = '{separator}{name}={value|urlescape}'
72 72 hiddenformentry = '<input type="hidden" name="{name}" value="{value|escape}" />'
@@ -1,73 +1,73 b''
1 1 default = 'shortlog'
2 2
3 3 mimetype = 'text/html; charset={encoding}'
4 4 header = header.tmpl
5 5 footer = ../coal/footer.tmpl
6 6 search = ../coal/search.tmpl
7 7
8 8 changelog = ../coal/shortlog.tmpl
9 9 shortlog = ../coal/shortlog.tmpl
10 10 shortlogentry = ../coal/shortlogentry.tmpl
11 11 graph = ../coal/graph.tmpl
12 12
13 13 naventry = '<a href="{url}log/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
14 14 navshortentry = '<a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
15 15 navgraphentry = '<a href="{url}graph/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
16 16 filenaventry = '<a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{label|escape}</a> '
17 17 filedifflink = '<a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> '
18 18 filenodelink = '<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> '
19 19 filenolink = '{file|escape} '
20 20 fileellipses = '...'
21 21 changelogentry = ../coal/shortlogentry.tmpl
22 22 searchentry = ../coal/shortlogentry.tmpl
23 23 changeset = ../coal/changeset.tmpl
24 24 manifest = ../coal/manifest.tmpl
25 25
26 26 direntry = '<tr class="fileline parity{parity}"><td class="name"><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}"><img src="{staticurl}coal-folder.png"> {basename|escape}/</a> <a href="{url}file/{node|short}{path|urlescape}/{emptydirs|urlescape}{sessionvars%urlparameter}">{emptydirs|escape}</a><td class="size"></td><td class="permissions">drwxr-xr-x</td></tr>'
27 27 fileentry = '<tr class="fileline parity{parity}"><td class="filename"><a href="{url}file/{node|short}/{file|urlescape}#l1{sessionvars%urlparameter}"><img src="{staticurl}coal-file.png"> {basename|escape}</a></td><td class="size">{size}</td><td class="permissions">{permissions|permissions}</td></tr>'
28 28
29 29 filerevision = ../coal/filerevision.tmpl
30 30 fileannotate = ../coal/fileannotate.tmpl
31 31 filediff = ../coal/filediff.tmpl
32 32 filelog = ../coal/filelog.tmpl
33 fileline = '<tr class="parity{parity}"><td class="lineno"><a href="#{lineid}" id="{lineid}">{linenumber}</a></td><td class="source">{line|escape}</td></tr>'
33 fileline = '<div class="parity{parity} source"><a href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</div>'
34 34 filelogentry = ../coal/filelogentry.tmpl
35 35
36 annotateline = '<tr class="parity{parity}"><td class="annotate"><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}#{targetline}" title="{node|short}: {desc|escape|firstline}">{author|user}@{rev}</a></td><td class="lineno"><a href="#{lineid}" id="{lineid}">{linenumber}</a></td><td class="source">{line|escape}</td></tr>'
36 annotateline = '<tr class="parity{parity}"><td class="annotate"><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}#{targetline}" title="{node|short}: {desc|escape|firstline}">{author|user}@{rev}</a></td><td class="source"><a href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</td></tr>'
37 37
38 diffblock = '<table class="bigtable parity{parity}">{lines}</table>'
39 difflineplus = '<tr><td class="lineno"><a href="#{lineid}" id="{lineid}">{linenumber}</a></td><td class="source plusline">{line|escape}</td></tr>'
40 difflineminus = '<tr><td class="lineno"><a href="#{lineid}" id="{lineid}">{linenumber}</a></td><td class="source minusline">{line|escape}</td></tr>'
41 difflineat = '<tr><td class="lineno"><a href="#{lineid}" id="{lineid}">{linenumber}</a></td><td class="source atline">{line|escape}</td></tr>'
42 diffline = '<tr><td class="lineno"><a href="#{lineid}" id="{lineid}">{linenumber}</a></td><td class="source">{line|escape}</td></tr>'
38 diffblock = '<div class="source bottomline parity{parity}">{lines}</div>'
39 difflineplus = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> <span class="plusline">{line|escape}</span>'
40 difflineminus = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> <span class="minusline">{line|escape}</span>'
41 difflineat = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> <span class="atline">{line|escape}</span>'
42 diffline = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}'
43 43
44 44 changelogparent = '<tr><th class="parent">parent {rev}:</th><td class="parent"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
45 45
46 46 changesetparent = '<a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a> '
47 47
48 48 filerevparent = '<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{rename%filerename}{node|short}</a> '
49 49 filerevchild = '<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a> '
50 50
51 51 filerename = '{file|escape}@'
52 52 filelogrename = '<tr><th>base:</th><td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}@{node|short}</a></td></tr>'
53 53 fileannotateparent = '<tr><td class="metatag">parent:</td><td><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{rename%filerename}{node|short}</a></td></tr>'
54 54 changesetchild = '<a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a>'
55 55 changelogchild = '<tr><th class="child">child</th><td class="child"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
56 56 fileannotatechild = '<tr><td class="metatag">child:</td><td><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
57 57 tags = ../coal/tags.tmpl
58 58 tagentry = '<tr class="tagEntry parity{parity}"><td><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{tag|escape}</a></td><td class="node">{node|short}</td></tr>'
59 59 changelogtag = '<tr><th class="tag">tag:</th><td class="tag">{tag|escape}</td></tr>'
60 60 changelogtag = '<span class="tag">{name|escape}</span> '
61 61 changesettag = '<span class="tag">{tag|escape}</span> '
62 62 filediffparent = '<tr><th class="parent">parent {rev}:</th><td class="parent"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
63 63 filelogparent = '<tr><th>parent {rev}:</th><td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
64 64 filediffchild = '<tr><th class="child">child {rev}:</th><td class="child"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
65 65 filelogchild = '<tr><th>child {rev}:</th><td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
66 66 indexentry = '<tr class="parity{parity}"><td><a href="{url}{sessionvars%urlparameter}">{name|escape}</a></td><td>{description}</td><td>{contact|obfuscate}</td><td class="age">{lastchange|age} ago</td><td class="indexlinks">{archives%indexarchiveentry}</td></tr>\n'
67 67 indexarchiveentry = '<a href="{url}archive/{node|short}{extension|urlescape}">&nbsp;&darr;{type|escape}</a>'
68 68 index = ../coal/index.tmpl
69 69 archiveentry = '<li><a href="{url}archive/{node|short}{extension|urlescape}">{type|escape}</a></li>'
70 70 notfound = ../coal/notfound.tmpl
71 71 error = ../coal/error.tmpl
72 72 urlparameter = '{separator}{name}={value|urlescape}'
73 73 hiddenformentry = '<input type="hidden" name="{name}" value="{value|escape}" />'
@@ -1,223 +1,233 b''
1 1 body {
2 2 margin: 0;
3 3 padding: 0;
4 4 background: black url(background.png) repeat-x;
5 5 font-family: sans-serif;
6 6 }
7 7
8 8 .container {
9 9 padding-right: 150px;
10 10 }
11 11
12 12 .main {
13 13 position: relative;
14 14 background: white;
15 15 padding: 2em;
16 16 border-right: 15px solid black;
17 17 border-bottom: 15px solid black;
18 18 }
19 19
20 20 #.main {
21 21 width:98%;
22 22 }
23 23
24 24 .overflow {
25 25 width: 100%;
26 26 overflow: auto;
27 27 }
28 28
29 29 .menu {
30 30 background: #999;
31 31 padding: 10px;
32 32 width: 75px;
33 33 margin: 0;
34 34 font-size: 80%;
35 35 text-align: left;
36 36 position: fixed;
37 37 top: 27px;
38 38 left: auto;
39 39 right: 27px;
40 40 }
41 41
42 42 #.menu {
43 43 position: absolute !important;
44 44 top:expression(eval(document.body.scrollTop + 27));
45 45 }
46 46
47 47 .menu ul {
48 48 list-style: none;
49 49 padding: 0;
50 50 margin: 10px 0 0 0;
51 51 }
52 52
53 53 .menu li {
54 54 margin-bottom: 3px;
55 55 padding: 2px 4px;
56 56 background: white;
57 57 color: black;
58 58 font-weight: normal;
59 59 }
60 60
61 61 .menu li.active {
62 62 background: black;
63 63 color: white;
64 64 }
65 65
66 66 .menu a { color: black; display: block; }
67 67
68 68 .search {
69 69 position: absolute;
70 70 top: .7em;
71 71 right: 2em;
72 72 }
73 73
74 74 form.search span {
75 75 display: none;
76 76 position: absolute;
77 77 top: 40px;
78 78 right: 0px;
79 79 width: 190px;
80 80 padding: 5px;
81 81 background: #ffc;
82 82 font-size: 70%;
83 83 border: 1px solid yellow;
84 84 -moz-border-radius: 5px; /* this works only in camino/firefox */
85 85 -webkit-border-radius: 5px; /* this is just for Safari */
86 86 }
87 87
88 88 form.search:hover span { display: block; }
89 89
90 90 a { text-decoration:none; }
91 91 .age { white-space:nowrap; }
92 92 .date { white-space:nowrap; }
93 93 .indexlinks { white-space:nowrap; }
94 94 .parity0 { background-color: #f0f0f0; }
95 95 .parity1 { background-color: white; }
96 96 .plusline { color: green; }
97 97 .minusline { color: #dc143c; } /* crimson */
98 98 .atline { color: purple; }
99 99
100 100 .navigate {
101 101 text-align: right;
102 102 font-size: 60%;
103 103 margin: 1em 0 1em 0;
104 104 }
105 105
106 106 .tag {
107 107 color: #999;
108 108 font-size: 70%;
109 109 font-weight: normal;
110 110 margin-left: .5em;
111 111 vertical-align: baseline;
112 112 }
113 113
114 114 /* Common */
115 115 pre { margin: 0; }
116 116
117 117 h2 { font-size: 120%; border-bottom: 1px solid #999; }
118 118 h2 a { color: #000; }
119 119 h3 {
120 120 margin-top: -.7em;
121 121 font-size: 100%;
122 122 }
123 123
124 124 /* log and tags tables */
125 125 .bigtable {
126 126 border-bottom: 1px solid #999;
127 127 border-collapse: collapse;
128 128 font-size: 90%;
129 129 width: 100%;
130 130 font-weight: normal;
131 131 text-align: left;
132 132 }
133 133
134 134 .bigtable td {
135 135 padding: 1px 4px 1px 4px;
136 136 vertical-align: top;
137 137 }
138 138
139 139 .bigtable th {
140 140 padding: 1px 4px 1px 4px;
141 141 border-bottom: 1px solid #999;
142 142 font-size: smaller;
143 143 }
144 144 .bigtable tr { border: none; }
145 145 .bigtable .age { width: 6em; }
146 146 .bigtable .author { width: 12em; }
147 147 .bigtable .description { }
148 148 .bigtable .node { width: 5em; font-family: monospace;}
149 149 .bigtable .lineno { width: 2em; text-align: right;}
150 150 .bigtable .lineno a { color: #999; font-size: smaller; font-family: monospace;}
151 .bigtable td.source { font-family: monospace; white-space: pre; }
152 151 .bigtable .permissions { width: 8em; text-align: left;}
153 152 .bigtable .size { width: 5em; text-align: right; }
154 153 .bigtable .annotate { text-align: right; }
155 154 .bigtable td.annotate { font-size: smaller; }
155 .bigtable td.source { font-size: inherit; }
156
157 .source, .sourcefirst, .sourcelast {
158 font-family: monospace;
159 white-space: pre;
160 font-size: 90%;
161 }
162 .sourcefirst { border-bottom: 1px solid #999; font-weight: bold; font-size: smaller; }
163 .sourcelast { border-top: 1px solid #999; }
164 .source a { color: #999; font-size: smaller; font-family: monospace;}
165 .bottomline { border-bottom: 1px solid #999; }
156 166
157 167 .fileline { font-family: monospace; }
158 168 .fileline img { border: 0; }
159 169
160 170 /* Changeset entry */
161 171 #changesetEntry {
162 172 border-collapse: collapse;
163 173 font-size: 90%;
164 174 width: 100%;
165 175 margin-bottom: 1em;
166 176 }
167 177
168 178 #changesetEntry th {
169 179 padding: 1px 4px 1px 4px;
170 180 width: 4em;
171 181 text-align: right;
172 182 font-weight: normal;
173 183 color: #999;
174 184 margin-right: .5em;
175 185 vertical-align: top;
176 186 }
177 187
178 188 div.description {
179 189 border-left: 3px solid #999;
180 190 margin: 1em 0 1em 0;
181 191 padding: .3em;
182 192 }
183 193
184 194 div#wrapper {
185 195 position: relative;
186 196 border-top: 1px solid black;
187 197 border-bottom: 1px solid black;
188 198 margin: 0;
189 199 padding: 0;
190 200 }
191 201
192 202 canvas {
193 203 position: absolute;
194 204 z-index: 5;
195 205 top: -0.7em;
196 206 margin: 0;
197 207 }
198 208
199 209 ul#graphnodes {
200 210 position: absolute;
201 211 z-index: 10;
202 212 top: -1.0em;
203 213 list-style: none inside none;
204 214 padding: 0;
205 215 }
206 216
207 217 ul#nodebgs {
208 218 list-style: none inside none;
209 219 padding: 0;
210 220 margin: 0;
211 221 top: -0.7em;
212 222 }
213 223
214 224 ul#graphnodes li, ul#nodebgs li {
215 225 height: 39px;
216 226 }
217 227
218 228 ul#graphnodes li .info {
219 229 display: block;
220 230 font-size: 70%;
221 231 position: relative;
222 232 top: -3px;
223 233 }
@@ -1,215 +1,223 b''
1 1 body {
2 2 margin: 0;
3 3 padding: 0;
4 4 background: white;
5 5 font-family: sans-serif;
6 6 }
7 7
8 8 .container {
9 9 padding-left: 115px;
10 10 }
11 11
12 12 .main {
13 13 position: relative;
14 14 background: white;
15 15 padding: 2em 2em 2em 0;
16 16 }
17 17
18 18 #.main {
19 19 width: 98%;
20 20 }
21 21
22 22 .overflow {
23 23 width: 100%;
24 24 overflow: auto;
25 25 }
26 26
27 27 .menu {
28 28 width: 90px;
29 29 margin: 0;
30 30 font-size: 80%;
31 31 text-align: left;
32 32 position: absolute;
33 33 top: 20px;
34 34 left: 20px;
35 35 right: auto;
36 36 }
37 37
38 38 .menu ul {
39 39 list-style: none;
40 40 padding: 0;
41 41 margin: 10px 0 0 0;
42 42 border-left: 2px solid #999;
43 43 }
44 44
45 45 .menu li {
46 46 margin-bottom: 3px;
47 47 padding: 2px 4px;
48 48 background: white;
49 49 color: black;
50 50 font-weight: normal;
51 51 }
52 52
53 53 .menu li.active {
54 54 font-weight: bold;
55 55 }
56 56
57 57 .menu a { color: black; display: block; }
58 58
59 59 .search {
60 60 position: absolute;
61 61 top: .7em;
62 62 right: 2em;
63 63 }
64 64
65 65 form.search span {
66 66 display: none;
67 67 position: absolute;
68 68 top: 40px;
69 69 right: 0px;
70 70 width: 190px;
71 71 padding: 5px;
72 72 background: #ffc;
73 73 font-size: 70%;
74 74 border: 1px solid yellow;
75 75 -moz-border-radius: 5px; /* this works only in camino/firefox */
76 76 -webkit-border-radius: 5px; /* this is just for Safari */
77 77 }
78 78
79 79 form.search:hover span { display: block; }
80 80
81 81 a { text-decoration:none; }
82 82 .age { white-space:nowrap; }
83 83 .date { white-space:nowrap; }
84 84 .indexlinks { white-space:nowrap; }
85 85 .parity0 { background-color: #f0f0f0; }
86 86 .parity1 { background-color: white; }
87 87 .plusline { color: green; }
88 88 .minusline { color: #dc143c; } /* crimson */
89 89 .atline { color: purple; }
90 90
91 91 .navigate {
92 92 text-align: right;
93 93 font-size: 60%;
94 94 margin: 1em 0 1em 0;
95 95 }
96 96
97 97 .tag {
98 98 color: #999;
99 99 font-size: 70%;
100 100 font-weight: normal;
101 101 margin-left: .5em;
102 102 vertical-align: baseline;
103 103 }
104 104
105 105 /* Common */
106 106 pre { margin: 0; }
107 107
108 108 h2 { font-size: 120%; border-bottom: 1px solid #999; }
109 109 h2 a { color: #000; }
110 110 h3 {
111 111 margin-top: -.7em;
112 112 font-size: 100%;
113 113 }
114 114
115 115 /* log and tags tables */
116 116 .bigtable {
117 117 border-bottom: 1px solid #999;
118 118 border-collapse: collapse;
119 119 font-size: 90%;
120 120 width: 100%;
121 121 font-weight: normal;
122 122 text-align: left;
123 123 }
124 124
125 125 .bigtable td {
126 126 padding: 1px 4px 1px 4px;
127 127 vertical-align: top;
128 128 }
129 129
130 130 .bigtable th {
131 131 padding: 1px 4px 1px 4px;
132 132 border-bottom: 1px solid #999;
133 133 font-size: smaller;
134 134 }
135 135 .bigtable tr { border: none; }
136 136 .bigtable .age { width: 6em; }
137 137 .bigtable .author { width: 12em; }
138 138 .bigtable .description { }
139 139 .bigtable .node { width: 5em; font-family: monospace;}
140 .bigtable .lineno { width: 2em; text-align: right;}
141 .bigtable .lineno a { color: #999; font-size: smaller; font-family: monospace;}
142 .bigtable td.source { font-family: monospace; white-space: pre; }
143 140 .bigtable .permissions { width: 8em; text-align: left;}
144 141 .bigtable .size { width: 5em; text-align: right; }
145 142 .bigtable .annotate { text-align: right; }
146 143 .bigtable td.annotate { font-size: smaller; }
144 .bigtable td.source { font-size: inherit; }
145
146 .source, .sourcefirst, .sourcelast {
147 font-family: monospace;
148 white-space: pre;
149 font-size: 90%;
150 }
151 .sourcefirst { border-bottom: 1px solid #999; font-weight: bold; font-size: smaller; }
152 .sourcelast { border-top: 1px solid #999; }
153 .source a { color: #999; font-size: smaller; font-family: monospace;}
154 .bottomline { border-bottom: 1px solid #999; }
147 155
148 156 .fileline { font-family: monospace; }
149 157 .fileline img { border: 0; }
150 158
151 159 /* Changeset entry */
152 160 #changesetEntry {
153 161 border-collapse: collapse;
154 162 font-size: 90%;
155 163 width: 100%;
156 164 margin-bottom: 1em;
157 165 }
158 166
159 167 #changesetEntry th {
160 168 padding: 1px 4px 1px 4px;
161 169 width: 4em;
162 170 text-align: right;
163 171 font-weight: normal;
164 172 color: #999;
165 173 margin-right: .5em;
166 174 vertical-align: top;
167 175 }
168 176
169 177 div.description {
170 178 border-left: 2px solid #999;
171 179 margin: 1em 0 1em 0;
172 180 padding: .3em;
173 181 }
174 182
175 183 /* Graph */
176 184 div#wrapper {
177 185 position: relative;
178 186 border-top: 1px solid black;
179 187 border-bottom: 1px solid black;
180 188 margin: 0;
181 189 padding: 0;
182 190 }
183 191
184 192 canvas {
185 193 position: absolute;
186 194 z-index: 5;
187 195 top: -0.7em;
188 196 margin: 0;
189 197 }
190 198
191 199 ul#nodebgs {
192 200 list-style: none inside none;
193 201 padding: 0;
194 202 margin: 0;
195 203 top: -0.7em;
196 204 }
197 205
198 206 ul#graphnodes li, ul#nodebgs li {
199 207 height: 39px;
200 208 }
201 209
202 210 ul#graphnodes {
203 211 position: absolute;
204 212 z-index: 10;
205 213 top: -1.0em;
206 214 list-style: none inside none;
207 215 padding: 0;
208 216 }
209 217
210 218 ul#graphnodes li .info {
211 219 display: block;
212 220 font-size: 70%;
213 221 position: relative;
214 222 top: -3px;
215 223 }
General Comments 0
You need to be logged in to leave comments. Login now