Show More
@@ -1,16 +1,16 | |||||
1 | <entry> |
|
1 | <entry> | |
2 | <title>#desc|strip|firstline|strip|escape#</title> |
|
2 | <title>#desc|strip|firstline|strip|escape|nonempty#</title> | |
3 | <id>{urlbase}{url}#changeset-{node}</id> |
|
3 | <id>{urlbase}{url}#changeset-{node}</id> | |
4 | <link href="{urlbase}{url}rev/{node}"/> |
|
4 | <link href="{urlbase}{url}rev/{node}"/> | |
5 | <author> |
|
5 | <author> | |
6 | <name>#author|person|escape#</name> |
|
6 | <name>#author|person|escape#</name> | |
7 | <email>#author|email|obfuscate#</email> |
|
7 | <email>#author|email|obfuscate#</email> | |
8 | </author> |
|
8 | </author> | |
9 | <updated>#date|rfc3339date#</updated> |
|
9 | <updated>#date|rfc3339date#</updated> | |
10 | <published>#date|rfc3339date#</published> |
|
10 | <published>#date|rfc3339date#</published> | |
11 | <content type="xhtml"> |
|
11 | <content type="xhtml"> | |
12 | <div xmlns="http://www.w3.org/1999/xhtml"> |
|
12 | <div xmlns="http://www.w3.org/1999/xhtml"> | |
13 | <pre xml:space="preserve">#desc|escape#</pre> |
|
13 | <pre xml:space="preserve">#desc|escape|nonempty#</pre> | |
14 | </div> |
|
14 | </div> | |
15 | </content> |
|
15 | </content> | |
16 | </entry> |
|
16 | </entry> |
@@ -1,14 +1,14 | |||||
1 | <div> |
|
1 | <div> | |
2 | <a class="title" href="{url}rev/#node|short#{sessionvars%urlparameter}"><span class="age">#date|age# ago</span>#desc|strip|firstline|escape#<span class="logtags"> {inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}</span></a> |
|
2 | <a class="title" href="{url}rev/#node|short#{sessionvars%urlparameter}"><span class="age">#date|age# ago</span>#desc|strip|firstline|escape|nonempty#<span class="logtags"> {inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}</span></a> | |
3 | </div> |
|
3 | </div> | |
4 | <div class="title_text"> |
|
4 | <div class="title_text"> | |
5 | <div class="log_link"> |
|
5 | <div class="log_link"> | |
6 | <a href="{url}rev/#node|short#{sessionvars%urlparameter}">changeset</a><br/> |
|
6 | <a href="{url}rev/#node|short#{sessionvars%urlparameter}">changeset</a><br/> | |
7 | </div> |
|
7 | </div> | |
8 | <i>#author|obfuscate# [#date|rfc822date#] rev #rev#</i><br/> |
|
8 | <i>#author|obfuscate# [#date|rfc822date#] rev #rev#</i><br/> | |
9 | </div> |
|
9 | </div> | |
10 | <div class="log_body"> |
|
10 | <div class="log_body"> | |
11 | #desc|strip|escape|addbreaks# |
|
11 | #desc|strip|escape|addbreaks|nonempty# | |
12 | <br/> |
|
12 | <br/> | |
13 | <br/> |
|
13 | <br/> | |
14 | </div> |
|
14 | </div> |
@@ -1,42 +1,42 | |||||
1 | #header# |
|
1 | #header# | |
2 | <title>{repo|escape}: changeset {rev}:{node|short}</title> |
|
2 | <title>{repo|escape}: changeset {rev}:{node|short}</title> | |
3 | <link rel="alternate" type="application/atom+xml" |
|
3 | <link rel="alternate" type="application/atom+xml" | |
4 | href="{url}atom-log" title="Atom feed for #repo|escape#"/> |
|
4 | href="{url}atom-log" title="Atom feed for #repo|escape#"/> | |
5 | <link rel="alternate" type="application/rss+xml" |
|
5 | <link rel="alternate" type="application/rss+xml" | |
6 | href="{url}rss-log" title="RSS feed for #repo|escape#"/> |
|
6 | href="{url}rss-log" title="RSS feed for #repo|escape#"/> | |
7 | </head> |
|
7 | </head> | |
8 | <body> |
|
8 | <body> | |
9 |
|
9 | |||
10 | <div class="page_header"> |
|
10 | <div class="page_header"> | |
11 | <a href="http://www.selenic.com/mercurial/" title="Mercurial" style="float: right;">Mercurial</a><a href="#url#summary{sessionvars%urlparameter}">#repo|escape#</a> / changeset |
|
11 | <a href="http://www.selenic.com/mercurial/" title="Mercurial" style="float: right;">Mercurial</a><a href="#url#summary{sessionvars%urlparameter}">#repo|escape#</a> / changeset | |
12 | </div> |
|
12 | </div> | |
13 |
|
13 | |||
14 | <div class="page_nav"> |
|
14 | <div class="page_nav"> | |
15 | <a href="{url}summary{sessionvars%urlparameter}">summary</a> | <a href="{url}shortlog/#rev#{sessionvars%urlparameter}">shortlog</a> | <a href="{url}log/#rev#{sessionvars%urlparameter}">changelog</a> | <a href="{url}graph{sessionvars%urlparameter}">graph</a> | <a href="{url}tags{sessionvars%urlparameter}">tags</a> | <a href="{url}file/#node|short#{sessionvars%urlparameter}">files</a> | changeset | <a href="{url}raw-rev/#node|short#">raw</a> #archives%archiveentry#<br/> |
|
15 | <a href="{url}summary{sessionvars%urlparameter}">summary</a> | <a href="{url}shortlog/#rev#{sessionvars%urlparameter}">shortlog</a> | <a href="{url}log/#rev#{sessionvars%urlparameter}">changelog</a> | <a href="{url}graph{sessionvars%urlparameter}">graph</a> | <a href="{url}tags{sessionvars%urlparameter}">tags</a> | <a href="{url}file/#node|short#{sessionvars%urlparameter}">files</a> | changeset | <a href="{url}raw-rev/#node|short#">raw</a> #archives%archiveentry#<br/> | |
16 | </div> |
|
16 | </div> | |
17 |
|
17 | |||
18 | <div> |
|
18 | <div> | |
19 | <a class="title" href="{url}raw-rev/#node|short#">#desc|strip|escape|firstline# <span class="logtags">{inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}</span></a> |
|
19 | <a class="title" href="{url}raw-rev/#node|short#">#desc|strip|escape|firstline|nonempty# <span class="logtags">{inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}</span></a> | |
20 | </div> |
|
20 | </div> | |
21 | <div class="title_text"> |
|
21 | <div class="title_text"> | |
22 | <table cellspacing="0"> |
|
22 | <table cellspacing="0"> | |
23 | <tr><td>author</td><td>#author|obfuscate#</td></tr> |
|
23 | <tr><td>author</td><td>#author|obfuscate#</td></tr> | |
24 | <tr><td></td><td>#date|date# (#date|age# ago)</td></tr> |
|
24 | <tr><td></td><td>#date|date# (#date|age# ago)</td></tr> | |
25 | #branch%changesetbranch# |
|
25 | #branch%changesetbranch# | |
26 | <tr><td>changeset {rev}</td><td style="font-family:monospace">{node|short}</td></tr> |
|
26 | <tr><td>changeset {rev}</td><td style="font-family:monospace">{node|short}</td></tr> | |
27 | #parent%changesetparent# |
|
27 | #parent%changesetparent# | |
28 | #child%changesetchild# |
|
28 | #child%changesetchild# | |
29 | </table></div> |
|
29 | </table></div> | |
30 |
|
30 | |||
31 | <div class="page_body"> |
|
31 | <div class="page_body"> | |
32 | #desc|strip|escape|addbreaks# |
|
32 | #desc|strip|escape|addbreaks|nonempty# | |
33 | </div> |
|
33 | </div> | |
34 | <div class="list_head"></div> |
|
34 | <div class="list_head"></div> | |
35 | <div class="title_text"> |
|
35 | <div class="title_text"> | |
36 | <table cellspacing="0"> |
|
36 | <table cellspacing="0"> | |
37 | #files# |
|
37 | #files# | |
38 | </table></div> |
|
38 | </table></div> | |
39 |
|
39 | |||
40 | <div class="page_body">#diff#</div> |
|
40 | <div class="page_body">#diff#</div> | |
41 |
|
41 | |||
42 | #footer# |
|
42 | #footer# |
@@ -1,60 +1,60 | |||||
1 | #header# |
|
1 | #header# | |
2 | <title>{repo|escape}: {file|escape}@{node|short} (annotated)</title> |
|
2 | <title>{repo|escape}: {file|escape}@{node|short} (annotated)</title> | |
3 | <link rel="alternate" type="application/atom+xml" |
|
3 | <link rel="alternate" type="application/atom+xml" | |
4 | href="{url}atom-log" title="Atom feed for #repo|escape#"/> |
|
4 | href="{url}atom-log" title="Atom feed for #repo|escape#"/> | |
5 | <link rel="alternate" type="application/rss+xml" |
|
5 | <link rel="alternate" type="application/rss+xml" | |
6 | href="{url}rss-log" title="RSS feed for #repo|escape#"/> |
|
6 | href="{url}rss-log" title="RSS feed for #repo|escape#"/> | |
7 | </head> |
|
7 | </head> | |
8 | <body> |
|
8 | <body> | |
9 |
|
9 | |||
10 | <div class="page_header"> |
|
10 | <div class="page_header"> | |
11 | <a href="http://www.selenic.com/mercurial/" title="Mercurial" style="float: right;">Mercurial</a><a href="{url}summary{sessionvars%urlparameter}">#repo|escape#</a> / annotate |
|
11 | <a href="http://www.selenic.com/mercurial/" title="Mercurial" style="float: right;">Mercurial</a><a href="{url}summary{sessionvars%urlparameter}">#repo|escape#</a> / annotate | |
12 | </div> |
|
12 | </div> | |
13 |
|
13 | |||
14 | <div class="page_nav"> |
|
14 | <div class="page_nav"> | |
15 | <a href="{url}summary{sessionvars%urlparameter}">summary</a> | |
|
15 | <a href="{url}summary{sessionvars%urlparameter}">summary</a> | | |
16 | <a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a> | |
|
16 | <a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a> | | |
17 | <a href="{url}log{sessionvars%urlparameter}">changelog</a> | |
|
17 | <a href="{url}log{sessionvars%urlparameter}">changelog</a> | | |
18 | <a href="{url}graph{sessionvars%urlparameter}">graph</a> | |
|
18 | <a href="{url}graph{sessionvars%urlparameter}">graph</a> | | |
19 | <a href="{url}tags{sessionvars%urlparameter}">tags</a> | |
|
19 | <a href="{url}tags{sessionvars%urlparameter}">tags</a> | | |
20 | <a href="{url}file/#node|short##path|urlescape#{sessionvars%urlparameter}">files</a> | |
|
20 | <a href="{url}file/#node|short##path|urlescape#{sessionvars%urlparameter}">files</a> | | |
21 | <a href="{url}rev/#node|short#{sessionvars%urlparameter}">changeset</a> | |
|
21 | <a href="{url}rev/#node|short#{sessionvars%urlparameter}">changeset</a> | | |
22 | <a href="{url}file/{node|short}/#file|urlescape#{sessionvars%urlparameter}">file</a> | |
|
22 | <a href="{url}file/{node|short}/#file|urlescape#{sessionvars%urlparameter}">file</a> | | |
23 | <a href="{url}log/{node|short}/#file|urlescape#{sessionvars%urlparameter}">revisions</a> | |
|
23 | <a href="{url}log/{node|short}/#file|urlescape#{sessionvars%urlparameter}">revisions</a> | | |
24 | annotate | |
|
24 | annotate | | |
25 | <a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a> | |
|
25 | <a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a> | | |
26 | <a href="{url}raw-annotate/{node|short}/#file|urlescape#">raw</a><br/> |
|
26 | <a href="{url}raw-annotate/{node|short}/#file|urlescape#">raw</a><br/> | |
27 | </div> |
|
27 | </div> | |
28 |
|
28 | |||
29 | <div class="title">#file|escape#</div> |
|
29 | <div class="title">#file|escape#</div> | |
30 |
|
30 | |||
31 | <div class="title_text"> |
|
31 | <div class="title_text"> | |
32 | <table cellspacing="0"> |
|
32 | <table cellspacing="0"> | |
33 | <tr> |
|
33 | <tr> | |
34 | <td>author</td> |
|
34 | <td>author</td> | |
35 | <td>#author|obfuscate#</td></tr> |
|
35 | <td>#author|obfuscate#</td></tr> | |
36 | <tr> |
|
36 | <tr> | |
37 | <td></td> |
|
37 | <td></td> | |
38 | <td>#date|date# (#date|age# ago)</td></tr> |
|
38 | <td>#date|date# (#date|age# ago)</td></tr> | |
39 | #branch%filerevbranch# |
|
39 | #branch%filerevbranch# | |
40 | <tr> |
|
40 | <tr> | |
41 | <td>changeset {rev}</td> |
|
41 | <td>changeset {rev}</td> | |
42 | <td style="font-family:monospace"><a class="list" href="{url}rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></td></tr> |
|
42 | <td style="font-family:monospace"><a class="list" href="{url}rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></td></tr> | |
43 | #parent%fileannotateparent# |
|
43 | #parent%fileannotateparent# | |
44 | #child%fileannotatechild# |
|
44 | #child%fileannotatechild# | |
45 | <tr> |
|
45 | <tr> | |
46 | <td>permissions</td> |
|
46 | <td>permissions</td> | |
47 | <td style="font-family:monospace">#permissions|permissions#</td></tr> |
|
47 | <td style="font-family:monospace">#permissions|permissions#</td></tr> | |
48 | </table> |
|
48 | </table> | |
49 | </div> |
|
49 | </div> | |
50 |
|
50 | |||
51 | <div class="page_path"> |
|
51 | <div class="page_path"> | |
52 | {desc|strip|escape|addbreaks} |
|
52 | {desc|strip|escape|addbreaks|nonempty} | |
53 | </div> |
|
53 | </div> | |
54 | <div class="page_body"> |
|
54 | <div class="page_body"> | |
55 | <table> |
|
55 | <table> | |
56 | #annotate%annotateline# |
|
56 | #annotate%annotateline# | |
57 | </table> |
|
57 | </table> | |
58 | </div> |
|
58 | </div> | |
59 |
|
59 | |||
60 | #footer# |
|
60 | #footer# |
@@ -1,59 +1,59 | |||||
1 | #header# |
|
1 | #header# | |
2 | <title>{repo|escape}: {file|escape}@{node|short}</title> |
|
2 | <title>{repo|escape}: {file|escape}@{node|short}</title> | |
3 | <link rel="alternate" type="application/atom+xml" |
|
3 | <link rel="alternate" type="application/atom+xml" | |
4 | href="{url}atom-log" title="Atom feed for #repo|escape#"/> |
|
4 | href="{url}atom-log" title="Atom feed for #repo|escape#"/> | |
5 | <link rel="alternate" type="application/rss+xml" |
|
5 | <link rel="alternate" type="application/rss+xml" | |
6 | href="{url}rss-log" title="RSS feed for #repo|escape#"/> |
|
6 | href="{url}rss-log" title="RSS feed for #repo|escape#"/> | |
7 | </head> |
|
7 | </head> | |
8 | <body> |
|
8 | <body> | |
9 |
|
9 | |||
10 | <div class="page_header"> |
|
10 | <div class="page_header"> | |
11 | <a href="http://www.selenic.com/mercurial/" title="Mercurial" style="float: right;">Mercurial</a><a href="{url}summary{sessionvars%urlparameter}">#repo|escape#</a> / file revision |
|
11 | <a href="http://www.selenic.com/mercurial/" title="Mercurial" style="float: right;">Mercurial</a><a href="{url}summary{sessionvars%urlparameter}">#repo|escape#</a> / file revision | |
12 | </div> |
|
12 | </div> | |
13 |
|
13 | |||
14 | <div class="page_nav"> |
|
14 | <div class="page_nav"> | |
15 | <a href="{url}summary{sessionvars%urlparameter}">summary</a> | |
|
15 | <a href="{url}summary{sessionvars%urlparameter}">summary</a> | | |
16 | <a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a> | |
|
16 | <a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a> | | |
17 | <a href="{url}log{sessionvars%urlparameter}">changelog</a> | |
|
17 | <a href="{url}log{sessionvars%urlparameter}">changelog</a> | | |
18 | <a href="{url}graph{sessionvars%urlparameter}">graph</a> | |
|
18 | <a href="{url}graph{sessionvars%urlparameter}">graph</a> | | |
19 | <a href="{url}tags{sessionvars%urlparameter}">tags</a> | |
|
19 | <a href="{url}tags{sessionvars%urlparameter}">tags</a> | | |
20 | <a href="{url}file/#node|short##path|urlescape#{sessionvars%urlparameter}">files</a> | |
|
20 | <a href="{url}file/#node|short##path|urlescape#{sessionvars%urlparameter}">files</a> | | |
21 | <a href="{url}rev/#node|short#{sessionvars%urlparameter}">changeset</a> | |
|
21 | <a href="{url}rev/#node|short#{sessionvars%urlparameter}">changeset</a> | | |
22 | file | |
|
22 | file | | |
23 | <a href="{url}log/{node|short}/#file|urlescape#{sessionvars%urlparameter}">revisions</a> | |
|
23 | <a href="{url}log/{node|short}/#file|urlescape#{sessionvars%urlparameter}">revisions</a> | | |
24 | <a href="{url}annotate/{node|short}/#file|urlescape#{sessionvars%urlparameter}">annotate</a> | |
|
24 | <a href="{url}annotate/{node|short}/#file|urlescape#{sessionvars%urlparameter}">annotate</a> | | |
25 | <a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a> | |
|
25 | <a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a> | | |
26 | <a href="{url}raw-file/{node|short}/#file|urlescape#">raw</a><br/> |
|
26 | <a href="{url}raw-file/{node|short}/#file|urlescape#">raw</a><br/> | |
27 | </div> |
|
27 | </div> | |
28 |
|
28 | |||
29 | <div class="title">#file|escape#</div> |
|
29 | <div class="title">#file|escape#</div> | |
30 |
|
30 | |||
31 | <div class="title_text"> |
|
31 | <div class="title_text"> | |
32 | <table cellspacing="0"> |
|
32 | <table cellspacing="0"> | |
33 | <tr> |
|
33 | <tr> | |
34 | <td>author</td> |
|
34 | <td>author</td> | |
35 | <td>#author|obfuscate#</td></tr> |
|
35 | <td>#author|obfuscate#</td></tr> | |
36 | <tr> |
|
36 | <tr> | |
37 | <td></td> |
|
37 | <td></td> | |
38 | <td>#date|date# (#date|age# ago)</td></tr> |
|
38 | <td>#date|date# (#date|age# ago)</td></tr> | |
39 | #branch%filerevbranch# |
|
39 | #branch%filerevbranch# | |
40 | <tr> |
|
40 | <tr> | |
41 | <td>changeset {rev}</td> |
|
41 | <td>changeset {rev}</td> | |
42 | <td style="font-family:monospace"><a class="list" href="{url}rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></td></tr> |
|
42 | <td style="font-family:monospace"><a class="list" href="{url}rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></td></tr> | |
43 | #parent%filerevparent# |
|
43 | #parent%filerevparent# | |
44 | #child%filerevchild# |
|
44 | #child%filerevchild# | |
45 | <tr> |
|
45 | <tr> | |
46 | <td>permissions</td> |
|
46 | <td>permissions</td> | |
47 | <td style="font-family:monospace">#permissions|permissions#</td></tr> |
|
47 | <td style="font-family:monospace">#permissions|permissions#</td></tr> | |
48 | </table> |
|
48 | </table> | |
49 | </div> |
|
49 | </div> | |
50 |
|
50 | |||
51 | <div class="page_path"> |
|
51 | <div class="page_path"> | |
52 | {desc|strip|escape|addbreaks} |
|
52 | {desc|strip|escape|addbreaks|nonempty} | |
53 | </div> |
|
53 | </div> | |
54 |
|
54 | |||
55 | <div class="page_body"> |
|
55 | <div class="page_body"> | |
56 | #text%fileline# |
|
56 | #text%fileline# | |
57 | </div> |
|
57 | </div> | |
58 |
|
58 | |||
59 | #footer# |
|
59 | #footer# |
@@ -1,120 +1,123 | |||||
1 | #header# |
|
1 | #header# | |
2 | <title>#repo|escape#: Graph</title> |
|
2 | <title>#repo|escape#: Graph</title> | |
3 | <link rel="alternate" type="application/atom+xml" |
|
3 | <link rel="alternate" type="application/atom+xml" | |
4 | href="{url}atom-log" title="Atom feed for #repo|escape#"/> |
|
4 | href="{url}atom-log" title="Atom feed for #repo|escape#"/> | |
5 | <link rel="alternate" type="application/rss+xml" |
|
5 | <link rel="alternate" type="application/rss+xml" | |
6 | href="{url}rss-log" title="RSS feed for #repo|escape#"/> |
|
6 | href="{url}rss-log" title="RSS feed for #repo|escape#"/> | |
7 | <!--[if IE]><script type="text/javascript" src="{staticurl}excanvas.js"></script><![endif]--> |
|
7 | <!--[if IE]><script type="text/javascript" src="{staticurl}excanvas.js"></script><![endif]--> | |
8 | </head> |
|
8 | </head> | |
9 | <body> |
|
9 | <body> | |
10 |
|
10 | |||
11 | <div class="page_header"> |
|
11 | <div class="page_header"> | |
12 | <a href="http://www.selenic.com/mercurial/" title="Mercurial" style="float: right;">Mercurial</a><a href="{url}summary{sessionvars%urlparameter}">#repo|escape#</a> / graph |
|
12 | <a href="http://www.selenic.com/mercurial/" title="Mercurial" style="float: right;">Mercurial</a><a href="{url}summary{sessionvars%urlparameter}">#repo|escape#</a> / graph | |
13 | </div> |
|
13 | </div> | |
14 |
|
14 | |||
15 | <form action="{url}log"> |
|
15 | <form action="{url}log"> | |
16 | {sessionvars%hiddenformentry} |
|
16 | {sessionvars%hiddenformentry} | |
17 | <div class="search"> |
|
17 | <div class="search"> | |
18 | <input type="text" name="rev" /> |
|
18 | <input type="text" name="rev" /> | |
19 | </div> |
|
19 | </div> | |
20 | </form> |
|
20 | </form> | |
21 | <div class="page_nav"> |
|
21 | <div class="page_nav"> | |
22 | <a href="{url}summary{sessionvars%urlparameter}">summary</a> | |
|
22 | <a href="{url}summary{sessionvars%urlparameter}">summary</a> | | |
23 | <a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a> | |
|
23 | <a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a> | | |
24 | <a href="{url}log/#rev#{sessionvars%urlparameter}">changelog</a> | |
|
24 | <a href="{url}log/#rev#{sessionvars%urlparameter}">changelog</a> | | |
25 | graph | |
|
25 | graph | | |
26 | <a href="{url}tags{sessionvars%urlparameter}">tags</a> | |
|
26 | <a href="{url}tags{sessionvars%urlparameter}">tags</a> | | |
27 | <a href="{url}file/#node|short#{sessionvars%urlparameter}">files</a> |
|
27 | <a href="{url}file/#node|short#{sessionvars%urlparameter}">files</a> | |
28 | <br/> |
|
28 | <br/> | |
29 | <a href="{url}graph/{rev}{lessvars%urlparameter}">less</a> |
|
29 | <a href="{url}graph/{rev}{lessvars%urlparameter}">less</a> | |
30 | <a href="{url}graph/{rev}{morevars%urlparameter}">more</a> |
|
30 | <a href="{url}graph/{rev}{morevars%urlparameter}">more</a> | |
31 | | #changenav%navgraphentry#<br/> |
|
31 | | #changenav%navgraphentry#<br/> | |
32 | </div> |
|
32 | </div> | |
33 |
|
33 | |||
34 | <div class="title"> </div> |
|
34 | <div class="title"> </div> | |
35 |
|
35 | |||
36 | <noscript>The revision graph only works with JavaScript-enabled browsers.</noscript> |
|
36 | <noscript>The revision graph only works with JavaScript-enabled browsers.</noscript> | |
37 |
|
37 | |||
38 | <div id="wrapper"> |
|
38 | <div id="wrapper"> | |
39 | <ul id="nodebgs"></ul> |
|
39 | <ul id="nodebgs"></ul> | |
40 | <canvas id="graph" width="224" height="#canvasheight#"></canvas> |
|
40 | <canvas id="graph" width="224" height="#canvasheight#"></canvas> | |
41 | <ul id="graphnodes"></ul> |
|
41 | <ul id="graphnodes"></ul> | |
42 | </div> |
|
42 | </div> | |
43 |
|
43 | |||
44 | <script type="text/javascript" src="#staticurl#graph.js"></script> |
|
44 | <script type="text/javascript" src="#staticurl#graph.js"></script> | |
45 | <script> |
|
45 | <script> | |
46 | <!-- hide script content |
|
46 | <!-- hide script content | |
47 |
|
47 | |||
48 | var data = {jsdata|json}; |
|
48 | var data = {jsdata|json}; | |
49 | var graph = new Graph(); |
|
49 | var graph = new Graph(); | |
50 | graph.scale({bg_height}); |
|
50 | graph.scale({bg_height}); | |
51 |
|
51 | |||
52 | graph.edge = function(x0, y0, x1, y1, color) { |
|
52 | graph.edge = function(x0, y0, x1, y1, color) { | |
53 |
|
53 | |||
54 | this.setColor(color, 0.0, 0.65); |
|
54 | this.setColor(color, 0.0, 0.65); | |
55 | this.ctx.beginPath(); |
|
55 | this.ctx.beginPath(); | |
56 | this.ctx.moveTo(x0, y0); |
|
56 | this.ctx.moveTo(x0, y0); | |
57 | this.ctx.lineTo(x1, y1); |
|
57 | this.ctx.lineTo(x1, y1); | |
58 | this.ctx.stroke(); |
|
58 | this.ctx.stroke(); | |
59 |
|
59 | |||
60 | } |
|
60 | } | |
61 |
|
61 | |||
62 | var revlink = '<li style="_STYLE"><span class="desc">'; |
|
62 | var revlink = '<li style="_STYLE"><span class="desc">'; | |
63 | revlink += '<a class="list" href="{url}rev/_NODEID{sessionvars%urlparameter}" title="_NODEID"><b>_DESC</b></a>'; |
|
63 | revlink += '<a class="list" href="{url}rev/_NODEID{sessionvars%urlparameter}" title="_NODEID"><b>_DESC</b></a>'; | |
64 | revlink += '</span> _TAGS'; |
|
64 | revlink += '</span> _TAGS'; | |
65 | revlink += '<span class="info">_DATE ago, by _USER</span></li>'; |
|
65 | revlink += '<span class="info">_DATE ago, by _USER</span></li>'; | |
66 |
|
66 | |||
67 | graph.vertex = function(x, y, color, parity, cur) { |
|
67 | graph.vertex = function(x, y, color, parity, cur) { | |
68 |
|
68 | |||
69 | this.ctx.beginPath(); |
|
69 | this.ctx.beginPath(); | |
70 | color = this.setColor(color, 0.25, 0.75); |
|
70 | color = this.setColor(color, 0.25, 0.75); | |
71 | this.ctx.arc(x, y, radius, 0, Math.PI * 2, true); |
|
71 | this.ctx.arc(x, y, radius, 0, Math.PI * 2, true); | |
72 | this.ctx.fill(); |
|
72 | this.ctx.fill(); | |
73 |
|
73 | |||
74 | var bg = '<li class="bg parity' + parity + '"></li>'; |
|
74 | var bg = '<li class="bg parity' + parity + '"></li>'; | |
75 | var left = (this.columns + 1) * this.bg_height; |
|
75 | var left = (this.columns + 1) * this.bg_height; | |
76 | var nstyle = 'padding-left: ' + left + 'px;'; |
|
76 | var nstyle = 'padding-left: ' + left + 'px;'; | |
77 | var item = revlink.replace(/_STYLE/, nstyle); |
|
77 | var item = revlink.replace(/_STYLE/, nstyle); | |
78 | item = item.replace(/_PARITY/, 'parity' + parity); |
|
78 | item = item.replace(/_PARITY/, 'parity' + parity); | |
79 | item = item.replace(/_NODEID/, cur[0]); |
|
79 | item = item.replace(/_NODEID/, cur[0]); | |
80 | item = item.replace(/_NODEID/, cur[0]); |
|
80 | item = item.replace(/_NODEID/, cur[0]); | |
81 | item = item.replace(/_DESC/, cur[3]); |
|
81 | if (cur[3] != '') | |
|
82 | item = item.replace(/_DESC/, cur[3]); | |||
|
83 | else | |||
|
84 | item = item.replace(/_DESC/, '(none)'); | |||
82 | item = item.replace(/_USER/, cur[4]); |
|
85 | item = item.replace(/_USER/, cur[4]); | |
83 | item = item.replace(/_DATE/, cur[5]); |
|
86 | item = item.replace(/_DATE/, cur[5]); | |
84 |
|
87 | |||
85 | var tagspan = ''; |
|
88 | var tagspan = ''; | |
86 | if (cur[7].length || (cur[6][0] != 'default' || cur[6][1])) { |
|
89 | if (cur[7].length || (cur[6][0] != 'default' || cur[6][1])) { | |
87 | tagspan = '<span class="logtags">'; |
|
90 | tagspan = '<span class="logtags">'; | |
88 | if (cur[6][1]) { |
|
91 | if (cur[6][1]) { | |
89 | tagspan += '<span class="branchtag" title="' + cur[6][0] + '">'; |
|
92 | tagspan += '<span class="branchtag" title="' + cur[6][0] + '">'; | |
90 | tagspan += cur[6][0] + '</span> '; |
|
93 | tagspan += cur[6][0] + '</span> '; | |
91 | } else if (!cur[6][1] && cur[6][0] != 'default') { |
|
94 | } else if (!cur[6][1] && cur[6][0] != 'default') { | |
92 | tagspan += '<span class="inbranchtag" title="' + cur[6][0] + '">'; |
|
95 | tagspan += '<span class="inbranchtag" title="' + cur[6][0] + '">'; | |
93 | tagspan += cur[6][0] + '</span> '; |
|
96 | tagspan += cur[6][0] + '</span> '; | |
94 | } |
|
97 | } | |
95 | if (cur[7].length) { |
|
98 | if (cur[7].length) { | |
96 | for (var t in cur[7]) { |
|
99 | for (var t in cur[7]) { | |
97 | var tag = cur[7][t]; |
|
100 | var tag = cur[7][t]; | |
98 | tagspan += '<span class="tagtag">' + tag + '</span> '; |
|
101 | tagspan += '<span class="tagtag">' + tag + '</span> '; | |
99 | } |
|
102 | } | |
100 | } |
|
103 | } | |
101 | tagspan += '</span>'; |
|
104 | tagspan += '</span>'; | |
102 | } |
|
105 | } | |
103 |
|
106 | |||
104 | item = item.replace(/_TAGS/, tagspan); |
|
107 | item = item.replace(/_TAGS/, tagspan); | |
105 | return [bg, item]; |
|
108 | return [bg, item]; | |
106 |
|
109 | |||
107 | } |
|
110 | } | |
108 |
|
111 | |||
109 | graph.render(data); |
|
112 | graph.render(data); | |
110 |
|
113 | |||
111 | // stop hiding script --> |
|
114 | // stop hiding script --> | |
112 | </script> |
|
115 | </script> | |
113 |
|
116 | |||
114 | <div class="page_nav"> |
|
117 | <div class="page_nav"> | |
115 | <a href="{url}graph/{rev}{lessvars%urlparameter}">less</a> |
|
118 | <a href="{url}graph/{rev}{lessvars%urlparameter}">less</a> | |
116 | <a href="{url}graph/{rev}{morevars%urlparameter}">more</a> |
|
119 | <a href="{url}graph/{rev}{morevars%urlparameter}">more</a> | |
117 | | {changenav%navgraphentry} |
|
120 | | {changenav%navgraphentry} | |
118 | </div> |
|
121 | </div> | |
119 |
|
122 | |||
120 | #footer# |
|
123 | #footer# |
@@ -1,66 +1,66 | |||||
1 | default = 'summary' |
|
1 | default = 'summary' | |
2 | mimetype = 'text/html; charset={encoding}' |
|
2 | mimetype = 'text/html; charset={encoding}' | |
3 | header = header.tmpl |
|
3 | header = header.tmpl | |
4 | footer = footer.tmpl |
|
4 | footer = footer.tmpl | |
5 | search = search.tmpl |
|
5 | search = search.tmpl | |
6 | changelog = changelog.tmpl |
|
6 | changelog = changelog.tmpl | |
7 | summary = summary.tmpl |
|
7 | summary = summary.tmpl | |
8 | error = error.tmpl |
|
8 | error = error.tmpl | |
9 | notfound = notfound.tmpl |
|
9 | notfound = notfound.tmpl | |
10 | naventry = '<a href="{url}log/{node|short}{sessionvars%urlparameter}">{label|escape}</a> ' |
|
10 | naventry = '<a href="{url}log/{node|short}{sessionvars%urlparameter}">{label|escape}</a> ' | |
11 | navshortentry = '<a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">{label|escape}</a> ' |
|
11 | navshortentry = '<a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">{label|escape}</a> ' | |
12 | navgraphentry = '<a href="{url}graph/{node|short}{sessionvars%urlparameter}">{label|escape}</a> ' |
|
12 | navgraphentry = '<a href="{url}graph/{node|short}{sessionvars%urlparameter}">{label|escape}</a> ' | |
13 | filenaventry = '<a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{label|escape}</a> ' |
|
13 | filenaventry = '<a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{label|escape}</a> ' | |
14 | filedifflink = '<a href="#url#diff/#node|short#/#file|urlescape#{sessionvars%urlparameter}">#file|escape#</a> ' |
|
14 | filedifflink = '<a href="#url#diff/#node|short#/#file|urlescape#{sessionvars%urlparameter}">#file|escape#</a> ' | |
15 | filenodelink = '<tr class="parity#parity#"><td><a class="list" href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">#file|escape#</a></td><td></td><td class="link"><a href="#url#file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">file</a> | <a href="#url#annotate/#node|short#/#file|urlescape#{sessionvars%urlparameter}">annotate</a> | <a href="#url#diff/#node|short#/#file|urlescape#{sessionvars%urlparameter}">diff</a> | <a href="#url#log/#node|short#/#file|urlescape#{sessionvars%urlparameter}">revisions</a></td></tr>' |
|
15 | filenodelink = '<tr class="parity#parity#"><td><a class="list" href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">#file|escape#</a></td><td></td><td class="link"><a href="#url#file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">file</a> | <a href="#url#annotate/#node|short#/#file|urlescape#{sessionvars%urlparameter}">annotate</a> | <a href="#url#diff/#node|short#/#file|urlescape#{sessionvars%urlparameter}">diff</a> | <a href="#url#log/#node|short#/#file|urlescape#{sessionvars%urlparameter}">revisions</a></td></tr>' | |
16 | filenolink = '<tr class="parity#parity#"><td><a class="list" href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">#file|escape#</a></td><td></td><td class="link">file | annotate | <a href="#url#diff/#node|short#/#file|urlescape#{sessionvars%urlparameter}">diff</a> | <a href="#url#log/#node|short#/#file|urlescape#{sessionvars%urlparameter}">revisions</a></td></tr>' |
|
16 | filenolink = '<tr class="parity#parity#"><td><a class="list" href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">#file|escape#</a></td><td></td><td class="link">file | annotate | <a href="#url#diff/#node|short#/#file|urlescape#{sessionvars%urlparameter}">diff</a> | <a href="#url#log/#node|short#/#file|urlescape#{sessionvars%urlparameter}">revisions</a></td></tr>' | |
17 | fileellipses = '...' |
|
17 | fileellipses = '...' | |
18 | changelogentry = changelogentry.tmpl |
|
18 | changelogentry = changelogentry.tmpl | |
19 | searchentry = changelogentry.tmpl |
|
19 | searchentry = changelogentry.tmpl | |
20 | changeset = changeset.tmpl |
|
20 | changeset = changeset.tmpl | |
21 | manifest = manifest.tmpl |
|
21 | manifest = manifest.tmpl | |
22 | direntry = '<tr class="parity#parity#"><td style="font-family:monospace">drwxr-xr-x</td><td style="font-family:monospace"></td><td style="font-family:monospace"></td><td><a href="#url#file/#node|short##path|urlescape#{sessionvars%urlparameter}">#basename|escape#</a> <a href="#url#file/#node|short##path|urlescape#/#emptydirs|urlescape#{sessionvars%urlparameter}">#emptydirs|escape#</a></td><td class="link"><a href="#url#file/#node|short##path|urlescape#{sessionvars%urlparameter}">files</a></td></tr>' |
|
22 | direntry = '<tr class="parity#parity#"><td style="font-family:monospace">drwxr-xr-x</td><td style="font-family:monospace"></td><td style="font-family:monospace"></td><td><a href="#url#file/#node|short##path|urlescape#{sessionvars%urlparameter}">#basename|escape#</a> <a href="#url#file/#node|short##path|urlescape#/#emptydirs|urlescape#{sessionvars%urlparameter}">#emptydirs|escape#</a></td><td class="link"><a href="#url#file/#node|short##path|urlescape#{sessionvars%urlparameter}">files</a></td></tr>' | |
23 | fileentry = '<tr class="parity#parity#"><td style="font-family:monospace">#permissions|permissions#</td><td style="font-family:monospace" align=right>#date|isodate#</td><td style="font-family:monospace" align=right>#size#</td><td class="list"><a class="list" href="#url#file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">#basename|escape#</a></td><td class="link"><a href="#url#file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">file</a> | <a href="#url#log/#node|short#/#file|urlescape#{sessionvars%urlparameter}">revisions</a> | <a href="#url#annotate/#node|short#/#file|urlescape#{sessionvars%urlparameter}">annotate</a></td></tr>' |
|
23 | fileentry = '<tr class="parity#parity#"><td style="font-family:monospace">#permissions|permissions#</td><td style="font-family:monospace" align=right>#date|isodate#</td><td style="font-family:monospace" align=right>#size#</td><td class="list"><a class="list" href="#url#file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">#basename|escape#</a></td><td class="link"><a href="#url#file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">file</a> | <a href="#url#log/#node|short#/#file|urlescape#{sessionvars%urlparameter}">revisions</a> | <a href="#url#annotate/#node|short#/#file|urlescape#{sessionvars%urlparameter}">annotate</a></td></tr>' | |
24 | filerevision = filerevision.tmpl |
|
24 | filerevision = filerevision.tmpl | |
25 | fileannotate = fileannotate.tmpl |
|
25 | fileannotate = fileannotate.tmpl | |
26 | filediff = filediff.tmpl |
|
26 | filediff = filediff.tmpl | |
27 | filelog = filelog.tmpl |
|
27 | filelog = filelog.tmpl | |
28 | fileline = '<div style="font-family:monospace" class="parity#parity#"><pre><a class="linenr" href="##lineid#" id="#lineid#">#linenumber#</a> #line|escape#</pre></div>' |
|
28 | fileline = '<div style="font-family:monospace" class="parity#parity#"><pre><a class="linenr" href="##lineid#" id="#lineid#">#linenumber#</a> #line|escape#</pre></div>' | |
29 | annotateline = '<tr style="font-family:monospace" class="parity#parity#"><td class="linenr" style="text-align: right;"><a href="#url#annotate/#node|short#/#file|urlescape#{sessionvars%urlparameter}#l{targetline}" title="{node|short}: {desc|escape|firstline}">#author|user#@#rev#</a></td><td><pre><a class="linenr" href="##lineid#" id="#lineid#">#linenumber#</a></pre></td><td><pre>#line|escape#</pre></td></tr>' |
|
29 | annotateline = '<tr style="font-family:monospace" class="parity#parity#"><td class="linenr" style="text-align: right;"><a href="#url#annotate/#node|short#/#file|urlescape#{sessionvars%urlparameter}#l{targetline}" title="{node|short}: {desc|escape|firstline}">#author|user#@#rev#</a></td><td><pre><a class="linenr" href="##lineid#" id="#lineid#">#linenumber#</a></pre></td><td><pre>#line|escape#</pre></td></tr>' | |
30 | difflineplus = '<span style="color:#008800;"><a class="linenr" href="##lineid#" id="#lineid#">#linenumber#</a> #line|escape#</span>' |
|
30 | difflineplus = '<span style="color:#008800;"><a class="linenr" href="##lineid#" id="#lineid#">#linenumber#</a> #line|escape#</span>' | |
31 | difflineminus = '<span style="color:#cc0000;"><a class="linenr" href="##lineid#" id="#lineid#">#linenumber#</a> #line|escape#</span>' |
|
31 | difflineminus = '<span style="color:#cc0000;"><a class="linenr" href="##lineid#" id="#lineid#">#linenumber#</a> #line|escape#</span>' | |
32 | difflineat = '<span style="color:#990099;"><a class="linenr" href="##lineid#" id="#lineid#">#linenumber#</a> #line|escape#</span>' |
|
32 | difflineat = '<span style="color:#990099;"><a class="linenr" href="##lineid#" id="#lineid#">#linenumber#</a> #line|escape#</span>' | |
33 | diffline = '<span><a class="linenr" href="##lineid#" id="#lineid#">#linenumber#</a> #line|escape#</span>' |
|
33 | diffline = '<span><a class="linenr" href="##lineid#" id="#lineid#">#linenumber#</a> #line|escape#</span>' | |
34 | changelogparent = '<tr><th class="parent">parent #rev#:</th><td class="parent"><a href="#url#rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></td></tr>' |
|
34 | changelogparent = '<tr><th class="parent">parent #rev#:</th><td class="parent"><a href="#url#rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></td></tr>' | |
35 | changesetbranch = '<tr><td>branch</td><td>{name}</td></tr>' |
|
35 | changesetbranch = '<tr><td>branch</td><td>{name}</td></tr>' | |
36 | changesetparent = '<tr><td>parent {rev}</td><td style="font-family:monospace"><a class="list" href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td></tr>' |
|
36 | changesetparent = '<tr><td>parent {rev}</td><td style="font-family:monospace"><a class="list" href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td></tr>' | |
37 | filerevbranch = '<tr><td>branch</td><td>{name}</td></tr>' |
|
37 | filerevbranch = '<tr><td>branch</td><td>{name}</td></tr>' | |
38 | filerevparent = '<tr><td>parent {rev}</td><td style="font-family:monospace"><a class="list" href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{rename%filerename}{node|short}</a></td></tr>' |
|
38 | filerevparent = '<tr><td>parent {rev}</td><td style="font-family:monospace"><a class="list" href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{rename%filerename}{node|short}</a></td></tr>' | |
39 | filerename = '{file|escape}@' |
|
39 | filerename = '{file|escape}@' | |
40 | filelogrename = '| <a href="{url}file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">base</a>' |
|
40 | filelogrename = '| <a href="{url}file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">base</a>' | |
41 | fileannotateparent = '<tr><td>parent {rev}</td><td style="font-family:monospace"><a class="list" href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{rename%filerename}{node|short}</a></td></tr>' |
|
41 | fileannotateparent = '<tr><td>parent {rev}</td><td style="font-family:monospace"><a class="list" href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{rename%filerename}{node|short}</a></td></tr>' | |
42 | changelogchild = '<tr><th class="child">child #rev#:</th><td class="child"><a href="{url}rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></td></tr>' |
|
42 | changelogchild = '<tr><th class="child">child #rev#:</th><td class="child"><a href="{url}rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></td></tr>' | |
43 | changesetchild = '<tr><td>child {rev}</td><td style="font-family:monospace"><a class="list" href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td></tr>' |
|
43 | changesetchild = '<tr><td>child {rev}</td><td style="font-family:monospace"><a class="list" href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td></tr>' | |
44 | filerevchild = '<tr><td>child {rev}</td><td style="font-family:monospace"><a class="list" href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td></tr>' |
|
44 | filerevchild = '<tr><td>child {rev}</td><td style="font-family:monospace"><a class="list" href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td></tr>' | |
45 | fileannotatechild = '<tr><td>child {rev}</td><td style="font-family:monospace"><a class="list" href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td></tr>' |
|
45 | fileannotatechild = '<tr><td>child {rev}</td><td style="font-family:monospace"><a class="list" href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td></tr>' | |
46 | tags = tags.tmpl |
|
46 | tags = tags.tmpl | |
47 | tagentry = '<tr class="parity#parity#"><td class="age"><i>#date|age# ago</i></td><td><a class="list" href="{url}rev/{node|short}{sessionvars%urlparameter}"><b>#tag|escape#</b></a></td><td class="link"><a href="{url}rev/#node|short#{sessionvars%urlparameter}">changeset</a> | <a href="{url}log/#node|short#{sessionvars%urlparameter}">changelog</a> | <a href="{url}file/#node|short#{sessionvars%urlparameter}">files</a></td></tr>' |
|
47 | tagentry = '<tr class="parity#parity#"><td class="age"><i>#date|age# ago</i></td><td><a class="list" href="{url}rev/{node|short}{sessionvars%urlparameter}"><b>#tag|escape#</b></a></td><td class="link"><a href="{url}rev/#node|short#{sessionvars%urlparameter}">changeset</a> | <a href="{url}log/#node|short#{sessionvars%urlparameter}">changelog</a> | <a href="{url}file/#node|short#{sessionvars%urlparameter}">files</a></td></tr>' | |
48 | branchentry = '<tr class="parity{parity}"><td class="age"><i>{date|age} ago</i></td><td><a class="list" href="{url}rev/{node|short}{sessionvars%urlparameter}"><b>{node|short}</b></a></td><td>{branch|escape}</td><td class="link"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a> | <a href="{url}log/{node|short}{sessionvars%urlparameter}">changelog</a> | <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a></td></tr>' |
|
48 | branchentry = '<tr class="parity{parity}"><td class="age"><i>{date|age} ago</i></td><td><a class="list" href="{url}rev/{node|short}{sessionvars%urlparameter}"><b>{node|short}</b></a></td><td>{branch|escape}</td><td class="link"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a> | <a href="{url}log/{node|short}{sessionvars%urlparameter}">changelog</a> | <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a></td></tr>' | |
49 | diffblock = '<pre>#lines#</pre>' |
|
49 | diffblock = '<pre>#lines#</pre>' | |
50 | filediffparent = '<tr><td>parent {rev}</td><td style="font-family:monospace"><a class="list" href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td></tr>' |
|
50 | filediffparent = '<tr><td>parent {rev}</td><td style="font-family:monospace"><a class="list" href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td></tr>' | |
51 | filelogparent = '<tr><td align="right">parent #rev#: </td><td><a href="{url}file/{node|short}/#file|urlescape#{sessionvars%urlparameter}">#node|short#</a></td></tr>' |
|
51 | filelogparent = '<tr><td align="right">parent #rev#: </td><td><a href="{url}file/{node|short}/#file|urlescape#{sessionvars%urlparameter}">#node|short#</a></td></tr>' | |
52 | filediffchild = '<tr><td>child {rev}</td><td style="font-family:monospace"><a class="list" href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td></tr>' |
|
52 | filediffchild = '<tr><td>child {rev}</td><td style="font-family:monospace"><a class="list" href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td></tr>' | |
53 | filelogchild = '<tr><td align="right">child #rev#: </td><td><a href="{url}file{node|short}/#file|urlescape#{sessionvars%urlparameter}">#node|short#</a></td></tr>' |
|
53 | filelogchild = '<tr><td align="right">child #rev#: </td><td><a href="{url}file{node|short}/#file|urlescape#{sessionvars%urlparameter}">#node|short#</a></td></tr>' | |
54 | shortlog = shortlog.tmpl |
|
54 | shortlog = shortlog.tmpl | |
55 | graph = graph.tmpl |
|
55 | graph = graph.tmpl | |
56 | tagtag = '<span class="tagtag" title="{name}">{name}</span> ' |
|
56 | tagtag = '<span class="tagtag" title="{name}">{name}</span> ' | |
57 | branchtag = '<span class="branchtag" title="{name}">{name}</span> ' |
|
57 | branchtag = '<span class="branchtag" title="{name}">{name}</span> ' | |
58 | inbranchtag = '<span class="inbranchtag" title="{name}">{name}</span> ' |
|
58 | inbranchtag = '<span class="inbranchtag" title="{name}">{name}</span> ' | |
59 | shortlogentry = '<tr class="parity#parity#"><td class="age"><i>#date|age# ago</i></td><td><i>#author|person#</i></td><td><a class="list" href="{url}rev/#node|short#{sessionvars%urlparameter}"><b>#desc|strip|firstline|escape#</b> <span class="logtags">{inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}</span></a></td><td class="link" nowrap><a href="{url}rev/#node|short#{sessionvars%urlparameter}">changeset</a> | <a href="{url}file/#node|short#{sessionvars%urlparameter}">files</a></td></tr>' |
|
59 | shortlogentry = '<tr class="parity#parity#"><td class="age"><i>#date|age# ago</i></td><td><i>#author|person#</i></td><td><a class="list" href="{url}rev/#node|short#{sessionvars%urlparameter}"><b>#desc|strip|firstline|escape|nonempty#</b> <span class="logtags">{inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}</span></a></td><td class="link" nowrap><a href="{url}rev/#node|short#{sessionvars%urlparameter}">changeset</a> | <a href="{url}file/#node|short#{sessionvars%urlparameter}">files</a></td></tr>' | |
60 | filelogentry = '<tr class="parity#parity#"><td class="age"><i>#date|age# ago</i></td><td><a class="list" href="{url}rev/#node|short#{sessionvars%urlparameter}"><b>#desc|strip|firstline|escape#</b></a></td><td class="link"><a href="{url}file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">file</a> | <a href="{url}diff/#node|short#/#file|urlescape#{sessionvars%urlparameter}">diff</a> | <a href="{url}annotate/#node|short#/#file|urlescape#{sessionvars%urlparameter}">annotate</a> #rename%filelogrename#</td></tr>' |
|
60 | filelogentry = '<tr class="parity#parity#"><td class="age"><i>#date|age# ago</i></td><td><a class="list" href="{url}rev/#node|short#{sessionvars%urlparameter}"><b>#desc|strip|firstline|escape|nonempty#</b></a></td><td class="link"><a href="{url}file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">file</a> | <a href="{url}diff/#node|short#/#file|urlescape#{sessionvars%urlparameter}">diff</a> | <a href="{url}annotate/#node|short#/#file|urlescape#{sessionvars%urlparameter}">annotate</a> #rename%filelogrename#</td></tr>' | |
61 | archiveentry = ' | <a href="{url}archive/{node|short}{extension}">#type|escape#</a> ' |
|
61 | archiveentry = ' | <a href="{url}archive/{node|short}{extension}">#type|escape#</a> ' | |
62 | indexentry = '<tr class="parity{parity}"><td><a class="list" href="{url}{sessionvars%urlparameter}"><b>{name|escape}</b></a></td><td>{description}</td><td>{contact|obfuscate}</td><td class="age">{lastchange|age} ago</td><td class="indexlinks">{archives%indexarchiveentry}</td><td><div class="rss_logo"><a href="{url}rss-log">RSS</a> <a href="{url}atom-log">Atom</a></div></td></tr>\n' |
|
62 | indexentry = '<tr class="parity{parity}"><td><a class="list" href="{url}{sessionvars%urlparameter}"><b>{name|escape}</b></a></td><td>{description}</td><td>{contact|obfuscate}</td><td class="age">{lastchange|age} ago</td><td class="indexlinks">{archives%indexarchiveentry}</td><td><div class="rss_logo"><a href="{url}rss-log">RSS</a> <a href="{url}atom-log">Atom</a></div></td></tr>\n' | |
63 | indexarchiveentry = ' <a href="{url}archive/{node|short}{extension}">{type|escape}</a> ' |
|
63 | indexarchiveentry = ' <a href="{url}archive/{node|short}{extension}">{type|escape}</a> ' | |
64 | index = index.tmpl |
|
64 | index = index.tmpl | |
65 | urlparameter = '#separator##name#=#value|urlescape#' |
|
65 | urlparameter = '#separator##name#=#value|urlescape#' | |
66 | hiddenformentry = '<input type="hidden" name="#name#" value="#value|escape#" />' |
|
66 | hiddenformentry = '<input type="hidden" name="#name#" value="#value|escape#" />' |
@@ -1,6 +1,6 | |||||
1 | <h3 class="changelog"><a class="title" href="{url}rev/#node|short#{sessionvars%urlparameter}">#desc|strip|firstline|escape#<span class="logtags"> {inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}</span></a></h3> |
|
1 | <h3 class="changelog"><a class="title" href="{url}rev/#node|short#{sessionvars%urlparameter}">#desc|strip|firstline|escape|nonempty#<span class="logtags"> {inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}</span></a></h3> | |
2 | <ul class="changelog-entry"> |
|
2 | <ul class="changelog-entry"> | |
3 | <li class="age">#date|age# ago</li> |
|
3 | <li class="age">#date|age# ago</li> | |
4 | <li>by <span class="name">#author|obfuscate#</span> <span class="revdate">[#date|rfc822date#] rev #rev#</span></li> |
|
4 | <li>by <span class="name">#author|obfuscate#</span> <span class="revdate">[#date|rfc822date#] rev #rev#</span></li> | |
5 | <li class="description">#desc|strip|escape|addbreaks#</li> |
|
5 | <li class="description">#desc|strip|escape|addbreaks|nonempty#</li> | |
6 | </ul> |
|
6 | </ul> |
@@ -1,62 +1,62 | |||||
1 | #header# |
|
1 | #header# | |
2 | <title>{repo|escape}: changeset {rev}:{node|short}</title> |
|
2 | <title>{repo|escape}: changeset {rev}:{node|short}</title> | |
3 | <link rel="alternate" type="application/atom+xml" href="{url}atom-log" title="Atom feed for #repo|escape#"/> |
|
3 | <link rel="alternate" type="application/atom+xml" href="{url}atom-log" title="Atom feed for #repo|escape#"/> | |
4 | <link rel="alternate" type="application/rss+xml" href="{url}rss-log" title="RSS feed for #repo|escape#"/> |
|
4 | <link rel="alternate" type="application/rss+xml" href="{url}rss-log" title="RSS feed for #repo|escape#"/> | |
5 | </head> |
|
5 | </head> | |
6 |
|
6 | |||
7 | <body> |
|
7 | <body> | |
8 | <div id="container"> |
|
8 | <div id="container"> | |
9 | <div class="page-header"> |
|
9 | <div class="page-header"> | |
10 | <h1><a href="{url}summary{sessionvars%urlparameter}">#repo|escape#</a> / files</h1> |
|
10 | <h1><a href="{url}summary{sessionvars%urlparameter}">#repo|escape#</a> / files</h1> | |
11 |
|
11 | |||
12 | <form action="{url}log"> |
|
12 | <form action="{url}log"> | |
13 | {sessionvars%hiddenformentry} |
|
13 | {sessionvars%hiddenformentry} | |
14 | <dl class="search"> |
|
14 | <dl class="search"> | |
15 | <dt><label>Search: </label></dt> |
|
15 | <dt><label>Search: </label></dt> | |
16 | <dd><input type="text" name="rev" /></dd> |
|
16 | <dd><input type="text" name="rev" /></dd> | |
17 | </dl> |
|
17 | </dl> | |
18 | </form> |
|
18 | </form> | |
19 |
|
19 | |||
20 | <ul class="page-nav"> |
|
20 | <ul class="page-nav"> | |
21 | <li><a href="{url}summary{sessionvars%urlparameter}">summary</a></li> |
|
21 | <li><a href="{url}summary{sessionvars%urlparameter}">summary</a></li> | |
22 | <li><a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a></li> |
|
22 | <li><a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a></li> | |
23 | <li><a href="{url}changelog{sessionvars%urlparameter}">changelog</a></li> |
|
23 | <li><a href="{url}changelog{sessionvars%urlparameter}">changelog</a></li> | |
24 | <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> |
|
24 | <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> | |
25 | <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> |
|
25 | <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> | |
26 | <li><a href="{url}file/#node|short#{sessionvars%urlparameter}">files</a></li> |
|
26 | <li><a href="{url}file/#node|short#{sessionvars%urlparameter}">files</a></li> | |
27 | </ul> |
|
27 | </ul> | |
28 | </div> |
|
28 | </div> | |
29 |
|
29 | |||
30 | <ul class="submenu"> |
|
30 | <ul class="submenu"> | |
31 | <li class="current">changeset</li> |
|
31 | <li class="current">changeset</li> | |
32 | <li><a href="{url}raw-rev/#node|short#">raw</a> #archives%archiveentry#</li> |
|
32 | <li><a href="{url}raw-rev/#node|short#">raw</a> #archives%archiveentry#</li> | |
33 | </ul> |
|
33 | </ul> | |
34 |
|
34 | |||
35 | <h2 class="no-link no-border">changeset</h2> |
|
35 | <h2 class="no-link no-border">changeset</h2> | |
36 |
|
36 | |||
37 | <h3 class="changeset"><a href="{url}raw-rev/#node|short#">#desc|strip|escape|firstline# <span class="logtags">{inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}</span></a></h3> |
|
37 | <h3 class="changeset"><a href="{url}raw-rev/#node|short#">#desc|strip|escape|firstline|nonempty# <span class="logtags">{inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}</span></a></h3> | |
38 | <p class="changeset-age"><span>#date|age# ago</span></p> |
|
38 | <p class="changeset-age"><span>#date|age# ago</span></p> | |
39 |
|
39 | |||
40 | <dl class="overview"> |
|
40 | <dl class="overview"> | |
41 | <dt>author</dt> |
|
41 | <dt>author</dt> | |
42 | <dd>#author|obfuscate#</dd> |
|
42 | <dd>#author|obfuscate#</dd> | |
43 | <dt>date</dt> |
|
43 | <dt>date</dt> | |
44 | <dd>#date|date#</dd> |
|
44 | <dd>#date|date#</dd> | |
45 | #branch%changesetbranch# |
|
45 | #branch%changesetbranch# | |
46 | <dt>changeset {rev}</dt> |
|
46 | <dt>changeset {rev}</dt> | |
47 | <dd>{node|short}</dd> |
|
47 | <dd>{node|short}</dd> | |
48 | #parent%changesetparent# |
|
48 | #parent%changesetparent# | |
49 | #child%changesetchild# |
|
49 | #child%changesetchild# | |
50 | </dl> |
|
50 | </dl> | |
51 |
|
51 | |||
52 | <p class="description">#desc|strip|escape|addbreaks#</p> |
|
52 | <p class="description">#desc|strip|escape|addbreaks|nonempty#</p> | |
53 |
|
53 | |||
54 | <table> |
|
54 | <table> | |
55 | #files# |
|
55 | #files# | |
56 | </table> |
|
56 | </table> | |
57 |
|
57 | |||
58 | <div class="diff"> |
|
58 | <div class="diff"> | |
59 | #diff# |
|
59 | #diff# | |
60 | </div> |
|
60 | </div> | |
61 |
|
61 | |||
62 | #footer# |
|
62 | #footer# |
@@ -1,62 +1,62 | |||||
1 | #header# |
|
1 | #header# | |
2 | <title>{repo|escape}: {file|escape}@{node|short} (annotated)</title> |
|
2 | <title>{repo|escape}: {file|escape}@{node|short} (annotated)</title> | |
3 | <link rel="alternate" type="application/atom+xml" href="{url}atom-log" title="Atom feed for #repo|escape#"/> |
|
3 | <link rel="alternate" type="application/atom+xml" href="{url}atom-log" title="Atom feed for #repo|escape#"/> | |
4 | <link rel="alternate" type="application/rss+xml" href="{url}rss-log" title="RSS feed for #repo|escape#"/> |
|
4 | <link rel="alternate" type="application/rss+xml" href="{url}rss-log" title="RSS feed for #repo|escape#"/> | |
5 | </head> |
|
5 | </head> | |
6 |
|
6 | |||
7 | <body> |
|
7 | <body> | |
8 | <div id="container"> |
|
8 | <div id="container"> | |
9 | <div class="page-header"> |
|
9 | <div class="page-header"> | |
10 | <h1><a href="{url}summary{sessionvars%urlparameter}">#repo|escape#</a> / annotate</h1> |
|
10 | <h1><a href="{url}summary{sessionvars%urlparameter}">#repo|escape#</a> / annotate</h1> | |
11 |
|
11 | |||
12 | <form action="{url}log"> |
|
12 | <form action="{url}log"> | |
13 | {sessionvars%hiddenformentry} |
|
13 | {sessionvars%hiddenformentry} | |
14 | <dl class="search"> |
|
14 | <dl class="search"> | |
15 | <dt><label>Search: </label></dt> |
|
15 | <dt><label>Search: </label></dt> | |
16 | <dd><input type="text" name="rev" /></dd> |
|
16 | <dd><input type="text" name="rev" /></dd> | |
17 | </dl> |
|
17 | </dl> | |
18 | </form> |
|
18 | </form> | |
19 |
|
19 | |||
20 | <ul class="page-nav"> |
|
20 | <ul class="page-nav"> | |
21 | <li><a href="{url}summary{sessionvars%urlparameter}">summary</a></li> |
|
21 | <li><a href="{url}summary{sessionvars%urlparameter}">summary</a></li> | |
22 | <li><a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a></li> |
|
22 | <li><a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a></li> | |
23 | <li><a href="{url}log{sessionvars%urlparameter}">changelog</a></li> |
|
23 | <li><a href="{url}log{sessionvars%urlparameter}">changelog</a></li> | |
24 | <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> |
|
24 | <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> | |
25 | <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> |
|
25 | <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> | |
26 | <li><a href="{url}file/#node|short##path|urlescape#{sessionvars%urlparameter}">files</a></li> |
|
26 | <li><a href="{url}file/#node|short##path|urlescape#{sessionvars%urlparameter}">files</a></li> | |
27 | </ul> |
|
27 | </ul> | |
28 | </div> |
|
28 | </div> | |
29 |
|
29 | |||
30 | <ul class="submenu"> |
|
30 | <ul class="submenu"> | |
31 | <li><a href="{url}file/{node|short}/#file|urlescape#{sessionvars%urlparameter}">file</a></li> |
|
31 | <li><a href="{url}file/{node|short}/#file|urlescape#{sessionvars%urlparameter}">file</a></li> | |
32 | <li><a href="{url}log/{node|short}/#file|urlescape#{sessionvars%urlparameter}">revisions</a></li> |
|
32 | <li><a href="{url}log/{node|short}/#file|urlescape#{sessionvars%urlparameter}">revisions</a></li> | |
33 | <li class="current">annotate</li> |
|
33 | <li class="current">annotate</li> | |
34 | <li><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a></li> |
|
34 | <li><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a></li> | |
35 | <li><a href="{url}raw-annotate/{node|short}/#file|urlescape#">raw</a></li> |
|
35 | <li><a href="{url}raw-annotate/{node|short}/#file|urlescape#">raw</a></li> | |
36 | </ul> |
|
36 | </ul> | |
37 |
|
37 | |||
38 | <h2 class="no-link no-border">{file|escape}@{node|short} (annotated)</h2> |
|
38 | <h2 class="no-link no-border">{file|escape}@{node|short} (annotated)</h2> | |
39 | <h3 class="changeset">#file|escape#</h3> |
|
39 | <h3 class="changeset">#file|escape#</h3> | |
40 | <p class="changeset-age"><span>#date|age# ago</span></p> |
|
40 | <p class="changeset-age"><span>#date|age# ago</span></p> | |
41 |
|
41 | |||
42 | <dl class="overview"> |
|
42 | <dl class="overview"> | |
43 | <dt>author</dt> |
|
43 | <dt>author</dt> | |
44 | <dd>#author|obfuscate#</dd> |
|
44 | <dd>#author|obfuscate#</dd> | |
45 | <dt>date</dt> |
|
45 | <dt>date</dt> | |
46 | <dd>#date|date#</dd> |
|
46 | <dd>#date|date#</dd> | |
47 | #branch%filerevbranch# |
|
47 | #branch%filerevbranch# | |
48 | <dt>changeset {rev}</dt> |
|
48 | <dt>changeset {rev}</dt> | |
49 | <dd><a href="{url}rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></dd> |
|
49 | <dd><a href="{url}rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></dd> | |
50 | #parent%fileannotateparent# |
|
50 | #parent%fileannotateparent# | |
51 | #child%fileannotatechild# |
|
51 | #child%fileannotatechild# | |
52 | <dt>permissions</dt> |
|
52 | <dt>permissions</dt> | |
53 | <dd>#permissions|permissions#</dd> |
|
53 | <dd>#permissions|permissions#</dd> | |
54 | </dl> |
|
54 | </dl> | |
55 |
|
55 | |||
56 | <p class="description">{desc|strip|escape|addbreaks}</p> |
|
56 | <p class="description">{desc|strip|escape|addbreaks|nonempty}</p> | |
57 |
|
57 | |||
58 | <table class="annotated"> |
|
58 | <table class="annotated"> | |
59 | {annotate%annotateline} |
|
59 | {annotate%annotateline} | |
60 | </table> |
|
60 | </table> | |
61 |
|
61 | |||
62 | #footer# |
|
62 | #footer# |
@@ -1,62 +1,62 | |||||
1 | #header# |
|
1 | #header# | |
2 | <title>{repo|escape}: {file|escape}@{node|short}</title> |
|
2 | <title>{repo|escape}: {file|escape}@{node|short}</title> | |
3 | <link rel="alternate" type="application/atom+xml" href="{url}atom-log" title="Atom feed for #repo|escape#"/> |
|
3 | <link rel="alternate" type="application/atom+xml" href="{url}atom-log" title="Atom feed for #repo|escape#"/> | |
4 | <link rel="alternate" type="application/rss+xml" href="{url}rss-log" title="RSS feed for #repo|escape#"/> |
|
4 | <link rel="alternate" type="application/rss+xml" href="{url}rss-log" title="RSS feed for #repo|escape#"/> | |
5 | </head> |
|
5 | </head> | |
6 |
|
6 | |||
7 | <body> |
|
7 | <body> | |
8 | <div id="container"> |
|
8 | <div id="container"> | |
9 | <div class="page-header"> |
|
9 | <div class="page-header"> | |
10 | <h1><a href="{url}summary{sessionvars%urlparameter}">#repo|escape#</a> / file revision</h1> |
|
10 | <h1><a href="{url}summary{sessionvars%urlparameter}">#repo|escape#</a> / file revision</h1> | |
11 |
|
11 | |||
12 | <form action="{url}log"> |
|
12 | <form action="{url}log"> | |
13 | {sessionvars%hiddenformentry} |
|
13 | {sessionvars%hiddenformentry} | |
14 | <dl class="search"> |
|
14 | <dl class="search"> | |
15 | <dt><label>Search: </label></dt> |
|
15 | <dt><label>Search: </label></dt> | |
16 | <dd><input type="text" name="rev" /></dd> |
|
16 | <dd><input type="text" name="rev" /></dd> | |
17 | </dl> |
|
17 | </dl> | |
18 | </form> |
|
18 | </form> | |
19 |
|
19 | |||
20 | <ul class="page-nav"> |
|
20 | <ul class="page-nav"> | |
21 | <li><a href="{url}summary{sessionvars%urlparameter}">summary</a></li> |
|
21 | <li><a href="{url}summary{sessionvars%urlparameter}">summary</a></li> | |
22 | <li><a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a></li> |
|
22 | <li><a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a></li> | |
23 | <li><a href="{url}changelog{sessionvars%urlparameter}">changelog</a></li> |
|
23 | <li><a href="{url}changelog{sessionvars%urlparameter}">changelog</a></li> | |
24 | <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> |
|
24 | <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> | |
25 | <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> |
|
25 | <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> | |
26 | <li><a href="{url}file/#node|short##path|urlescape#{sessionvars%urlparameter}">files</a></li> |
|
26 | <li><a href="{url}file/#node|short##path|urlescape#{sessionvars%urlparameter}">files</a></li> | |
27 | </ul> |
|
27 | </ul> | |
28 | </div> |
|
28 | </div> | |
29 |
|
29 | |||
30 | <ul class="submenu"> |
|
30 | <ul class="submenu"> | |
31 | <li class="current">file</li> |
|
31 | <li class="current">file</li> | |
32 | <li><a href="{url}log/{node|short}/#file|urlescape#{sessionvars%urlparameter}">revisions</a></li> |
|
32 | <li><a href="{url}log/{node|short}/#file|urlescape#{sessionvars%urlparameter}">revisions</a></li> | |
33 | <li><a href="{url}annotate/{node|short}/#file|urlescape#{sessionvars%urlparameter}">annotate</a></li> |
|
33 | <li><a href="{url}annotate/{node|short}/#file|urlescape#{sessionvars%urlparameter}">annotate</a></li> | |
34 | <li><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a></li> |
|
34 | <li><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a></li> | |
35 | <li><a href="{url}raw-file/{node|short}/#file|urlescape#">raw</a></li> |
|
35 | <li><a href="{url}raw-file/{node|short}/#file|urlescape#">raw</a></li> | |
36 | </ul> |
|
36 | </ul> | |
37 |
|
37 | |||
38 | <h2 class="no-link no-border">{file|escape}@{node|short}</h2> |
|
38 | <h2 class="no-link no-border">{file|escape}@{node|short}</h2> | |
39 | <h3 class="changeset">#file|escape#</h3> |
|
39 | <h3 class="changeset">#file|escape#</h3> | |
40 | <p class="changeset-age"><span>#date|age# ago</span></p> |
|
40 | <p class="changeset-age"><span>#date|age# ago</span></p> | |
41 |
|
41 | |||
42 | <dl class="overview"> |
|
42 | <dl class="overview"> | |
43 | <dt>author</dt> |
|
43 | <dt>author</dt> | |
44 | <dd>#author|obfuscate#</dd> |
|
44 | <dd>#author|obfuscate#</dd> | |
45 | <dt>date</dt> |
|
45 | <dt>date</dt> | |
46 | <dd>#date|date#</dd> |
|
46 | <dd>#date|date#</dd> | |
47 | #branch%filerevbranch# |
|
47 | #branch%filerevbranch# | |
48 | <dt>changeset {rev}</dt> |
|
48 | <dt>changeset {rev}</dt> | |
49 | <dd><a class="list" href="{url}rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></dd> |
|
49 | <dd><a class="list" href="{url}rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></dd> | |
50 | #parent%filerevparent# |
|
50 | #parent%filerevparent# | |
51 | #child%filerevchild# |
|
51 | #child%filerevchild# | |
52 | <dt>permissions</dt> |
|
52 | <dt>permissions</dt> | |
53 | <dd>#permissions|permissions#</dd> |
|
53 | <dd>#permissions|permissions#</dd> | |
54 | </dl> |
|
54 | </dl> | |
55 |
|
55 | |||
56 | <p class="description">{desc|strip|escape|addbreaks}</p> |
|
56 | <p class="description">{desc|strip|escape|addbreaks|nonempty}</p> | |
57 |
|
57 | |||
58 | <div class="source"> |
|
58 | <div class="source"> | |
59 | #text%fileline# |
|
59 | #text%fileline# | |
60 | </div> |
|
60 | </div> | |
61 |
|
61 | |||
62 | #footer# |
|
62 | #footer# |
@@ -1,117 +1,120 | |||||
1 | #header# |
|
1 | #header# | |
2 | <title>#repo|escape#: graph</title> |
|
2 | <title>#repo|escape#: graph</title> | |
3 | <link rel="alternate" type="application/atom+xml" href="{url}atom-log" title="Atom feed for #repo|escape#"/> |
|
3 | <link rel="alternate" type="application/atom+xml" href="{url}atom-log" title="Atom feed for #repo|escape#"/> | |
4 | <link rel="alternate" type="application/rss+xml" href="{url}rss-log" title="RSS feed for #repo|escape#"/> |
|
4 | <link rel="alternate" type="application/rss+xml" href="{url}rss-log" title="RSS feed for #repo|escape#"/> | |
5 | <!--[if IE]><script type="text/javascript" src="#staticurl#excanvas.js"></script><![endif]--> |
|
5 | <!--[if IE]><script type="text/javascript" src="#staticurl#excanvas.js"></script><![endif]--> | |
6 | </head> |
|
6 | </head> | |
7 |
|
7 | |||
8 | <body> |
|
8 | <body> | |
9 | <div id="container"> |
|
9 | <div id="container"> | |
10 | <div class="page-header"> |
|
10 | <div class="page-header"> | |
11 | <h1><a href="{url}summary{sessionvars%urlparameter}">#repo|escape#</a> / graph</h1> |
|
11 | <h1><a href="{url}summary{sessionvars%urlparameter}">#repo|escape#</a> / graph</h1> | |
12 |
|
12 | |||
13 | <form action="{url}log"> |
|
13 | <form action="{url}log"> | |
14 | {sessionvars%hiddenformentry} |
|
14 | {sessionvars%hiddenformentry} | |
15 | <dl class="search"> |
|
15 | <dl class="search"> | |
16 | <dt><label>Search: </label></dt> |
|
16 | <dt><label>Search: </label></dt> | |
17 | <dd><input type="text" name="rev" /></dd> |
|
17 | <dd><input type="text" name="rev" /></dd> | |
18 | </dl> |
|
18 | </dl> | |
19 | </form> |
|
19 | </form> | |
20 |
|
20 | |||
21 | <ul class="page-nav"> |
|
21 | <ul class="page-nav"> | |
22 | <li><a href="{url}summary{sessionvars%urlparameter}">summary</a></li> |
|
22 | <li><a href="{url}summary{sessionvars%urlparameter}">summary</a></li> | |
23 | <li><a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a></li> |
|
23 | <li><a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a></li> | |
24 | <li><a href="{url}changelog{sessionvars%urlparameter}">changelog</a></li> |
|
24 | <li><a href="{url}changelog{sessionvars%urlparameter}">changelog</a></li> | |
25 | <li class="current">graph</li> |
|
25 | <li class="current">graph</li> | |
26 | <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> |
|
26 | <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> | |
27 | <li><a href="{url}file/#node|short#{sessionvars%urlparameter}">files</a></li> |
|
27 | <li><a href="{url}file/#node|short#{sessionvars%urlparameter}">files</a></li> | |
28 | </ul> |
|
28 | </ul> | |
29 | </div> |
|
29 | </div> | |
30 |
|
30 | |||
31 | <h2 class="no-link no-border">graph</h2> |
|
31 | <h2 class="no-link no-border">graph</h2> | |
32 |
|
32 | |||
33 | <div id="noscript">The revision graph only works with JavaScript-enabled browsers.</div> |
|
33 | <div id="noscript">The revision graph only works with JavaScript-enabled browsers.</div> | |
34 | <div id="wrapper"> |
|
34 | <div id="wrapper"> | |
35 | <ul id="nodebgs"></ul> |
|
35 | <ul id="nodebgs"></ul> | |
36 | <canvas id="graph" width="224" height="#canvasheight#"></canvas> |
|
36 | <canvas id="graph" width="224" height="#canvasheight#"></canvas> | |
37 | <ul id="graphnodes"></ul> |
|
37 | <ul id="graphnodes"></ul> | |
38 | </div> |
|
38 | </div> | |
39 |
|
39 | |||
40 | <script type="text/javascript" src="#staticurl#graph.js"></script> |
|
40 | <script type="text/javascript" src="#staticurl#graph.js"></script> | |
41 | <script> |
|
41 | <script> | |
42 | <!-- hide script content |
|
42 | <!-- hide script content | |
43 |
|
43 | |||
44 | document.getElementById('noscript').style.display = 'none'; |
|
44 | document.getElementById('noscript').style.display = 'none'; | |
45 |
|
45 | |||
46 | var data = {jsdata|json}; |
|
46 | var data = {jsdata|json}; | |
47 | var graph = new Graph(); |
|
47 | var graph = new Graph(); | |
48 | graph.scale({bg_height}); |
|
48 | graph.scale({bg_height}); | |
49 |
|
49 | |||
50 | graph.edge = function(x0, y0, x1, y1, color) { |
|
50 | graph.edge = function(x0, y0, x1, y1, color) { | |
51 |
|
51 | |||
52 | this.setColor(color, 0.0, 0.65); |
|
52 | this.setColor(color, 0.0, 0.65); | |
53 | this.ctx.beginPath(); |
|
53 | this.ctx.beginPath(); | |
54 | this.ctx.moveTo(x0, y0); |
|
54 | this.ctx.moveTo(x0, y0); | |
55 | this.ctx.lineTo(x1, y1); |
|
55 | this.ctx.lineTo(x1, y1); | |
56 | this.ctx.stroke(); |
|
56 | this.ctx.stroke(); | |
57 |
|
57 | |||
58 | } |
|
58 | } | |
59 |
|
59 | |||
60 | var revlink = '<li style="_STYLE"><span class="desc">'; |
|
60 | var revlink = '<li style="_STYLE"><span class="desc">'; | |
61 | revlink += '<a href="{url}rev/_NODEID{sessionvars%urlparameter}" title="_NODEID">_DESC</a>'; |
|
61 | revlink += '<a href="{url}rev/_NODEID{sessionvars%urlparameter}" title="_NODEID">_DESC</a>'; | |
62 | revlink += '</span>_TAGS<span class="info">_DATE ago, by _USER</span></li>'; |
|
62 | revlink += '</span>_TAGS<span class="info">_DATE ago, by _USER</span></li>'; | |
63 |
|
63 | |||
64 | graph.vertex = function(x, y, color, parity, cur) { |
|
64 | graph.vertex = function(x, y, color, parity, cur) { | |
65 |
|
65 | |||
66 | this.ctx.beginPath(); |
|
66 | this.ctx.beginPath(); | |
67 | color = this.setColor(color, 0.25, 0.75); |
|
67 | color = this.setColor(color, 0.25, 0.75); | |
68 | this.ctx.arc(x, y, radius, 0, Math.PI * 2, true); |
|
68 | this.ctx.arc(x, y, radius, 0, Math.PI * 2, true); | |
69 | this.ctx.fill(); |
|
69 | this.ctx.fill(); | |
70 |
|
70 | |||
71 | var bg = '<li class="bg parity' + parity + '"></li>'; |
|
71 | var bg = '<li class="bg parity' + parity + '"></li>'; | |
72 | var left = (this.columns + 1) * this.bg_height; |
|
72 | var left = (this.columns + 1) * this.bg_height; | |
73 | var nstyle = 'padding-left: ' + left + 'px;'; |
|
73 | var nstyle = 'padding-left: ' + left + 'px;'; | |
74 | var item = revlink.replace(/_STYLE/, nstyle); |
|
74 | var item = revlink.replace(/_STYLE/, nstyle); | |
75 | item = item.replace(/_PARITY/, 'parity' + parity); |
|
75 | item = item.replace(/_PARITY/, 'parity' + parity); | |
76 | item = item.replace(/_NODEID/, cur[0]); |
|
76 | item = item.replace(/_NODEID/, cur[0]); | |
77 | item = item.replace(/_NODEID/, cur[0]); |
|
77 | item = item.replace(/_NODEID/, cur[0]); | |
78 | item = item.replace(/_DESC/, cur[3]); |
|
78 | if (cur[3] != '') | |
|
79 | item = item.replace(/_DESC/, cur[3]); | |||
|
80 | else | |||
|
81 | item = item.replace(/_DESC/, '(none)'); | |||
79 | item = item.replace(/_USER/, cur[4]); |
|
82 | item = item.replace(/_USER/, cur[4]); | |
80 | item = item.replace(/_DATE/, cur[5]); |
|
83 | item = item.replace(/_DATE/, cur[5]); | |
81 |
|
84 | |||
82 | var tagspan = ''; |
|
85 | var tagspan = ''; | |
83 | if (cur[7].length || (cur[6][0] != 'default' || cur[6][1])) { |
|
86 | if (cur[7].length || (cur[6][0] != 'default' || cur[6][1])) { | |
84 | tagspan = '<span class="logtags">'; |
|
87 | tagspan = '<span class="logtags">'; | |
85 | if (cur[6][1]) { |
|
88 | if (cur[6][1]) { | |
86 | tagspan += '<span class="branchtag" title="' + cur[6][0] + '">'; |
|
89 | tagspan += '<span class="branchtag" title="' + cur[6][0] + '">'; | |
87 | tagspan += cur[6][0] + '</span> '; |
|
90 | tagspan += cur[6][0] + '</span> '; | |
88 | } else if (!cur[6][1] && cur[6][0] != 'default') { |
|
91 | } else if (!cur[6][1] && cur[6][0] != 'default') { | |
89 | tagspan += '<span class="inbranchtag" title="' + cur[6][0] + '">'; |
|
92 | tagspan += '<span class="inbranchtag" title="' + cur[6][0] + '">'; | |
90 | tagspan += cur[6][0] + '</span> '; |
|
93 | tagspan += cur[6][0] + '</span> '; | |
91 | } |
|
94 | } | |
92 | if (cur[7].length) { |
|
95 | if (cur[7].length) { | |
93 | for (var t in cur[7]) { |
|
96 | for (var t in cur[7]) { | |
94 | var tag = cur[7][t]; |
|
97 | var tag = cur[7][t]; | |
95 | tagspan += '<span class="tagtag">' + tag + '</span> '; |
|
98 | tagspan += '<span class="tagtag">' + tag + '</span> '; | |
96 | } |
|
99 | } | |
97 | } |
|
100 | } | |
98 | tagspan += '</span>'; |
|
101 | tagspan += '</span>'; | |
99 | } |
|
102 | } | |
100 |
|
103 | |||
101 | item = item.replace(/_TAGS/, tagspan); |
|
104 | item = item.replace(/_TAGS/, tagspan); | |
102 | return [bg, item]; |
|
105 | return [bg, item]; | |
103 |
|
106 | |||
104 | } |
|
107 | } | |
105 |
|
108 | |||
106 | graph.render(data); |
|
109 | graph.render(data); | |
107 |
|
110 | |||
108 | // stop hiding script --> |
|
111 | // stop hiding script --> | |
109 | </script> |
|
112 | </script> | |
110 |
|
113 | |||
111 | <div class="page-path"> |
|
114 | <div class="page-path"> | |
112 | <a href="{url}graph/{rev}{lessvars%urlparameter}">less</a> |
|
115 | <a href="{url}graph/{rev}{lessvars%urlparameter}">less</a> | |
113 | <a href="{url}graph/{rev}{morevars%urlparameter}">more</a> |
|
116 | <a href="{url}graph/{rev}{morevars%urlparameter}">more</a> | |
114 | | {changenav%navgraphentry} |
|
117 | | {changenav%navgraphentry} | |
115 | </div> |
|
118 | </div> | |
116 |
|
119 | |||
117 | #footer# |
|
120 | #footer# |
@@ -1,66 +1,66 | |||||
1 | default = 'summary' |
|
1 | default = 'summary' | |
2 | mimetype = 'text/html; charset={encoding}' |
|
2 | mimetype = 'text/html; charset={encoding}' | |
3 | header = header.tmpl |
|
3 | header = header.tmpl | |
4 | footer = footer.tmpl |
|
4 | footer = footer.tmpl | |
5 | search = search.tmpl |
|
5 | search = search.tmpl | |
6 | changelog = changelog.tmpl |
|
6 | changelog = changelog.tmpl | |
7 | summary = summary.tmpl |
|
7 | summary = summary.tmpl | |
8 | error = error.tmpl |
|
8 | error = error.tmpl | |
9 | notfound = notfound.tmpl |
|
9 | notfound = notfound.tmpl | |
10 | naventry = '<a href="{url}log/{node|short}{sessionvars%urlparameter}">{label|escape}</a> ' |
|
10 | naventry = '<a href="{url}log/{node|short}{sessionvars%urlparameter}">{label|escape}</a> ' | |
11 | navshortentry = '<a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">{label|escape}</a> ' |
|
11 | navshortentry = '<a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">{label|escape}</a> ' | |
12 | navgraphentry = '<a href="{url}graph/{node|short}{sessionvars%urlparameter}">{label|escape}</a> ' |
|
12 | navgraphentry = '<a href="{url}graph/{node|short}{sessionvars%urlparameter}">{label|escape}</a> ' | |
13 | filenaventry = '<a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{label|escape}</a>' |
|
13 | filenaventry = '<a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{label|escape}</a>' | |
14 | filedifflink = '<a href="#url#diff/#node|short#/#file|urlescape#{sessionvars%urlparameter}">#file|escape#</a> ' |
|
14 | filedifflink = '<a href="#url#diff/#node|short#/#file|urlescape#{sessionvars%urlparameter}">#file|escape#</a> ' | |
15 | filenodelink = '<tr class="parity#parity#"><td><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">#file|escape#</a></td><td></td><td><a href="#url#file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">file</a> | <a href="#url#annotate/#node|short#/#file|urlescape#{sessionvars%urlparameter}">annotate</a> | <a href="#url#diff/#node|short#/#file|urlescape#{sessionvars%urlparameter}">diff</a> | <a href="#url#log/#node|short#/#file|urlescape#{sessionvars%urlparameter}">revisions</a></td></tr>' |
|
15 | filenodelink = '<tr class="parity#parity#"><td><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">#file|escape#</a></td><td></td><td><a href="#url#file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">file</a> | <a href="#url#annotate/#node|short#/#file|urlescape#{sessionvars%urlparameter}">annotate</a> | <a href="#url#diff/#node|short#/#file|urlescape#{sessionvars%urlparameter}">diff</a> | <a href="#url#log/#node|short#/#file|urlescape#{sessionvars%urlparameter}">revisions</a></td></tr>' | |
16 | filenolink = '<tr class="parity#parity#"><td><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">#file|escape#</a></td><td></td><td>file | annotate | <a href="#url#diff/#node|short#/#file|urlescape#{sessionvars%urlparameter}">diff</a> | <a href="#url#log/#node|short#/#file|urlescape#{sessionvars%urlparameter}">revisions</a></td></tr>' |
|
16 | filenolink = '<tr class="parity#parity#"><td><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">#file|escape#</a></td><td></td><td>file | annotate | <a href="#url#diff/#node|short#/#file|urlescape#{sessionvars%urlparameter}">diff</a> | <a href="#url#log/#node|short#/#file|urlescape#{sessionvars%urlparameter}">revisions</a></td></tr>' | |
17 | fileellipses = '...' |
|
17 | fileellipses = '...' | |
18 | changelogentry = changelogentry.tmpl |
|
18 | changelogentry = changelogentry.tmpl | |
19 | searchentry = changelogentry.tmpl |
|
19 | searchentry = changelogentry.tmpl | |
20 | changeset = changeset.tmpl |
|
20 | changeset = changeset.tmpl | |
21 | manifest = manifest.tmpl |
|
21 | manifest = manifest.tmpl | |
22 | direntry = '<tr class="parity#parity#"><td>drwxr-xr-x</td><td></td><td></td><td><a href="#url#file/#node|short##path|urlescape#{sessionvars%urlparameter}">#basename|escape#</a></td><td><a href="#url#file/#node|short##path|urlescape#{sessionvars%urlparameter}">files</a></td></tr>' |
|
22 | direntry = '<tr class="parity#parity#"><td>drwxr-xr-x</td><td></td><td></td><td><a href="#url#file/#node|short##path|urlescape#{sessionvars%urlparameter}">#basename|escape#</a></td><td><a href="#url#file/#node|short##path|urlescape#{sessionvars%urlparameter}">files</a></td></tr>' | |
23 | fileentry = '<tr class="parity#parity#"><td>#permissions|permissions#</td><td>#date|isodate#</td><td>#size#</td><td><a href="#url#file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">#basename|escape#</a></td><td><a href="#url#file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">file</a> | <a href="#url#log/#node|short#/#file|urlescape#{sessionvars%urlparameter}">revisions</a> | <a href="#url#annotate/#node|short#/#file|urlescape#{sessionvars%urlparameter}">annotate</a></td></tr>' |
|
23 | fileentry = '<tr class="parity#parity#"><td>#permissions|permissions#</td><td>#date|isodate#</td><td>#size#</td><td><a href="#url#file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">#basename|escape#</a></td><td><a href="#url#file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">file</a> | <a href="#url#log/#node|short#/#file|urlescape#{sessionvars%urlparameter}">revisions</a> | <a href="#url#annotate/#node|short#/#file|urlescape#{sessionvars%urlparameter}">annotate</a></td></tr>' | |
24 | filerevision = filerevision.tmpl |
|
24 | filerevision = filerevision.tmpl | |
25 | fileannotate = fileannotate.tmpl |
|
25 | fileannotate = fileannotate.tmpl | |
26 | filediff = filediff.tmpl |
|
26 | filediff = filediff.tmpl | |
27 | filelog = filelog.tmpl |
|
27 | filelog = filelog.tmpl | |
28 | fileline = '<div style="font-family:monospace" class="parity#parity#"><pre><a class="linenr" href="##lineid#" id="#lineid#">#linenumber#</a> #line|escape#</pre></div>' |
|
28 | fileline = '<div style="font-family:monospace" class="parity#parity#"><pre><a class="linenr" href="##lineid#" id="#lineid#">#linenumber#</a> #line|escape#</pre></div>' | |
29 | annotateline = '<tr class="parity{parity}"><td class="linenr"><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>' |
|
29 | annotateline = '<tr class="parity{parity}"><td class="linenr"><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>' | |
30 | difflineplus = '<span style="color:#008800;"><a class="linenr" href="##lineid#" id="#lineid#">#linenumber#</a> #line|escape#</span>' |
|
30 | difflineplus = '<span style="color:#008800;"><a class="linenr" href="##lineid#" id="#lineid#">#linenumber#</a> #line|escape#</span>' | |
31 | difflineminus = '<span style="color:#cc0000;"><a class="linenr" href="##lineid#" id="#lineid#">#linenumber#</a> #line|escape#</span>' |
|
31 | difflineminus = '<span style="color:#cc0000;"><a class="linenr" href="##lineid#" id="#lineid#">#linenumber#</a> #line|escape#</span>' | |
32 | difflineat = '<span style="color:#990099;"><a class="linenr" href="##lineid#" id="#lineid#">#linenumber#</a> #line|escape#</span>' |
|
32 | difflineat = '<span style="color:#990099;"><a class="linenr" href="##lineid#" id="#lineid#">#linenumber#</a> #line|escape#</span>' | |
33 | diffline = '<span><a class="linenr" href="##lineid#" id="#lineid#">#linenumber#</a> #line|escape#</span>' |
|
33 | diffline = '<span><a class="linenr" href="##lineid#" id="#lineid#">#linenumber#</a> #line|escape#</span>' | |
34 | changelogparent = '<tr><th class="parent">parent #rev#:</th><td class="parent"><a href="#url#rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></td></tr>' |
|
34 | changelogparent = '<tr><th class="parent">parent #rev#:</th><td class="parent"><a href="#url#rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></td></tr>' | |
35 | changesetbranch = '<dt>branch</dt><dd>{name}</dd>' |
|
35 | changesetbranch = '<dt>branch</dt><dd>{name}</dd>' | |
36 | changesetparent = '<dt>parent {rev}</dt><dd><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></dd>' |
|
36 | changesetparent = '<dt>parent {rev}</dt><dd><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></dd>' | |
37 | filerevbranch = '<dt>branch</dt><dd>{name}</dd>' |
|
37 | filerevbranch = '<dt>branch</dt><dd>{name}</dd>' | |
38 | filerevparent = '<dt>parent {rev}</dt><dd><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{rename%filerename}{node|short}</a></dd>' |
|
38 | filerevparent = '<dt>parent {rev}</dt><dd><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{rename%filerename}{node|short}</a></dd>' | |
39 | filerename = '{file|escape}@' |
|
39 | filerename = '{file|escape}@' | |
40 | filelogrename = '| <a href="{url}file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">base</a>' |
|
40 | filelogrename = '| <a href="{url}file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">base</a>' | |
41 | fileannotateparent = '<dt>parent {rev}</dt><dd><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{rename%filerename}{node|short}</a></dd>' |
|
41 | fileannotateparent = '<dt>parent {rev}</dt><dd><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{rename%filerename}{node|short}</a></dd>' | |
42 | changelogchild = '<dt>child #rev#:</dt><dd><a href="{url}rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></dd>' |
|
42 | changelogchild = '<dt>child #rev#:</dt><dd><a href="{url}rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></dd>' | |
43 | changesetchild = '<dt>child {rev}</dt><dd><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></dd>' |
|
43 | changesetchild = '<dt>child {rev}</dt><dd><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></dd>' | |
44 | filerevchild = '<dt>child {rev}</dt><dd><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></dd>' |
|
44 | filerevchild = '<dt>child {rev}</dt><dd><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></dd>' | |
45 | fileannotatechild = '<dt>child {rev}</dt><dd><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></dd>' |
|
45 | fileannotatechild = '<dt>child {rev}</dt><dd><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></dd>' | |
46 | tags = tags.tmpl |
|
46 | tags = tags.tmpl | |
47 | tagentry = '<tr class="parity#parity#"><td class="nowrap">#date|age# ago</td><td><a href="{url}rev/{node|short}{sessionvars%urlparameter}">#tag|escape#</a></td><td class="nowrap"><a href="{url}rev/#node|short#{sessionvars%urlparameter}">changeset</a> | <a href="{url}log/#node|short#{sessionvars%urlparameter}">changelog</a> | <a href="{url}file/#node|short#{sessionvars%urlparameter}">files</a></td></tr>' |
|
47 | tagentry = '<tr class="parity#parity#"><td class="nowrap">#date|age# ago</td><td><a href="{url}rev/{node|short}{sessionvars%urlparameter}">#tag|escape#</a></td><td class="nowrap"><a href="{url}rev/#node|short#{sessionvars%urlparameter}">changeset</a> | <a href="{url}log/#node|short#{sessionvars%urlparameter}">changelog</a> | <a href="{url}file/#node|short#{sessionvars%urlparameter}">files</a></td></tr>' | |
48 | branchentry = '<tr class="parity{parity}"><td class="nowrap">{date|age} ago</td><td><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td><td>{branch|escape}</td><td class="nowrap"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a> | <a href="{url}log/{node|short}{sessionvars%urlparameter}">changelog</a> | <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a></td></tr>' |
|
48 | branchentry = '<tr class="parity{parity}"><td class="nowrap">{date|age} ago</td><td><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td><td>{branch|escape}</td><td class="nowrap"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a> | <a href="{url}log/{node|short}{sessionvars%urlparameter}">changelog</a> | <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a></td></tr>' | |
49 | diffblock = '<pre>#lines#</pre>' |
|
49 | diffblock = '<pre>#lines#</pre>' | |
50 | filediffparent = '<dt>parent {rev}</dt><dd><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></dd>' |
|
50 | filediffparent = '<dt>parent {rev}</dt><dd><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></dd>' | |
51 | filelogparent = '<tr><td align="right">parent #rev#: </td><td><a href="{url}file/{node|short}/#file|urlescape#{sessionvars%urlparameter}">#node|short#</a></td></tr>' |
|
51 | filelogparent = '<tr><td align="right">parent #rev#: </td><td><a href="{url}file/{node|short}/#file|urlescape#{sessionvars%urlparameter}">#node|short#</a></td></tr>' | |
52 | filediffchild = '<dt>child {rev}</dt><dd><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></dd>' |
|
52 | filediffchild = '<dt>child {rev}</dt><dd><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></dd>' | |
53 | filelogchild = '<tr><td align="right">child #rev#: </td><td><a href="{url}file{node|short}/#file|urlescape#{sessionvars%urlparameter}">#node|short#</a></td></tr>' |
|
53 | filelogchild = '<tr><td align="right">child #rev#: </td><td><a href="{url}file{node|short}/#file|urlescape#{sessionvars%urlparameter}">#node|short#</a></td></tr>' | |
54 | shortlog = shortlog.tmpl |
|
54 | shortlog = shortlog.tmpl | |
55 | tagtag = '<span class="tagtag" title="{name}">{name}</span> ' |
|
55 | tagtag = '<span class="tagtag" title="{name}">{name}</span> ' | |
56 | branchtag = '<span class="branchtag" title="{name}">{name}</span> ' |
|
56 | branchtag = '<span class="branchtag" title="{name}">{name}</span> ' | |
57 | inbranchtag = '<span class="inbranchtag" title="{name}">{name}</span> ' |
|
57 | inbranchtag = '<span class="inbranchtag" title="{name}">{name}</span> ' | |
58 | shortlogentry = '<tr class="parity#parity#"><td class="nowrap">#date|age# ago</td><td>#author|person#</td><td><a href="{url}rev/#node|short#{sessionvars%urlparameter}">#desc|strip|firstline|escape# <span class="logtags">{inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}</span></a></td><td class="nowrap"><a href="{url}rev/#node|short#{sessionvars%urlparameter}">changeset</a> | <a href="{url}file/#node|short#{sessionvars%urlparameter}">files</a></td></tr>' |
|
58 | shortlogentry = '<tr class="parity#parity#"><td class="nowrap">#date|age# ago</td><td>#author|person#</td><td><a href="{url}rev/#node|short#{sessionvars%urlparameter}">#desc|strip|firstline|escape|nonempty# <span class="logtags">{inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}</span></a></td><td class="nowrap"><a href="{url}rev/#node|short#{sessionvars%urlparameter}">changeset</a> | <a href="{url}file/#node|short#{sessionvars%urlparameter}">files</a></td></tr>' | |
59 | filelogentry = '<tr class="parity#parity#"><td class="nowrap">#date|age# ago</td><td><a href="{url}rev/#node|short#{sessionvars%urlparameter}">#desc|strip|firstline|escape#</a></td><td class="nowrap"><a href="{url}file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">file</a> | <a href="{url}diff/#node|short#/#file|urlescape#{sessionvars%urlparameter}">diff</a> | <a href="{url}annotate/#node|short#/#file|urlescape#{sessionvars%urlparameter}">annotate</a> #rename%filelogrename#</td></tr>' |
|
59 | filelogentry = '<tr class="parity#parity#"><td class="nowrap">#date|age# ago</td><td><a href="{url}rev/#node|short#{sessionvars%urlparameter}">#desc|strip|firstline|escape|nonempty#</a></td><td class="nowrap"><a href="{url}file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">file</a> | <a href="{url}diff/#node|short#/#file|urlescape#{sessionvars%urlparameter}">diff</a> | <a href="{url}annotate/#node|short#/#file|urlescape#{sessionvars%urlparameter}">annotate</a> #rename%filelogrename#</td></tr>' | |
60 | archiveentry = '<li><a href="{url}archive/{node|short}{extension}">#type|escape#</a></li>' |
|
60 | archiveentry = '<li><a href="{url}archive/{node|short}{extension}">#type|escape#</a></li>' | |
61 | indexentry = '<tr class="parity{parity}"><td><a href="{url}{sessionvars%urlparameter}">{name|escape}</a></td><td>{description}</td><td>{contact|obfuscate}</td><td>{lastchange|age} ago</td><td class="indexlinks">{archives%indexarchiveentry}</td><td><div class="rss_logo"><a href="{url}rss-log">RSS</a> <a href="{url}atom-log">Atom</a></div></td></tr>\n' |
|
61 | indexentry = '<tr class="parity{parity}"><td><a href="{url}{sessionvars%urlparameter}">{name|escape}</a></td><td>{description}</td><td>{contact|obfuscate}</td><td>{lastchange|age} ago</td><td class="indexlinks">{archives%indexarchiveentry}</td><td><div class="rss_logo"><a href="{url}rss-log">RSS</a> <a href="{url}atom-log">Atom</a></div></td></tr>\n' | |
62 | indexarchiveentry = '<a href="{url}archive/{node|short}{extension}">{type|escape}</a> ' |
|
62 | indexarchiveentry = '<a href="{url}archive/{node|short}{extension}">{type|escape}</a> ' | |
63 | index = index.tmpl |
|
63 | index = index.tmpl | |
64 | urlparameter = '#separator##name#=#value|urlescape#' |
|
64 | urlparameter = '#separator##name#=#value|urlescape#' | |
65 | hiddenformentry = '<input type="hidden" name="#name#" value="#value|escape#" />' |
|
65 | hiddenformentry = '<input type="hidden" name="#name#" value="#value|escape#" />' | |
66 | graph = graph.tmpl |
|
66 | graph = graph.tmpl |
@@ -1,70 +1,70 | |||||
1 | {header} |
|
1 | {header} | |
2 | <title>{repo|escape}: {node|short}</title> |
|
2 | <title>{repo|escape}: {node|short}</title> | |
3 | </head> |
|
3 | </head> | |
4 | <body> |
|
4 | <body> | |
5 | <div class="container"> |
|
5 | <div class="container"> | |
6 | <div class="menu"> |
|
6 | <div class="menu"> | |
7 | <div class="logo"> |
|
7 | <div class="logo"> | |
8 | <a href="http://www.selenic.com/mercurial/"> |
|
8 | <a href="http://www.selenic.com/mercurial/"> | |
9 | <img src="{staticurl}hglogo.png" alt="mercurial" /></a> |
|
9 | <img src="{staticurl}hglogo.png" alt="mercurial" /></a> | |
10 | </div> |
|
10 | </div> | |
11 | <ul> |
|
11 | <ul> | |
12 | <li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li> |
|
12 | <li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li> | |
13 | <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> |
|
13 | <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> | |
14 | <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> |
|
14 | <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> | |
15 | </ul> |
|
15 | </ul> | |
16 | <ul> |
|
16 | <ul> | |
17 | <li class="active">changeset</li> |
|
17 | <li class="active">changeset</li> | |
18 | <li><a href="{url}raw-rev/{node|short}{sessionvars%urlparameter}">raw</a></li> |
|
18 | <li><a href="{url}raw-rev/{node|short}{sessionvars%urlparameter}">raw</a></li> | |
19 | <li><a href="{url}file/{node|short}{sessionvars%urlparameter}">browse</a></li> |
|
19 | <li><a href="{url}file/{node|short}{sessionvars%urlparameter}">browse</a></li> | |
20 | </ul> |
|
20 | </ul> | |
21 | <ul> |
|
21 | <ul> | |
22 | {archives%archiveentry} |
|
22 | {archives%archiveentry} | |
23 | </ul> |
|
23 | </ul> | |
24 | </div> |
|
24 | </div> | |
25 |
|
25 | |||
26 | <div class="main"> |
|
26 | <div class="main"> | |
27 |
|
27 | |||
28 | <h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2> |
|
28 | <h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2> | |
29 | <h3>changeset {rev}:{node|short} {changesetbranch%changelogbranchname} {changesettag}</h3> |
|
29 | <h3>changeset {rev}:{node|short} {changesetbranch%changelogbranchname} {changesettag}</h3> | |
30 |
|
30 | |||
31 | <form class="search" action="{url}log"> |
|
31 | <form class="search" action="{url}log"> | |
32 | {sessionvars%hiddenformentry} |
|
32 | {sessionvars%hiddenformentry} | |
33 | <p><input name="rev" id="search1" type="text" size="30" /></p> |
|
33 | <p><input name="rev" id="search1" type="text" size="30" /></p> | |
34 | <div id="hint">find changesets by author, revision, |
|
34 | <div id="hint">find changesets by author, revision, | |
35 | files, or words in the commit message</div> |
|
35 | files, or words in the commit message</div> | |
36 | </form> |
|
36 | </form> | |
37 |
|
37 | |||
38 | <div class="description">{desc|strip|escape|addbreaks}</div> |
|
38 | <div class="description">{desc|strip|escape|addbreaks|nonempty}</div> | |
39 |
|
39 | |||
40 | <table id="changesetEntry"> |
|
40 | <table id="changesetEntry"> | |
41 | <tr> |
|
41 | <tr> | |
42 | <th class="author">author</th> |
|
42 | <th class="author">author</th> | |
43 | <td class="author">{author|obfuscate}</td> |
|
43 | <td class="author">{author|obfuscate}</td> | |
44 | </tr> |
|
44 | </tr> | |
45 | <tr> |
|
45 | <tr> | |
46 | <th class="date">date</th> |
|
46 | <th class="date">date</th> | |
47 | <td class="date">{date|date} ({date|age} ago)</td></tr> |
|
47 | <td class="date">{date|date} ({date|age} ago)</td></tr> | |
48 | <tr> |
|
48 | <tr> | |
49 | <th class="author">parents</th> |
|
49 | <th class="author">parents</th> | |
50 | <td class="author">{parent%changesetparent}</td> |
|
50 | <td class="author">{parent%changesetparent}</td> | |
51 | </tr> |
|
51 | </tr> | |
52 | <tr> |
|
52 | <tr> | |
53 | <th class="author">children</th> |
|
53 | <th class="author">children</th> | |
54 | <td class="author">{child%changesetchild}</td> |
|
54 | <td class="author">{child%changesetchild}</td> | |
55 | </tr> |
|
55 | </tr> | |
56 | <tr> |
|
56 | <tr> | |
57 | <th class="files">files</th> |
|
57 | <th class="files">files</th> | |
58 | <td class="files">{files}</td> |
|
58 | <td class="files">{files}</td> | |
59 | </tr> |
|
59 | </tr> | |
60 | </table> |
|
60 | </table> | |
61 |
|
61 | |||
62 | <div class="overflow"> |
|
62 | <div class="overflow"> | |
63 | <div class="sourcefirst"> line diff</div> |
|
63 | <div class="sourcefirst"> line diff</div> | |
64 |
|
64 | |||
65 | {diff} |
|
65 | {diff} | |
66 | </div> |
|
66 | </div> | |
67 |
|
67 | |||
68 | </div> |
|
68 | </div> | |
69 | </div> |
|
69 | </div> | |
70 | {footer} |
|
70 | {footer} |
@@ -1,78 +1,78 | |||||
1 | {header} |
|
1 | {header} | |
2 | <title>{repo|escape}: {file|escape} annotate</title> |
|
2 | <title>{repo|escape}: {file|escape} annotate</title> | |
3 | </head> |
|
3 | </head> | |
4 | <body> |
|
4 | <body> | |
5 |
|
5 | |||
6 | <div class="container"> |
|
6 | <div class="container"> | |
7 | <div class="menu"> |
|
7 | <div class="menu"> | |
8 | <div class="logo"> |
|
8 | <div class="logo"> | |
9 | <a href="http://www.selenic.com/mercurial/"> |
|
9 | <a href="http://www.selenic.com/mercurial/"> | |
10 | <img src="{staticurl}hglogo.png" alt="mercurial" /></a> |
|
10 | <img src="{staticurl}hglogo.png" alt="mercurial" /></a> | |
11 | </div> |
|
11 | </div> | |
12 | <ul> |
|
12 | <ul> | |
13 | <li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li> |
|
13 | <li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li> | |
14 | <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> |
|
14 | <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> | |
15 | <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> |
|
15 | <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> | |
16 | </ul> |
|
16 | </ul> | |
17 |
|
17 | |||
18 | <ul> |
|
18 | <ul> | |
19 | <li><a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a></li> |
|
19 | <li><a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a></li> | |
20 | <li><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">browse</a></li> |
|
20 | <li><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">browse</a></li> | |
21 | </ul> |
|
21 | </ul> | |
22 | <ul> |
|
22 | <ul> | |
23 | <li><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a></li> |
|
23 | <li><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a></li> | |
24 | <li><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a></li> |
|
24 | <li><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a></li> | |
25 | <li class="active">annotate</li> |
|
25 | <li class="active">annotate</li> | |
26 | <li><a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file log</a></li> |
|
26 | <li><a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file log</a></li> | |
27 | <li><a href="{url}raw-annotate/{node|short}/{file|urlescape}">raw</a></li> |
|
27 | <li><a href="{url}raw-annotate/{node|short}/{file|urlescape}">raw</a></li> | |
28 | </ul> |
|
28 | </ul> | |
29 | </div> |
|
29 | </div> | |
30 |
|
30 | |||
31 | <div class="main"> |
|
31 | <div class="main"> | |
32 | <h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2> |
|
32 | <h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2> | |
33 | <h3>annotate {file|escape} @ {rev}:{node|short}</h3> |
|
33 | <h3>annotate {file|escape} @ {rev}:{node|short}</h3> | |
34 |
|
34 | |||
35 | <form class="search" action="{url}log"> |
|
35 | <form class="search" action="{url}log"> | |
36 | {sessionvars%hiddenformentry} |
|
36 | {sessionvars%hiddenformentry} | |
37 | <p><input name="rev" id="search1" type="text" size="30" /></p> |
|
37 | <p><input name="rev" id="search1" type="text" size="30" /></p> | |
38 | <div id="hint">find changesets by author, revision, |
|
38 | <div id="hint">find changesets by author, revision, | |
39 | files, or words in the commit message</div> |
|
39 | files, or words in the commit message</div> | |
40 | </form> |
|
40 | </form> | |
41 |
|
41 | |||
42 | <div class="description">{desc|strip|escape|addbreaks}</div> |
|
42 | <div class="description">{desc|strip|escape|addbreaks|nonempty}</div> | |
43 |
|
43 | |||
44 | <table id="changesetEntry"> |
|
44 | <table id="changesetEntry"> | |
45 | <tr> |
|
45 | <tr> | |
46 | <th class="author">author</th> |
|
46 | <th class="author">author</th> | |
47 | <td class="author">{author|obfuscate}</td> |
|
47 | <td class="author">{author|obfuscate}</td> | |
48 | </tr> |
|
48 | </tr> | |
49 | <tr> |
|
49 | <tr> | |
50 | <th class="date">date</th> |
|
50 | <th class="date">date</th> | |
51 | <td class="date">{date|date} ({date|age} ago)</td> |
|
51 | <td class="date">{date|date} ({date|age} ago)</td> | |
52 | </tr> |
|
52 | </tr> | |
53 | <tr> |
|
53 | <tr> | |
54 | <th class="author">parents</th> |
|
54 | <th class="author">parents</th> | |
55 | <td class="author">{parent%filerevparent}</td> |
|
55 | <td class="author">{parent%filerevparent}</td> | |
56 | </tr> |
|
56 | </tr> | |
57 | <tr> |
|
57 | <tr> | |
58 | <th class="author">children</th> |
|
58 | <th class="author">children</th> | |
59 | <td class="author">{child%filerevchild}</td> |
|
59 | <td class="author">{child%filerevchild}</td> | |
60 | </tr> |
|
60 | </tr> | |
61 | {changesettag} |
|
61 | {changesettag} | |
62 | </table> |
|
62 | </table> | |
63 |
|
63 | |||
64 | <br/> |
|
64 | <br/> | |
65 |
|
65 | |||
66 | <div class="overflow"> |
|
66 | <div class="overflow"> | |
67 | <table class="bigtable"> |
|
67 | <table class="bigtable"> | |
68 | <tr> |
|
68 | <tr> | |
69 | <th class="annotate">rev</th> |
|
69 | <th class="annotate">rev</th> | |
70 | <th class="line"> line source</th> |
|
70 | <th class="line"> line source</th> | |
71 | </tr> |
|
71 | </tr> | |
72 | {annotate%annotateline} |
|
72 | {annotate%annotateline} | |
73 | </table> |
|
73 | </table> | |
74 | </div> |
|
74 | </div> | |
75 | </div> |
|
75 | </div> | |
76 | </div> |
|
76 | </div> | |
77 |
|
77 | |||
78 | {footer} |
|
78 | {footer} |
@@ -1,71 +1,71 | |||||
1 | {header} |
|
1 | {header} | |
2 | <title>{repo|escape}: {file|escape} diff</title> |
|
2 | <title>{repo|escape}: {file|escape} diff</title> | |
3 | </head> |
|
3 | </head> | |
4 | <body> |
|
4 | <body> | |
5 |
|
5 | |||
6 | <div class="container"> |
|
6 | <div class="container"> | |
7 | <div class="menu"> |
|
7 | <div class="menu"> | |
8 | <div class="logo"> |
|
8 | <div class="logo"> | |
9 | <a href="http://www.selenic.com/mercurial/"> |
|
9 | <a href="http://www.selenic.com/mercurial/"> | |
10 | <img src="{staticurl}hglogo.png" alt="mercurial" /></a> |
|
10 | <img src="{staticurl}hglogo.png" alt="mercurial" /></a> | |
11 | </div> |
|
11 | </div> | |
12 | <ul> |
|
12 | <ul> | |
13 | <li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li> |
|
13 | <li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li> | |
14 | <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> |
|
14 | <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> | |
15 | <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> |
|
15 | <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> | |
16 | </ul> |
|
16 | </ul> | |
17 | <ul> |
|
17 | <ul> | |
18 | <li><a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a></li> |
|
18 | <li><a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a></li> | |
19 | <li><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">browse</a></li> |
|
19 | <li><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">browse</a></li> | |
20 | </ul> |
|
20 | </ul> | |
21 | <ul> |
|
21 | <ul> | |
22 | <li><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a></li> |
|
22 | <li><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a></li> | |
23 | <li class="active">diff</li> |
|
23 | <li class="active">diff</li> | |
24 | <li><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a></li> |
|
24 | <li><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a></li> | |
25 | <li><a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file log</a></li> |
|
25 | <li><a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file log</a></li> | |
26 | <li><a href="{url}raw-file/{node|short}/{file|urlescape}">raw</a></li> |
|
26 | <li><a href="{url}raw-file/{node|short}/{file|urlescape}">raw</a></li> | |
27 | </ul> |
|
27 | </ul> | |
28 | </div> |
|
28 | </div> | |
29 |
|
29 | |||
30 | <div class="main"> |
|
30 | <div class="main"> | |
31 | <h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2> |
|
31 | <h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2> | |
32 | <h3>diff {file|escape} @ {rev}:{node|short}</h3> |
|
32 | <h3>diff {file|escape} @ {rev}:{node|short}</h3> | |
33 |
|
33 | |||
34 | <form class="search" action="{url}log"> |
|
34 | <form class="search" action="{url}log"> | |
35 | <p>{sessionvars%hiddenformentry}</p> |
|
35 | <p>{sessionvars%hiddenformentry}</p> | |
36 | <p><input name="rev" id="search1" type="text" size="30" /></p> |
|
36 | <p><input name="rev" id="search1" type="text" size="30" /></p> | |
37 | <div id="hint">find changesets by author, revision, |
|
37 | <div id="hint">find changesets by author, revision, | |
38 | files, or words in the commit message</div> |
|
38 | files, or words in the commit message</div> | |
39 | </form> |
|
39 | </form> | |
40 |
|
40 | |||
41 | <div class="description">{desc|strip|escape|addbreaks}</div> |
|
41 | <div class="description">{desc|strip|escape|addbreaks|nonempty}</div> | |
42 |
|
42 | |||
43 | <table id="changesetEntry"> |
|
43 | <table id="changesetEntry"> | |
44 | <tr> |
|
44 | <tr> | |
45 | <th>author</th> |
|
45 | <th>author</th> | |
46 | <td>{author|obfuscate}</td> |
|
46 | <td>{author|obfuscate}</td> | |
47 | </tr> |
|
47 | </tr> | |
48 | <tr> |
|
48 | <tr> | |
49 | <th>date</th> |
|
49 | <th>date</th> | |
50 | <td>{date|date} ({date|age} ago)</td> |
|
50 | <td>{date|date} ({date|age} ago)</td> | |
51 | </tr> |
|
51 | </tr> | |
52 | <tr> |
|
52 | <tr> | |
53 | <th>parents</th> |
|
53 | <th>parents</th> | |
54 | <td>{parent%filerevparent}</td> |
|
54 | <td>{parent%filerevparent}</td> | |
55 | </tr> |
|
55 | </tr> | |
56 | <tr> |
|
56 | <tr> | |
57 | <th>children</th> |
|
57 | <th>children</th> | |
58 | <td>{child%filerevchild}</td> |
|
58 | <td>{child%filerevchild}</td> | |
59 | </tr> |
|
59 | </tr> | |
60 | {changesettag} |
|
60 | {changesettag} | |
61 | </table> |
|
61 | </table> | |
62 |
|
62 | |||
63 | <div class="overflow"> |
|
63 | <div class="overflow"> | |
64 | <div class="sourcefirst"> line diff</div> |
|
64 | <div class="sourcefirst"> line diff</div> | |
65 |
|
65 | |||
66 | {diff} |
|
66 | {diff} | |
67 | </div> |
|
67 | </div> | |
68 | </div> |
|
68 | </div> | |
69 | </div> |
|
69 | </div> | |
70 |
|
70 | |||
71 | {footer} |
|
71 | {footer} |
@@ -1,5 +1,5 | |||||
1 | <tr class="parity{parity}"> |
|
1 | <tr class="parity{parity}"> | |
2 | <td class="age">{date|age}</td> |
|
2 | <td class="age">{date|age}</td> | |
3 | <td class="author">{author|person}</td> |
|
3 | <td class="author">{author|person}</td> | |
4 | <td class="description"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape}</a>{inbranch%changelogbranchname}{branches%changelogbranchhead}{tags%changelogtag}</td> |
|
4 | <td class="description"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape|nonempty}</a>{inbranch%changelogbranchname}{branches%changelogbranchhead}{tags%changelogtag}</td> | |
5 | </tr> |
|
5 | </tr> |
@@ -1,71 +1,71 | |||||
1 | {header} |
|
1 | {header} | |
2 | <title>{repo|escape}: {node|short} {file|escape}</title> |
|
2 | <title>{repo|escape}: {node|short} {file|escape}</title> | |
3 | </head> |
|
3 | </head> | |
4 | <body> |
|
4 | <body> | |
5 |
|
5 | |||
6 | <div class="container"> |
|
6 | <div class="container"> | |
7 | <div class="menu"> |
|
7 | <div class="menu"> | |
8 | <div class="logo"> |
|
8 | <div class="logo"> | |
9 | <a href="http://www.selenic.com/mercurial/"> |
|
9 | <a href="http://www.selenic.com/mercurial/"> | |
10 | <img src="{staticurl}hglogo.png" alt="mercurial" /></a> |
|
10 | <img src="{staticurl}hglogo.png" alt="mercurial" /></a> | |
11 | </div> |
|
11 | </div> | |
12 | <ul> |
|
12 | <ul> | |
13 | <li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li> |
|
13 | <li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li> | |
14 | <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> |
|
14 | <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> | |
15 | <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> |
|
15 | <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> | |
16 | </ul> |
|
16 | </ul> | |
17 | <ul> |
|
17 | <ul> | |
18 | <li><a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a></li> |
|
18 | <li><a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a></li> | |
19 | <li><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">browse</a></li> |
|
19 | <li><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">browse</a></li> | |
20 | </ul> |
|
20 | </ul> | |
21 | <ul> |
|
21 | <ul> | |
22 | <li class="active">file</li> |
|
22 | <li class="active">file</li> | |
23 | <li><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a></li> |
|
23 | <li><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a></li> | |
24 | <li><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a></li> |
|
24 | <li><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a></li> | |
25 | <li><a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file log</a></li> |
|
25 | <li><a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file log</a></li> | |
26 | <li><a href="{url}raw-file/{node|short}/{file|urlescape}">raw</a></li> |
|
26 | <li><a href="{url}raw-file/{node|short}/{file|urlescape}">raw</a></li> | |
27 | </ul> |
|
27 | </ul> | |
28 | </div> |
|
28 | </div> | |
29 |
|
29 | |||
30 | <div class="main"> |
|
30 | <div class="main"> | |
31 | <h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2> |
|
31 | <h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2> | |
32 | <h3>view {file|escape} @ {rev}:{node|short}</h3> |
|
32 | <h3>view {file|escape} @ {rev}:{node|short}</h3> | |
33 |
|
33 | |||
34 | <form class="search" action="{url}log"> |
|
34 | <form class="search" action="{url}log"> | |
35 | {sessionvars%hiddenformentry} |
|
35 | {sessionvars%hiddenformentry} | |
36 | <p><input name="rev" id="search1" type="text" size="30" /></p> |
|
36 | <p><input name="rev" id="search1" type="text" size="30" /></p> | |
37 | <div id="hint">find changesets by author, revision, |
|
37 | <div id="hint">find changesets by author, revision, | |
38 | files, or words in the commit message</div> |
|
38 | files, or words in the commit message</div> | |
39 | </form> |
|
39 | </form> | |
40 |
|
40 | |||
41 | <div class="description">{desc|strip|escape|addbreaks}</div> |
|
41 | <div class="description">{desc|strip|escape|addbreaks|nonempty}</div> | |
42 |
|
42 | |||
43 | <table id="changesetEntry"> |
|
43 | <table id="changesetEntry"> | |
44 | <tr> |
|
44 | <tr> | |
45 | <th class="author">author</th> |
|
45 | <th class="author">author</th> | |
46 | <td class="author">{author|obfuscate}</td> |
|
46 | <td class="author">{author|obfuscate}</td> | |
47 | </tr> |
|
47 | </tr> | |
48 | <tr> |
|
48 | <tr> | |
49 | <th class="date">date</th> |
|
49 | <th class="date">date</th> | |
50 | <td class="date">{date|date} ({date|age} ago)</td> |
|
50 | <td class="date">{date|date} ({date|age} ago)</td> | |
51 | </tr> |
|
51 | </tr> | |
52 | <tr> |
|
52 | <tr> | |
53 | <th class="author">parents</th> |
|
53 | <th class="author">parents</th> | |
54 | <td class="author">{parent%filerevparent}</td> |
|
54 | <td class="author">{parent%filerevparent}</td> | |
55 | </tr> |
|
55 | </tr> | |
56 | <tr> |
|
56 | <tr> | |
57 | <th class="author">children</th> |
|
57 | <th class="author">children</th> | |
58 | <td class="author">{child%filerevchild}</td> |
|
58 | <td class="author">{child%filerevchild}</td> | |
59 | </tr> |
|
59 | </tr> | |
60 | {changesettag} |
|
60 | {changesettag} | |
61 | </table> |
|
61 | </table> | |
62 |
|
62 | |||
63 | <div class="overflow"> |
|
63 | <div class="overflow"> | |
64 | <div class="sourcefirst"> line source</div> |
|
64 | <div class="sourcefirst"> line source</div> | |
65 | {text%fileline} |
|
65 | {text%fileline} | |
66 | <div class="sourcelast"></div> |
|
66 | <div class="sourcelast"></div> | |
67 | </div> |
|
67 | </div> | |
68 | </div> |
|
68 | </div> | |
69 | </div> |
|
69 | </div> | |
70 |
|
70 | |||
71 | {footer} |
|
71 | {footer} |
@@ -1,131 +1,134 | |||||
1 | {header} |
|
1 | {header} | |
2 | <title>{repo|escape}: revision graph</title> |
|
2 | <title>{repo|escape}: revision graph</title> | |
3 | <link rel="alternate" type="application/atom+xml" |
|
3 | <link rel="alternate" type="application/atom+xml" | |
4 | href="{url}atom-log" title="Atom feed for {repo|escape}: log" /> |
|
4 | href="{url}atom-log" title="Atom feed for {repo|escape}: log" /> | |
5 | <link rel="alternate" type="application/rss+xml" |
|
5 | <link rel="alternate" type="application/rss+xml" | |
6 | href="{url}rss-log" title="RSS feed for {repo|escape}: log" /> |
|
6 | href="{url}rss-log" title="RSS feed for {repo|escape}: log" /> | |
7 | <!--[if IE]><script type="text/javascript" src="{staticurl}excanvas.js"></script><![endif]--> |
|
7 | <!--[if IE]><script type="text/javascript" src="{staticurl}excanvas.js"></script><![endif]--> | |
8 | </head> |
|
8 | </head> | |
9 | <body> |
|
9 | <body> | |
10 |
|
10 | |||
11 | <div class="container"> |
|
11 | <div class="container"> | |
12 | <div class="menu"> |
|
12 | <div class="menu"> | |
13 | <div class="logo"> |
|
13 | <div class="logo"> | |
14 | <a href="http://www.selenic.com/mercurial/"> |
|
14 | <a href="http://www.selenic.com/mercurial/"> | |
15 | <img src="{staticurl}hglogo.png" alt="mercurial" /></a> |
|
15 | <img src="{staticurl}hglogo.png" alt="mercurial" /></a> | |
16 | </div> |
|
16 | </div> | |
17 | <ul> |
|
17 | <ul> | |
18 | <li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li> |
|
18 | <li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li> | |
19 | <li class="active">graph</li> |
|
19 | <li class="active">graph</li> | |
20 | <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> |
|
20 | <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> | |
21 | </ul> |
|
21 | </ul> | |
22 | <ul> |
|
22 | <ul> | |
23 | <li><a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a></li> |
|
23 | <li><a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a></li> | |
24 | <li><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">browse</a></li> |
|
24 | <li><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">browse</a></li> | |
25 | </ul> |
|
25 | </ul> | |
26 | </div> |
|
26 | </div> | |
27 |
|
27 | |||
28 | <div class="main"> |
|
28 | <div class="main"> | |
29 | <h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2> |
|
29 | <h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2> | |
30 | <h3>graph</h3> |
|
30 | <h3>graph</h3> | |
31 |
|
31 | |||
32 | <form class="search" action="{url}log"> |
|
32 | <form class="search" action="{url}log"> | |
33 | {sessionvars%hiddenformentry} |
|
33 | {sessionvars%hiddenformentry} | |
34 | <p><input name="rev" id="search1" type="text" size="30" /></p> |
|
34 | <p><input name="rev" id="search1" type="text" size="30" /></p> | |
35 | <div id="hint">find changesets by author, revision, |
|
35 | <div id="hint">find changesets by author, revision, | |
36 | files, or words in the commit message</div> |
|
36 | files, or words in the commit message</div> | |
37 | </form> |
|
37 | </form> | |
38 |
|
38 | |||
39 | <div class="navigate"> |
|
39 | <div class="navigate"> | |
40 | <a href="{url}graph/{rev}{lessvars%urlparameter}">less</a> |
|
40 | <a href="{url}graph/{rev}{lessvars%urlparameter}">less</a> | |
41 | <a href="{url}graph/{rev}{morevars%urlparameter}">more</a> |
|
41 | <a href="{url}graph/{rev}{morevars%urlparameter}">more</a> | |
42 | | rev {rev}: {changenav%navgraphentry} |
|
42 | | rev {rev}: {changenav%navgraphentry} | |
43 | </div> |
|
43 | </div> | |
44 |
|
44 | |||
45 | <noscript><p>The revision graph only works with JavaScript-enabled browsers.</p></noscript> |
|
45 | <noscript><p>The revision graph only works with JavaScript-enabled browsers.</p></noscript> | |
46 |
|
46 | |||
47 | <div id="wrapper"> |
|
47 | <div id="wrapper"> | |
48 | <ul id="nodebgs"></ul> |
|
48 | <ul id="nodebgs"></ul> | |
49 | <canvas id="graph" width="224" height="{canvasheight}"></canvas> |
|
49 | <canvas id="graph" width="224" height="{canvasheight}"></canvas> | |
50 | <ul id="graphnodes"></ul> |
|
50 | <ul id="graphnodes"></ul> | |
51 | </div> |
|
51 | </div> | |
52 |
|
52 | |||
53 | <script type="text/javascript" src="{staticurl}graph.js"></script> |
|
53 | <script type="text/javascript" src="{staticurl}graph.js"></script> | |
54 | <script type="text/javascript"> |
|
54 | <script type="text/javascript"> | |
55 | <!-- hide script content |
|
55 | <!-- hide script content | |
56 |
|
56 | |||
57 | var data = {jsdata|json}; |
|
57 | var data = {jsdata|json}; | |
58 | var graph = new Graph(); |
|
58 | var graph = new Graph(); | |
59 | graph.scale({bg_height}); |
|
59 | graph.scale({bg_height}); | |
60 |
|
60 | |||
61 | graph.edge = function(x0, y0, x1, y1, color) { |
|
61 | graph.edge = function(x0, y0, x1, y1, color) { | |
62 |
|
62 | |||
63 | this.setColor(color, 0.0, 0.65); |
|
63 | this.setColor(color, 0.0, 0.65); | |
64 | this.ctx.beginPath(); |
|
64 | this.ctx.beginPath(); | |
65 | this.ctx.moveTo(x0, y0); |
|
65 | this.ctx.moveTo(x0, y0); | |
66 | this.ctx.lineTo(x1, y1); |
|
66 | this.ctx.lineTo(x1, y1); | |
67 | this.ctx.stroke(); |
|
67 | this.ctx.stroke(); | |
68 |
|
68 | |||
69 | } |
|
69 | } | |
70 |
|
70 | |||
71 | var revlink = '<li style="_STYLE"><span class="desc">'; |
|
71 | var revlink = '<li style="_STYLE"><span class="desc">'; | |
72 | revlink += '<a href="{url}rev/_NODEID{sessionvars%urlparameter}" title="_NODEID">_DESC</a>'; |
|
72 | revlink += '<a href="{url}rev/_NODEID{sessionvars%urlparameter}" title="_NODEID">_DESC</a>'; | |
73 | revlink += '</span>_TAGS<span class="info">_DATE ago, by _USER</span></li>'; |
|
73 | revlink += '</span>_TAGS<span class="info">_DATE ago, by _USER</span></li>'; | |
74 |
|
74 | |||
75 | graph.vertex = function(x, y, color, parity, cur) { |
|
75 | graph.vertex = function(x, y, color, parity, cur) { | |
76 |
|
76 | |||
77 | this.ctx.beginPath(); |
|
77 | this.ctx.beginPath(); | |
78 | color = this.setColor(color, 0.25, 0.75); |
|
78 | color = this.setColor(color, 0.25, 0.75); | |
79 | this.ctx.arc(x, y, radius, 0, Math.PI * 2, true); |
|
79 | this.ctx.arc(x, y, radius, 0, Math.PI * 2, true); | |
80 | this.ctx.fill(); |
|
80 | this.ctx.fill(); | |
81 |
|
81 | |||
82 | var bg = '<li class="bg parity' + parity + '"></li>'; |
|
82 | var bg = '<li class="bg parity' + parity + '"></li>'; | |
83 | var left = (this.columns + 1) * this.bg_height; |
|
83 | var left = (this.columns + 1) * this.bg_height; | |
84 | var nstyle = 'padding-left: ' + left + 'px;'; |
|
84 | var nstyle = 'padding-left: ' + left + 'px;'; | |
85 | var item = revlink.replace(/_STYLE/, nstyle); |
|
85 | var item = revlink.replace(/_STYLE/, nstyle); | |
86 | item = item.replace(/_PARITY/, 'parity' + parity); |
|
86 | item = item.replace(/_PARITY/, 'parity' + parity); | |
87 | item = item.replace(/_NODEID/, cur[0]); |
|
87 | item = item.replace(/_NODEID/, cur[0]); | |
88 | item = item.replace(/_NODEID/, cur[0]); |
|
88 | item = item.replace(/_NODEID/, cur[0]); | |
89 | item = item.replace(/_DESC/, cur[3]); |
|
89 | if (cur[3] != '') | |
|
90 | item = item.replace(/_DESC/, cur[3]); | |||
|
91 | else | |||
|
92 | item = item.replace(/_DESC/, '(none)'); | |||
90 | item = item.replace(/_USER/, cur[4]); |
|
93 | item = item.replace(/_USER/, cur[4]); | |
91 | item = item.replace(/_DATE/, cur[5]); |
|
94 | item = item.replace(/_DATE/, cur[5]); | |
92 |
|
95 | |||
93 | var tagspan = ''; |
|
96 | var tagspan = ''; | |
94 | if (cur[7].length || (cur[6][0] != 'default' || cur[6][1])) { |
|
97 | if (cur[7].length || (cur[6][0] != 'default' || cur[6][1])) { | |
95 | tagspan = '<span class="logtags">'; |
|
98 | tagspan = '<span class="logtags">'; | |
96 | if (cur[6][1]) { |
|
99 | if (cur[6][1]) { | |
97 | tagspan += '<span class="branchhead" title="' + cur[6][0] + '">'; |
|
100 | tagspan += '<span class="branchhead" title="' + cur[6][0] + '">'; | |
98 | tagspan += cur[6][0] + '</span> '; |
|
101 | tagspan += cur[6][0] + '</span> '; | |
99 | } else if (!cur[6][1] && cur[6][0] != 'default') { |
|
102 | } else if (!cur[6][1] && cur[6][0] != 'default') { | |
100 | tagspan += '<span class="branchname" title="' + cur[6][0] + '">'; |
|
103 | tagspan += '<span class="branchname" title="' + cur[6][0] + '">'; | |
101 | tagspan += cur[6][0] + '</span> '; |
|
104 | tagspan += cur[6][0] + '</span> '; | |
102 | } |
|
105 | } | |
103 | if (cur[7].length) { |
|
106 | if (cur[7].length) { | |
104 | for (var t in cur[7]) { |
|
107 | for (var t in cur[7]) { | |
105 | var tag = cur[7][t]; |
|
108 | var tag = cur[7][t]; | |
106 | tagspan += '<span class="tag">' + tag + '</span> '; |
|
109 | tagspan += '<span class="tag">' + tag + '</span> '; | |
107 | } |
|
110 | } | |
108 | } |
|
111 | } | |
109 | tagspan += '</span>'; |
|
112 | tagspan += '</span>'; | |
110 | } |
|
113 | } | |
111 |
|
114 | |||
112 | item = item.replace(/_TAGS/, tagspan); |
|
115 | item = item.replace(/_TAGS/, tagspan); | |
113 | return [bg, item]; |
|
116 | return [bg, item]; | |
114 |
|
117 | |||
115 | } |
|
118 | } | |
116 |
|
119 | |||
117 | graph.render(data); |
|
120 | graph.render(data); | |
118 |
|
121 | |||
119 | // stop hiding script --> |
|
122 | // stop hiding script --> | |
120 | </script> |
|
123 | </script> | |
121 |
|
124 | |||
122 | <div class="navigate"> |
|
125 | <div class="navigate"> | |
123 | <a href="{url}graph/{rev}{lessvars%urlparameter}">less</a> |
|
126 | <a href="{url}graph/{rev}{lessvars%urlparameter}">less</a> | |
124 | <a href="{url}graph/{rev}{morevars%urlparameter}">more</a> |
|
127 | <a href="{url}graph/{rev}{morevars%urlparameter}">more</a> | |
125 | | rev {rev}: {changenav%navgraphentry} |
|
128 | | rev {rev}: {changenav%navgraphentry} | |
126 | </div> |
|
129 | </div> | |
127 |
|
130 | |||
128 | </div> |
|
131 | </div> | |
129 | </div> |
|
132 | </div> | |
130 |
|
133 | |||
131 | {footer} |
|
134 | {footer} |
@@ -1,5 +1,5 | |||||
1 | <tr class="parity{parity}"> |
|
1 | <tr class="parity{parity}"> | |
2 | <td class="age">{date|age}</td> |
|
2 | <td class="age">{date|age}</td> | |
3 | <td class="author">{author|person}</td> |
|
3 | <td class="author">{author|person}</td> | |
4 | <td class="description"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape}</a>{inbranch%changelogbranchname}{branches%changelogbranchhead}{tags%changelogtag}</td> |
|
4 | <td class="description"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape|nonempty}</a>{inbranch%changelogbranchname}{branches%changelogbranchhead}{tags%changelogtag}</td> | |
5 | </tr> |
|
5 | </tr> |
@@ -1,7 +1,7 | |||||
1 | <item> |
|
1 | <item> | |
2 | <title>#desc|strip|firstline|strip|escape#</title> |
|
2 | <title>#desc|strip|firstline|strip|escape#</title> | |
3 | <guid isPermaLink="true">{urlbase}{url}rev/{node|short}</guid> |
|
3 | <guid isPermaLink="true">{urlbase}{url}rev/{node|short}</guid> | |
4 | <description><![CDATA[#desc|strip|escape|addbreaks#]]></description> |
|
4 | <description><![CDATA[#desc|strip|escape|addbreaks|nonempty#]]></description> | |
5 | <author>#author|obfuscate#</author> |
|
5 | <author>#author|obfuscate#</author> | |
6 | <pubDate>#date|rfc822date#</pubDate> |
|
6 | <pubDate>#date|rfc822date#</pubDate> | |
7 | </item> |
|
7 | </item> |
@@ -1,7 +1,7 | |||||
1 | <item> |
|
1 | <item> | |
2 | <title>#desc|strip|firstline|strip|escape#</title> |
|
2 | <title>#desc|strip|firstline|strip|escape#</title> | |
3 | <link>{urlbase}{url}log{#node|short#}/{file|urlescape}</link> |
|
3 | <link>{urlbase}{url}log{#node|short#}/{file|urlescape}</link> | |
4 | <description><![CDATA[#desc|strip|escape|addbreaks#]]></description> |
|
4 | <description><![CDATA[#desc|strip|escape|addbreaks|nonempty#]]></description> | |
5 | <author>#author|obfuscate#</author> |
|
5 | <author>#author|obfuscate#</author> | |
6 | <pubDate>#date|rfc822date#</pubDate> |
|
6 | <pubDate>#date|rfc822date#</pubDate> | |
7 | </item> |
|
7 | </item> |
@@ -1,25 +1,25 | |||||
1 | <table class="logEntry parity#parity#"> |
|
1 | <table class="logEntry parity#parity#"> | |
2 | <tr> |
|
2 | <tr> | |
3 | <th class="age">#date|age# ago:</th> |
|
3 | <th class="age">#date|age# ago:</th> | |
4 | <th class="firstline">#desc|strip|firstline|escape#</th> |
|
4 | <th class="firstline">#desc|strip|firstline|escape|nonempty#</th> | |
5 | </tr> |
|
5 | </tr> | |
6 | <tr> |
|
6 | <tr> | |
7 | <th class="revision">changeset #rev#:</th> |
|
7 | <th class="revision">changeset #rev#:</th> | |
8 | <td class="node"><a href="#url#rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></td> |
|
8 | <td class="node"><a href="#url#rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></td> | |
9 | </tr> |
|
9 | </tr> | |
10 | #parent%changelogparent# |
|
10 | #parent%changelogparent# | |
11 | #child%changelogchild# |
|
11 | #child%changelogchild# | |
12 | #changelogtag# |
|
12 | #changelogtag# | |
13 | <tr> |
|
13 | <tr> | |
14 | <th class="author">author:</th> |
|
14 | <th class="author">author:</th> | |
15 | <td class="author">#author|obfuscate#</td> |
|
15 | <td class="author">#author|obfuscate#</td> | |
16 | </tr> |
|
16 | </tr> | |
17 | <tr> |
|
17 | <tr> | |
18 | <th class="date">date:</th> |
|
18 | <th class="date">date:</th> | |
19 | <td class="date">#date|date#</td> |
|
19 | <td class="date">#date|date#</td> | |
20 | </tr> |
|
20 | </tr> | |
21 | <tr> |
|
21 | <tr> | |
22 | <th class="files"><a href="#url#file/#node|short#{sessionvars%urlparameter}">files</a>:</th> |
|
22 | <th class="files"><a href="#url#file/#node|short#{sessionvars%urlparameter}">files</a>:</th> | |
23 | <td class="files">#files#</td> |
|
23 | <td class="files">#files#</td> | |
24 | </tr> |
|
24 | </tr> | |
25 | </table> |
|
25 | </table> |
@@ -1,50 +1,50 | |||||
1 | #header# |
|
1 | #header# | |
2 | <title>#repo|escape#: changeset #node|short#</title> |
|
2 | <title>#repo|escape#: changeset #node|short#</title> | |
3 | </head> |
|
3 | </head> | |
4 | <body> |
|
4 | <body> | |
5 |
|
5 | |||
6 | <div class="buttons"> |
|
6 | <div class="buttons"> | |
7 | <a href="#url#log/#rev#{sessionvars%urlparameter}">changelog</a> |
|
7 | <a href="#url#log/#rev#{sessionvars%urlparameter}">changelog</a> | |
8 | <a href="#url#shortlog/#rev#{sessionvars%urlparameter}">shortlog</a> |
|
8 | <a href="#url#shortlog/#rev#{sessionvars%urlparameter}">shortlog</a> | |
9 | <a href="#url#graph{sessionvars%urlparameter}">graph</a> |
|
9 | <a href="#url#graph{sessionvars%urlparameter}">graph</a> | |
10 | <a href="#url#tags{sessionvars%urlparameter}">tags</a> |
|
10 | <a href="#url#tags{sessionvars%urlparameter}">tags</a> | |
11 | <a href="#url#file/#node|short#{sessionvars%urlparameter}">files</a> |
|
11 | <a href="#url#file/#node|short#{sessionvars%urlparameter}">files</a> | |
12 | <a href="#url#raw-rev/#node|short#">raw</a> |
|
12 | <a href="#url#raw-rev/#node|short#">raw</a> | |
13 | #archives%archiveentry# |
|
13 | #archives%archiveentry# | |
14 | </div> |
|
14 | </div> | |
15 |
|
15 | |||
16 | <h2>changeset: #desc|strip|escape|firstline#</h2> |
|
16 | <h2>changeset: #desc|strip|escape|firstline|nonempty#</h2> | |
17 |
|
17 | |||
18 | <table id="changesetEntry"> |
|
18 | <table id="changesetEntry"> | |
19 | <tr> |
|
19 | <tr> | |
20 | <th class="changeset">changeset #rev#:</th> |
|
20 | <th class="changeset">changeset #rev#:</th> | |
21 | <td class="changeset"><a href="#url#rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></td> |
|
21 | <td class="changeset"><a href="#url#rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></td> | |
22 | </tr> |
|
22 | </tr> | |
23 | #parent%changesetparent# |
|
23 | #parent%changesetparent# | |
24 | #child%changesetchild# |
|
24 | #child%changesetchild# | |
25 | #changesettag# |
|
25 | #changesettag# | |
26 | <tr> |
|
26 | <tr> | |
27 | <th class="author">author:</th> |
|
27 | <th class="author">author:</th> | |
28 | <td class="author">#author|obfuscate#</td> |
|
28 | <td class="author">#author|obfuscate#</td> | |
29 | </tr> |
|
29 | </tr> | |
30 | <tr> |
|
30 | <tr> | |
31 | <th class="date">date:</th> |
|
31 | <th class="date">date:</th> | |
32 | <td class="date">#date|date# (#date|age# ago)</td> |
|
32 | <td class="date">#date|date# (#date|age# ago)</td> | |
33 | </tr> |
|
33 | </tr> | |
34 | <tr> |
|
34 | <tr> | |
35 | <th class="files">files:</th> |
|
35 | <th class="files">files:</th> | |
36 | <td class="files">#files#</td> |
|
36 | <td class="files">#files#</td> | |
37 | </tr> |
|
37 | </tr> | |
38 | <tr> |
|
38 | <tr> | |
39 | <th class="description">description:</th> |
|
39 | <th class="description">description:</th> | |
40 | <td class="description">#desc|strip|escape|addbreaks#</td> |
|
40 | <td class="description">#desc|strip|escape|addbreaks|nonempty#</td> | |
41 | </tr> |
|
41 | </tr> | |
42 | </table> |
|
42 | </table> | |
43 |
|
43 | |||
44 | <div id="changesetDiff"> |
|
44 | <div id="changesetDiff"> | |
45 | #diff# |
|
45 | #diff# | |
46 | </div> |
|
46 | </div> | |
47 |
|
47 | |||
48 | #footer# |
|
48 | #footer# | |
49 |
|
49 | |||
50 |
|
50 |
@@ -1,49 +1,49 | |||||
1 | #header# |
|
1 | #header# | |
2 | <title>#repo|escape#: #file|escape# annotate</title> |
|
2 | <title>#repo|escape#: #file|escape# annotate</title> | |
3 | </head> |
|
3 | </head> | |
4 | <body> |
|
4 | <body> | |
5 |
|
5 | |||
6 | <div class="buttons"> |
|
6 | <div class="buttons"> | |
7 | <a href="#url#log/#rev#{sessionvars%urlparameter}">changelog</a> |
|
7 | <a href="#url#log/#rev#{sessionvars%urlparameter}">changelog</a> | |
8 | <a href="#url#shortlog/#rev#{sessionvars%urlparameter}">shortlog</a> |
|
8 | <a href="#url#shortlog/#rev#{sessionvars%urlparameter}">shortlog</a> | |
9 | <a href="#url#graph{sessionvars%urlparameter}">graph</a> |
|
9 | <a href="#url#graph{sessionvars%urlparameter}">graph</a> | |
10 | <a href="#url#tags{sessionvars%urlparameter}">tags</a> |
|
10 | <a href="#url#tags{sessionvars%urlparameter}">tags</a> | |
11 | <a href="#url#rev/#node|short#{sessionvars%urlparameter}">changeset</a> |
|
11 | <a href="#url#rev/#node|short#{sessionvars%urlparameter}">changeset</a> | |
12 | <a href="#url#file/#node|short##path|urlescape#{sessionvars%urlparameter}">files</a> |
|
12 | <a href="#url#file/#node|short##path|urlescape#{sessionvars%urlparameter}">files</a> | |
13 | <a href="#url#file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">file</a> |
|
13 | <a href="#url#file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">file</a> | |
14 | <a href="#url#log/#node|short#/#file|urlescape#{sessionvars%urlparameter}">revisions</a> |
|
14 | <a href="#url#log/#node|short#/#file|urlescape#{sessionvars%urlparameter}">revisions</a> | |
15 | <a href="#url#raw-annotate/#node|short#/#file|urlescape#">raw</a> |
|
15 | <a href="#url#raw-annotate/#node|short#/#file|urlescape#">raw</a> | |
16 | </div> |
|
16 | </div> | |
17 |
|
17 | |||
18 | <h2>Annotate #file|escape#</h2> |
|
18 | <h2>Annotate #file|escape#</h2> | |
19 |
|
19 | |||
20 | <table> |
|
20 | <table> | |
21 | <tr> |
|
21 | <tr> | |
22 | <td class="metatag">changeset #rev#:</td> |
|
22 | <td class="metatag">changeset #rev#:</td> | |
23 | <td><a href="#url#rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></td></tr> |
|
23 | <td><a href="#url#rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></td></tr> | |
24 | #parent%fileannotateparent# |
|
24 | #parent%fileannotateparent# | |
25 | #child%fileannotatechild# |
|
25 | #child%fileannotatechild# | |
26 | <tr> |
|
26 | <tr> | |
27 | <td class="metatag">author:</td> |
|
27 | <td class="metatag">author:</td> | |
28 | <td>#author|obfuscate#</td></tr> |
|
28 | <td>#author|obfuscate#</td></tr> | |
29 | <tr> |
|
29 | <tr> | |
30 | <td class="metatag">date:</td> |
|
30 | <td class="metatag">date:</td> | |
31 | <td>#date|date# (#date|age# ago)</td> |
|
31 | <td>#date|date# (#date|age# ago)</td> | |
32 | </tr> |
|
32 | </tr> | |
33 | <tr> |
|
33 | <tr> | |
34 | <td class="metatag">permissions:</td> |
|
34 | <td class="metatag">permissions:</td> | |
35 | <td>#permissions|permissions#</td> |
|
35 | <td>#permissions|permissions#</td> | |
36 | </tr> |
|
36 | </tr> | |
37 | <tr> |
|
37 | <tr> | |
38 | <td class="metatag">description:</td> |
|
38 | <td class="metatag">description:</td> | |
39 | <td>{desc|strip|escape|addbreaks}</td> |
|
39 | <td>{desc|strip|escape|addbreaks|nonempty}</td> | |
40 | </tr> |
|
40 | </tr> | |
41 | </table> |
|
41 | </table> | |
42 |
|
42 | |||
43 | <br/> |
|
43 | <br/> | |
44 |
|
44 | |||
45 | <table cellspacing="0" cellpadding="0"> |
|
45 | <table cellspacing="0" cellpadding="0"> | |
46 | #annotate%annotateline# |
|
46 | #annotate%annotateline# | |
47 | </table> |
|
47 | </table> | |
48 |
|
48 | |||
49 | #footer# |
|
49 | #footer# |
@@ -1,25 +1,25 | |||||
1 | <table class="logEntry parity#parity#"> |
|
1 | <table class="logEntry parity#parity#"> | |
2 | <tr> |
|
2 | <tr> | |
3 | <th class="age">#date|age# ago:</th> |
|
3 | <th class="age">#date|age# ago:</th> | |
4 | <th class="firstline"><a href="#url#rev/#node|short#{sessionvars%urlparameter}">#desc|strip|firstline|escape#</a></th> |
|
4 | <th class="firstline"><a href="#url#rev/#node|short#{sessionvars%urlparameter}">#desc|strip|firstline|escape|nonempty#</a></th> | |
5 | </tr> |
|
5 | </tr> | |
6 | <tr> |
|
6 | <tr> | |
7 | <th class="revision">revision #filerev#:</td> |
|
7 | <th class="revision">revision #filerev#:</td> | |
8 | <td class="node"> |
|
8 | <td class="node"> | |
9 | <a href="#url#file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">#node|short#</a> |
|
9 | <a href="#url#file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">#node|short#</a> | |
10 | <a href="#url#diff/#node|short#/#file|urlescape#{sessionvars%urlparameter}">(diff)</a> |
|
10 | <a href="#url#diff/#node|short#/#file|urlescape#{sessionvars%urlparameter}">(diff)</a> | |
11 | <a href="#url#annotate/#node|short#/#file|urlescape#{sessionvars%urlparameter}">(annotate)</a> |
|
11 | <a href="#url#annotate/#node|short#/#file|urlescape#{sessionvars%urlparameter}">(annotate)</a> | |
12 | </td> |
|
12 | </td> | |
13 | </tr> |
|
13 | </tr> | |
14 | #rename%filelogrename# |
|
14 | #rename%filelogrename# | |
15 | <tr> |
|
15 | <tr> | |
16 | <th class="author">author:</th> |
|
16 | <th class="author">author:</th> | |
17 | <td class="author">#author|obfuscate#</td> |
|
17 | <td class="author">#author|obfuscate#</td> | |
18 | </tr> |
|
18 | </tr> | |
19 | <tr> |
|
19 | <tr> | |
20 | <th class="date">date:</th> |
|
20 | <th class="date">date:</th> | |
21 | <td class="date">#date|date#</td> |
|
21 | <td class="date">#date|date#</td> | |
22 | </tr> |
|
22 | </tr> | |
23 | </table> |
|
23 | </table> | |
24 |
|
24 | |||
25 |
|
25 |
@@ -1,45 +1,45 | |||||
1 | #header# |
|
1 | #header# | |
2 | <title>#repo|escape#:#file|escape#</title> |
|
2 | <title>#repo|escape#:#file|escape#</title> | |
3 | </head> |
|
3 | </head> | |
4 | <body> |
|
4 | <body> | |
5 |
|
5 | |||
6 | <div class="buttons"> |
|
6 | <div class="buttons"> | |
7 | <a href="#url#log/#rev#{sessionvars%urlparameter}">changelog</a> |
|
7 | <a href="#url#log/#rev#{sessionvars%urlparameter}">changelog</a> | |
8 | <a href="#url#shortlog/#rev#{sessionvars%urlparameter}">shortlog</a> |
|
8 | <a href="#url#shortlog/#rev#{sessionvars%urlparameter}">shortlog</a> | |
9 | <a href="#url#graph{sessionvars%urlparameter}">graph</a> |
|
9 | <a href="#url#graph{sessionvars%urlparameter}">graph</a> | |
10 | <a href="#url#tags{sessionvars%urlparameter}">tags</a> |
|
10 | <a href="#url#tags{sessionvars%urlparameter}">tags</a> | |
11 | <a href="#url#rev/#node|short#{sessionvars%urlparameter}">changeset</a> |
|
11 | <a href="#url#rev/#node|short#{sessionvars%urlparameter}">changeset</a> | |
12 | <a href="#url#file/#node|short##path|urlescape#{sessionvars%urlparameter}">files</a> |
|
12 | <a href="#url#file/#node|short##path|urlescape#{sessionvars%urlparameter}">files</a> | |
13 | <a href="#url#log/#node|short#/#file|urlescape#{sessionvars%urlparameter}">revisions</a> |
|
13 | <a href="#url#log/#node|short#/#file|urlescape#{sessionvars%urlparameter}">revisions</a> | |
14 | <a href="#url#annotate/#node|short#/#file|urlescape#{sessionvars%urlparameter}">annotate</a> |
|
14 | <a href="#url#annotate/#node|short#/#file|urlescape#{sessionvars%urlparameter}">annotate</a> | |
15 | <a href="#url#raw-file/#node|short#/#file|urlescape#">raw</a> |
|
15 | <a href="#url#raw-file/#node|short#/#file|urlescape#">raw</a> | |
16 | </div> |
|
16 | </div> | |
17 |
|
17 | |||
18 | <h2>#file|escape#</h2> |
|
18 | <h2>#file|escape#</h2> | |
19 |
|
19 | |||
20 | <table> |
|
20 | <table> | |
21 | <tr> |
|
21 | <tr> | |
22 | <td class="metatag">changeset #rev#:</td> |
|
22 | <td class="metatag">changeset #rev#:</td> | |
23 | <td><a href="#url#rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></td></tr> |
|
23 | <td><a href="#url#rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></td></tr> | |
24 | #parent%filerevparent# |
|
24 | #parent%filerevparent# | |
25 | #child%filerevchild# |
|
25 | #child%filerevchild# | |
26 | <tr> |
|
26 | <tr> | |
27 | <td class="metatag">author:</td> |
|
27 | <td class="metatag">author:</td> | |
28 | <td>#author|obfuscate#</td></tr> |
|
28 | <td>#author|obfuscate#</td></tr> | |
29 | <tr> |
|
29 | <tr> | |
30 | <td class="metatag">date:</td> |
|
30 | <td class="metatag">date:</td> | |
31 | <td>#date|date# (#date|age# ago)</td></tr> |
|
31 | <td>#date|date# (#date|age# ago)</td></tr> | |
32 | <tr> |
|
32 | <tr> | |
33 | <td class="metatag">permissions:</td> |
|
33 | <td class="metatag">permissions:</td> | |
34 | <td>#permissions|permissions#</td></tr> |
|
34 | <td>#permissions|permissions#</td></tr> | |
35 | <tr> |
|
35 | <tr> | |
36 | <td class="metatag">description:</td> |
|
36 | <td class="metatag">description:</td> | |
37 | <td>{desc|strip|escape|addbreaks}</td> |
|
37 | <td>{desc|strip|escape|addbreaks|nonempty}</td> | |
38 | </tr> |
|
38 | </tr> | |
39 | </table> |
|
39 | </table> | |
40 |
|
40 | |||
41 | <pre> |
|
41 | <pre> | |
42 | #text%fileline# |
|
42 | #text%fileline# | |
43 | </pre> |
|
43 | </pre> | |
44 |
|
44 | |||
45 | #footer# |
|
45 | #footer# |
@@ -1,95 +1,98 | |||||
1 | #header# |
|
1 | #header# | |
2 | <title>#repo|escape#: graph</title> |
|
2 | <title>#repo|escape#: graph</title> | |
3 | <link rel="alternate" type="application/atom+xml" |
|
3 | <link rel="alternate" type="application/atom+xml" | |
4 | href="#url#atom-tags" title="Atom feed for #repo|escape#: tags"> |
|
4 | href="#url#atom-tags" title="Atom feed for #repo|escape#: tags"> | |
5 | <link rel="alternate" type="application/rss+xml" |
|
5 | <link rel="alternate" type="application/rss+xml" | |
6 | href="#url#rss-tags" title="RSS feed for #repo|escape#: tags"> |
|
6 | href="#url#rss-tags" title="RSS feed for #repo|escape#: tags"> | |
7 | <!--[if IE]><script type="text/javascript" src="#staticurl#excanvas.js"></script><![endif]--> |
|
7 | <!--[if IE]><script type="text/javascript" src="#staticurl#excanvas.js"></script><![endif]--> | |
8 | </head> |
|
8 | </head> | |
9 | <body> |
|
9 | <body> | |
10 |
|
10 | |||
11 | <div class="buttons"> |
|
11 | <div class="buttons"> | |
12 | <a href="#url#log{sessionvars%urlparameter}">changelog</a> |
|
12 | <a href="#url#log{sessionvars%urlparameter}">changelog</a> | |
13 | <a href="#url#shortlog{sessionvars%urlparameter}">shortlog</a> |
|
13 | <a href="#url#shortlog{sessionvars%urlparameter}">shortlog</a> | |
14 | <a href="#url#tags{sessionvars%urlparameter}">tags</a> |
|
14 | <a href="#url#tags{sessionvars%urlparameter}">tags</a> | |
15 | <a href="#url#file/#node|short#/{sessionvars%urlparameter}">files</a> |
|
15 | <a href="#url#file/#node|short#/{sessionvars%urlparameter}">files</a> | |
16 | </div> |
|
16 | </div> | |
17 |
|
17 | |||
18 | <h2>graph</h2> |
|
18 | <h2>graph</h2> | |
19 |
|
19 | |||
20 | <form action="#url#log"> |
|
20 | <form action="#url#log"> | |
21 | {sessionvars%hiddenformentry} |
|
21 | {sessionvars%hiddenformentry} | |
22 | <p> |
|
22 | <p> | |
23 | <label for="search1">search:</label> |
|
23 | <label for="search1">search:</label> | |
24 | <input name="rev" id="search1" type="text" size="30"> |
|
24 | <input name="rev" id="search1" type="text" size="30"> | |
25 | navigate: <small class="navigate">#changenav%navgraphentry#</small> |
|
25 | navigate: <small class="navigate">#changenav%navgraphentry#</small> | |
26 | </p> |
|
26 | </p> | |
27 | </form> |
|
27 | </form> | |
28 |
|
28 | |||
29 | <noscript>The revision graph only works with JavaScript-enabled browsers.</noscript> |
|
29 | <noscript>The revision graph only works with JavaScript-enabled browsers.</noscript> | |
30 |
|
30 | |||
31 | <div id="wrapper"> |
|
31 | <div id="wrapper"> | |
32 | <ul id="nodebgs"></ul> |
|
32 | <ul id="nodebgs"></ul> | |
33 | <canvas id="graph" width="224" height="#canvasheight#"></canvas> |
|
33 | <canvas id="graph" width="224" height="#canvasheight#"></canvas> | |
34 | <ul id="graphnodes"></ul> |
|
34 | <ul id="graphnodes"></ul> | |
35 | </div> |
|
35 | </div> | |
36 |
|
36 | |||
37 | <script type="text/javascript" src="#staticurl#graph.js"></script> |
|
37 | <script type="text/javascript" src="#staticurl#graph.js"></script> | |
38 | <script type="text/javascript"> |
|
38 | <script type="text/javascript"> | |
39 | <!-- hide script content |
|
39 | <!-- hide script content | |
40 |
|
40 | |||
41 | var data = {jsdata|json}; |
|
41 | var data = {jsdata|json}; | |
42 | var graph = new Graph(); |
|
42 | var graph = new Graph(); | |
43 | graph.scale({bg_height}); |
|
43 | graph.scale({bg_height}); | |
44 |
|
44 | |||
45 | graph.edge = function(x0, y0, x1, y1, color) { |
|
45 | graph.edge = function(x0, y0, x1, y1, color) { | |
46 |
|
46 | |||
47 | this.setColor(color, 0.0, 0.65); |
|
47 | this.setColor(color, 0.0, 0.65); | |
48 | this.ctx.beginPath(); |
|
48 | this.ctx.beginPath(); | |
49 | this.ctx.moveTo(x0, y0); |
|
49 | this.ctx.moveTo(x0, y0); | |
50 | this.ctx.lineTo(x1, y1); |
|
50 | this.ctx.lineTo(x1, y1); | |
51 | this.ctx.stroke(); |
|
51 | this.ctx.stroke(); | |
52 |
|
52 | |||
53 | } |
|
53 | } | |
54 |
|
54 | |||
55 | var revlink = '<li style="_STYLE"><span class="desc">'; |
|
55 | var revlink = '<li style="_STYLE"><span class="desc">'; | |
56 | revlink += '<a href="{url}rev/_NODEID{sessionvars%urlparameter}" title="_NODEID">_DESC</a>'; |
|
56 | revlink += '<a href="{url}rev/_NODEID{sessionvars%urlparameter}" title="_NODEID">_DESC</a>'; | |
57 | revlink += '</span><span class="info">_DATE ago, by _USER</span></li>'; |
|
57 | revlink += '</span><span class="info">_DATE ago, by _USER</span></li>'; | |
58 |
|
58 | |||
59 | graph.vertex = function(x, y, color, parity, cur) { |
|
59 | graph.vertex = function(x, y, color, parity, cur) { | |
60 |
|
60 | |||
61 | this.ctx.beginPath(); |
|
61 | this.ctx.beginPath(); | |
62 | color = this.setColor(color, 0.25, 0.75); |
|
62 | color = this.setColor(color, 0.25, 0.75); | |
63 | this.ctx.arc(x, y, radius, 0, Math.PI * 2, true); |
|
63 | this.ctx.arc(x, y, radius, 0, Math.PI * 2, true); | |
64 | this.ctx.fill(); |
|
64 | this.ctx.fill(); | |
65 |
|
65 | |||
66 | var bg = '<li class="bg parity' + parity + '"></li>'; |
|
66 | var bg = '<li class="bg parity' + parity + '"></li>'; | |
67 | var left = (this.columns + 1) * this.bg_height; |
|
67 | var left = (this.columns + 1) * this.bg_height; | |
68 | var nstyle = 'padding-left: ' + left + 'px;'; |
|
68 | var nstyle = 'padding-left: ' + left + 'px;'; | |
69 | var item = revlink.replace(/_STYLE/, nstyle); |
|
69 | var item = revlink.replace(/_STYLE/, nstyle); | |
70 | item = item.replace(/_PARITY/, 'parity' + parity); |
|
70 | item = item.replace(/_PARITY/, 'parity' + parity); | |
71 | item = item.replace(/_NODEID/, cur[0]); |
|
71 | item = item.replace(/_NODEID/, cur[0]); | |
72 | item = item.replace(/_NODEID/, cur[0]); |
|
72 | item = item.replace(/_NODEID/, cur[0]); | |
73 | item = item.replace(/_DESC/, cur[3]); |
|
73 | if (cur[3] != '') | |
|
74 | item = item.replace(/_DESC/, cur[3]); | |||
|
75 | else | |||
|
76 | item = item.replace(/_DESC/, '(none)'); | |||
74 | item = item.replace(/_USER/, cur[4]); |
|
77 | item = item.replace(/_USER/, cur[4]); | |
75 | item = item.replace(/_DATE/, cur[5]); |
|
78 | item = item.replace(/_DATE/, cur[5]); | |
76 |
|
79 | |||
77 | return [bg, item]; |
|
80 | return [bg, item]; | |
78 |
|
81 | |||
79 | } |
|
82 | } | |
80 |
|
83 | |||
81 | graph.render(data); |
|
84 | graph.render(data); | |
82 |
|
85 | |||
83 | // stop hiding script --> |
|
86 | // stop hiding script --> | |
84 | </script> |
|
87 | </script> | |
85 |
|
88 | |||
86 | <form action="#url#log"> |
|
89 | <form action="#url#log"> | |
87 | {sessionvars%hiddenformentry} |
|
90 | {sessionvars%hiddenformentry} | |
88 | <p> |
|
91 | <p> | |
89 | <label for="search1">search:</label> |
|
92 | <label for="search1">search:</label> | |
90 | <input name="rev" id="search1" type="text" size="30"> |
|
93 | <input name="rev" id="search1" type="text" size="30"> | |
91 | navigate: <small class="navigate">#changenav%navgraphentry#</small> |
|
94 | navigate: <small class="navigate">#changenav%navgraphentry#</small> | |
92 | </p> |
|
95 | </p> | |
93 | </form> |
|
96 | </form> | |
94 |
|
97 | |||
95 | #footer# |
|
98 | #footer# |
@@ -1,7 +1,7 | |||||
1 | <table class="slogEntry parity#parity#"> |
|
1 | <table class="slogEntry parity#parity#"> | |
2 | <tr> |
|
2 | <tr> | |
3 | <td class="age">#date|age#</td> |
|
3 | <td class="age">#date|age#</td> | |
4 | <td class="author">#author|person#</td> |
|
4 | <td class="author">#author|person#</td> | |
5 | <td class="node"><a href="#url#rev/#node|short#{sessionvars%urlparameter}">#desc|strip|firstline|escape#</a></td> |
|
5 | <td class="node"><a href="#url#rev/#node|short#{sessionvars%urlparameter}">#desc|strip|firstline|escape|nonempty#</a></td> | |
6 | </tr> |
|
6 | </tr> | |
7 | </table> |
|
7 | </table> |
1 | NO CONTENT: modified file, binary diff hidden |
|
NO CONTENT: modified file, binary diff hidden |
@@ -1,344 +1,347 | |||||
1 | 200 Script output follows |
|
1 | 200 Script output follows | |
2 |
|
2 | |||
3 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> |
|
3 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> | |
4 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US"> |
|
4 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US"> | |
5 | <head> |
|
5 | <head> | |
6 | <link rel="icon" href="/static/hgicon.png" type="image/png" /> |
|
6 | <link rel="icon" href="/static/hgicon.png" type="image/png" /> | |
7 | <meta name="robots" content="index, nofollow" /> |
|
7 | <meta name="robots" content="index, nofollow" /> | |
8 | <link rel="stylesheet" href="/static/style-paper.css" type="text/css" /> |
|
8 | <link rel="stylesheet" href="/static/style-paper.css" type="text/css" /> | |
9 |
|
9 | |||
10 | <title>test: log</title> |
|
10 | <title>test: log</title> | |
11 | <link rel="alternate" type="application/atom+xml" |
|
11 | <link rel="alternate" type="application/atom+xml" | |
12 | href="/atom-log" title="Atom feed for test" /> |
|
12 | href="/atom-log" title="Atom feed for test" /> | |
13 | <link rel="alternate" type="application/rss+xml" |
|
13 | <link rel="alternate" type="application/rss+xml" | |
14 | href="/rss-log" title="RSS feed for test" /> |
|
14 | href="/rss-log" title="RSS feed for test" /> | |
15 | </head> |
|
15 | </head> | |
16 | <body> |
|
16 | <body> | |
17 |
|
17 | |||
18 | <div class="container"> |
|
18 | <div class="container"> | |
19 | <div class="menu"> |
|
19 | <div class="menu"> | |
20 | <div class="logo"> |
|
20 | <div class="logo"> | |
21 | <a href="http://www.selenic.com/mercurial/"> |
|
21 | <a href="http://www.selenic.com/mercurial/"> | |
22 | <img src="/static/hglogo.png" alt="mercurial" /></a> |
|
22 | <img src="/static/hglogo.png" alt="mercurial" /></a> | |
23 | </div> |
|
23 | </div> | |
24 | <ul> |
|
24 | <ul> | |
25 | <li class="active">log</li> |
|
25 | <li class="active">log</li> | |
26 | <li><a href="/graph/000000000000">graph</a></li> |
|
26 | <li><a href="/graph/000000000000">graph</a></li> | |
27 | <li><a href="/tags">tags</a></li> |
|
27 | <li><a href="/tags">tags</a></li> | |
28 | </ul> |
|
28 | </ul> | |
29 | <ul> |
|
29 | <ul> | |
30 | <li><a href="/rev/000000000000">changeset</a></li> |
|
30 | <li><a href="/rev/000000000000">changeset</a></li> | |
31 | <li><a href="/file/000000000000">browse</a></li> |
|
31 | <li><a href="/file/000000000000">browse</a></li> | |
32 | </ul> |
|
32 | </ul> | |
33 | <ul> |
|
33 | <ul> | |
34 |
|
34 | |||
35 | </ul> |
|
35 | </ul> | |
36 | </div> |
|
36 | </div> | |
37 |
|
37 | |||
38 | <div class="main"> |
|
38 | <div class="main"> | |
39 | <h2><a href="/">test</a></h2> |
|
39 | <h2><a href="/">test</a></h2> | |
40 | <h3>log</h3> |
|
40 | <h3>log</h3> | |
41 |
|
41 | |||
42 | <form class="search" action="/log"> |
|
42 | <form class="search" action="/log"> | |
43 |
|
43 | |||
44 | <p><input name="rev" id="search1" type="text" size="30" /></p> |
|
44 | <p><input name="rev" id="search1" type="text" size="30" /></p> | |
45 | <div id="hint">find changesets by author, revision, |
|
45 | <div id="hint">find changesets by author, revision, | |
46 | files, or words in the commit message</div> |
|
46 | files, or words in the commit message</div> | |
47 | </form> |
|
47 | </form> | |
48 |
|
48 | |||
49 | <div class="navigate">rev -1: <a href="/shortlog/000000000000">(0)</a> <a href="/shortlog/tip">tip</a> </div> |
|
49 | <div class="navigate">rev -1: <a href="/shortlog/000000000000">(0)</a> <a href="/shortlog/tip">tip</a> </div> | |
50 |
|
50 | |||
51 | <table class="bigtable"> |
|
51 | <table class="bigtable"> | |
52 | <tr> |
|
52 | <tr> | |
53 | <th class="age">age</th> |
|
53 | <th class="age">age</th> | |
54 | <th class="author">author</th> |
|
54 | <th class="author">author</th> | |
55 | <th class="description">description</th> |
|
55 | <th class="description">description</th> | |
56 | </tr> |
|
56 | </tr> | |
57 |
|
57 | |||
58 | </table> |
|
58 | </table> | |
59 |
|
59 | |||
60 | <div class="navigate">rev -1: <a href="/shortlog/000000000000">(0)</a> <a href="/shortlog/tip">tip</a> </div> |
|
60 | <div class="navigate">rev -1: <a href="/shortlog/000000000000">(0)</a> <a href="/shortlog/tip">tip</a> </div> | |
61 | </div> |
|
61 | </div> | |
62 | </div> |
|
62 | </div> | |
63 |
|
63 | |||
64 |
|
64 | |||
65 |
|
65 | |||
66 | </body> |
|
66 | </body> | |
67 | </html> |
|
67 | </html> | |
68 |
|
68 | |||
69 | 200 Script output follows |
|
69 | 200 Script output follows | |
70 |
|
70 | |||
71 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> |
|
71 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> | |
72 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US"> |
|
72 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US"> | |
73 | <head> |
|
73 | <head> | |
74 | <link rel="icon" href="/static/hgicon.png" type="image/png" /> |
|
74 | <link rel="icon" href="/static/hgicon.png" type="image/png" /> | |
75 | <meta name="robots" content="index, nofollow" /> |
|
75 | <meta name="robots" content="index, nofollow" /> | |
76 | <link rel="stylesheet" href="/static/style-paper.css" type="text/css" /> |
|
76 | <link rel="stylesheet" href="/static/style-paper.css" type="text/css" /> | |
77 |
|
77 | |||
78 | <title>test: log</title> |
|
78 | <title>test: log</title> | |
79 | <link rel="alternate" type="application/atom+xml" |
|
79 | <link rel="alternate" type="application/atom+xml" | |
80 | href="/atom-log" title="Atom feed for test" /> |
|
80 | href="/atom-log" title="Atom feed for test" /> | |
81 | <link rel="alternate" type="application/rss+xml" |
|
81 | <link rel="alternate" type="application/rss+xml" | |
82 | href="/rss-log" title="RSS feed for test" /> |
|
82 | href="/rss-log" title="RSS feed for test" /> | |
83 | </head> |
|
83 | </head> | |
84 | <body> |
|
84 | <body> | |
85 |
|
85 | |||
86 | <div class="container"> |
|
86 | <div class="container"> | |
87 | <div class="menu"> |
|
87 | <div class="menu"> | |
88 | <div class="logo"> |
|
88 | <div class="logo"> | |
89 | <a href="http://www.selenic.com/mercurial/"> |
|
89 | <a href="http://www.selenic.com/mercurial/"> | |
90 | <img src="/static/hglogo.png" alt="mercurial" /></a> |
|
90 | <img src="/static/hglogo.png" alt="mercurial" /></a> | |
91 | </div> |
|
91 | </div> | |
92 | <ul> |
|
92 | <ul> | |
93 | <li class="active">log</li> |
|
93 | <li class="active">log</li> | |
94 | <li><a href="/graph/000000000000">graph</a></li> |
|
94 | <li><a href="/graph/000000000000">graph</a></li> | |
95 | <li><a href="/tags">tags</a></li> |
|
95 | <li><a href="/tags">tags</a></li> | |
96 | </ul> |
|
96 | </ul> | |
97 | <ul> |
|
97 | <ul> | |
98 | <li><a href="/rev/000000000000">changeset</a></li> |
|
98 | <li><a href="/rev/000000000000">changeset</a></li> | |
99 | <li><a href="/file/000000000000">browse</a></li> |
|
99 | <li><a href="/file/000000000000">browse</a></li> | |
100 | </ul> |
|
100 | </ul> | |
101 | <ul> |
|
101 | <ul> | |
102 |
|
102 | |||
103 | </ul> |
|
103 | </ul> | |
104 | </div> |
|
104 | </div> | |
105 |
|
105 | |||
106 | <div class="main"> |
|
106 | <div class="main"> | |
107 | <h2><a href="/">test</a></h2> |
|
107 | <h2><a href="/">test</a></h2> | |
108 | <h3>log</h3> |
|
108 | <h3>log</h3> | |
109 |
|
109 | |||
110 | <form class="search" action="/log"> |
|
110 | <form class="search" action="/log"> | |
111 |
|
111 | |||
112 | <p><input name="rev" id="search1" type="text" size="30" /></p> |
|
112 | <p><input name="rev" id="search1" type="text" size="30" /></p> | |
113 | <div id="hint">find changesets by author, revision, |
|
113 | <div id="hint">find changesets by author, revision, | |
114 | files, or words in the commit message</div> |
|
114 | files, or words in the commit message</div> | |
115 | </form> |
|
115 | </form> | |
116 |
|
116 | |||
117 | <div class="navigate">rev -1: <a href="/shortlog/000000000000">(0)</a> <a href="/shortlog/tip">tip</a> </div> |
|
117 | <div class="navigate">rev -1: <a href="/shortlog/000000000000">(0)</a> <a href="/shortlog/tip">tip</a> </div> | |
118 |
|
118 | |||
119 | <table class="bigtable"> |
|
119 | <table class="bigtable"> | |
120 | <tr> |
|
120 | <tr> | |
121 | <th class="age">age</th> |
|
121 | <th class="age">age</th> | |
122 | <th class="author">author</th> |
|
122 | <th class="author">author</th> | |
123 | <th class="description">description</th> |
|
123 | <th class="description">description</th> | |
124 | </tr> |
|
124 | </tr> | |
125 |
|
125 | |||
126 | </table> |
|
126 | </table> | |
127 |
|
127 | |||
128 | <div class="navigate">rev -1: <a href="/shortlog/000000000000">(0)</a> <a href="/shortlog/tip">tip</a> </div> |
|
128 | <div class="navigate">rev -1: <a href="/shortlog/000000000000">(0)</a> <a href="/shortlog/tip">tip</a> </div> | |
129 | </div> |
|
129 | </div> | |
130 | </div> |
|
130 | </div> | |
131 |
|
131 | |||
132 |
|
132 | |||
133 |
|
133 | |||
134 | </body> |
|
134 | </body> | |
135 | </html> |
|
135 | </html> | |
136 |
|
136 | |||
137 | 200 Script output follows |
|
137 | 200 Script output follows | |
138 |
|
138 | |||
139 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> |
|
139 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> | |
140 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US"> |
|
140 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US"> | |
141 | <head> |
|
141 | <head> | |
142 | <link rel="icon" href="/static/hgicon.png" type="image/png" /> |
|
142 | <link rel="icon" href="/static/hgicon.png" type="image/png" /> | |
143 | <meta name="robots" content="index, nofollow" /> |
|
143 | <meta name="robots" content="index, nofollow" /> | |
144 | <link rel="stylesheet" href="/static/style-paper.css" type="text/css" /> |
|
144 | <link rel="stylesheet" href="/static/style-paper.css" type="text/css" /> | |
145 |
|
145 | |||
146 | <title>test: revision graph</title> |
|
146 | <title>test: revision graph</title> | |
147 | <link rel="alternate" type="application/atom+xml" |
|
147 | <link rel="alternate" type="application/atom+xml" | |
148 | href="/atom-log" title="Atom feed for test: log" /> |
|
148 | href="/atom-log" title="Atom feed for test: log" /> | |
149 | <link rel="alternate" type="application/rss+xml" |
|
149 | <link rel="alternate" type="application/rss+xml" | |
150 | href="/rss-log" title="RSS feed for test: log" /> |
|
150 | href="/rss-log" title="RSS feed for test: log" /> | |
151 | <!--[if IE]><script type="text/javascript" src="/static/excanvas.js"></script><![endif]--> |
|
151 | <!--[if IE]><script type="text/javascript" src="/static/excanvas.js"></script><![endif]--> | |
152 | </head> |
|
152 | </head> | |
153 | <body> |
|
153 | <body> | |
154 |
|
154 | |||
155 | <div class="container"> |
|
155 | <div class="container"> | |
156 | <div class="menu"> |
|
156 | <div class="menu"> | |
157 | <div class="logo"> |
|
157 | <div class="logo"> | |
158 | <a href="http://www.selenic.com/mercurial/"> |
|
158 | <a href="http://www.selenic.com/mercurial/"> | |
159 | <img src="/static/hglogo.png" alt="mercurial" /></a> |
|
159 | <img src="/static/hglogo.png" alt="mercurial" /></a> | |
160 | </div> |
|
160 | </div> | |
161 | <ul> |
|
161 | <ul> | |
162 | <li><a href="/shortlog/000000000000">log</a></li> |
|
162 | <li><a href="/shortlog/000000000000">log</a></li> | |
163 | <li class="active">graph</li> |
|
163 | <li class="active">graph</li> | |
164 | <li><a href="/tags">tags</a></li> |
|
164 | <li><a href="/tags">tags</a></li> | |
165 | </ul> |
|
165 | </ul> | |
166 | <ul> |
|
166 | <ul> | |
167 | <li><a href="/rev/000000000000">changeset</a></li> |
|
167 | <li><a href="/rev/000000000000">changeset</a></li> | |
168 | <li><a href="/file/000000000000">browse</a></li> |
|
168 | <li><a href="/file/000000000000">browse</a></li> | |
169 | </ul> |
|
169 | </ul> | |
170 | </div> |
|
170 | </div> | |
171 |
|
171 | |||
172 | <div class="main"> |
|
172 | <div class="main"> | |
173 | <h2><a href="/">test</a></h2> |
|
173 | <h2><a href="/">test</a></h2> | |
174 | <h3>graph</h3> |
|
174 | <h3>graph</h3> | |
175 |
|
175 | |||
176 | <form class="search" action="/log"> |
|
176 | <form class="search" action="/log"> | |
177 |
|
177 | |||
178 | <p><input name="rev" id="search1" type="text" size="30" /></p> |
|
178 | <p><input name="rev" id="search1" type="text" size="30" /></p> | |
179 | <div id="hint">find changesets by author, revision, |
|
179 | <div id="hint">find changesets by author, revision, | |
180 | files, or words in the commit message</div> |
|
180 | files, or words in the commit message</div> | |
181 | </form> |
|
181 | </form> | |
182 |
|
182 | |||
183 | <div class="navigate"> |
|
183 | <div class="navigate"> | |
184 | <a href="/graph/-1?revcount=12">less</a> |
|
184 | <a href="/graph/-1?revcount=12">less</a> | |
185 | <a href="/graph/-1?revcount=50">more</a> |
|
185 | <a href="/graph/-1?revcount=50">more</a> | |
186 | | rev -1: <a href="/graph/000000000000">(0)</a> <a href="/graph/tip">tip</a> |
|
186 | | rev -1: <a href="/graph/000000000000">(0)</a> <a href="/graph/tip">tip</a> | |
187 | </div> |
|
187 | </div> | |
188 |
|
188 | |||
189 | <noscript><p>The revision graph only works with JavaScript-enabled browsers.</p></noscript> |
|
189 | <noscript><p>The revision graph only works with JavaScript-enabled browsers.</p></noscript> | |
190 |
|
190 | |||
191 | <div id="wrapper"> |
|
191 | <div id="wrapper"> | |
192 | <ul id="nodebgs"></ul> |
|
192 | <ul id="nodebgs"></ul> | |
193 | <canvas id="graph" width="224" height="12"></canvas> |
|
193 | <canvas id="graph" width="224" height="12"></canvas> | |
194 | <ul id="graphnodes"></ul> |
|
194 | <ul id="graphnodes"></ul> | |
195 | </div> |
|
195 | </div> | |
196 |
|
196 | |||
197 | <script type="text/javascript" src="/static/graph.js"></script> |
|
197 | <script type="text/javascript" src="/static/graph.js"></script> | |
198 | <script type="text/javascript"> |
|
198 | <script type="text/javascript"> | |
199 | <!-- hide script content |
|
199 | <!-- hide script content | |
200 |
|
200 | |||
201 | var data = []; |
|
201 | var data = []; | |
202 | var graph = new Graph(); |
|
202 | var graph = new Graph(); | |
203 | graph.scale(39); |
|
203 | graph.scale(39); | |
204 |
|
204 | |||
205 | graph.edge = function(x0, y0, x1, y1, color) { |
|
205 | graph.edge = function(x0, y0, x1, y1, color) { | |
206 |
|
206 | |||
207 | this.setColor(color, 0.0, 0.65); |
|
207 | this.setColor(color, 0.0, 0.65); | |
208 | this.ctx.beginPath(); |
|
208 | this.ctx.beginPath(); | |
209 | this.ctx.moveTo(x0, y0); |
|
209 | this.ctx.moveTo(x0, y0); | |
210 | this.ctx.lineTo(x1, y1); |
|
210 | this.ctx.lineTo(x1, y1); | |
211 | this.ctx.stroke(); |
|
211 | this.ctx.stroke(); | |
212 |
|
212 | |||
213 | } |
|
213 | } | |
214 |
|
214 | |||
215 | var revlink = '<li style="_STYLE"><span class="desc">'; |
|
215 | var revlink = '<li style="_STYLE"><span class="desc">'; | |
216 | revlink += '<a href="/rev/_NODEID" title="_NODEID">_DESC</a>'; |
|
216 | revlink += '<a href="/rev/_NODEID" title="_NODEID">_DESC</a>'; | |
217 | revlink += '</span>_TAGS<span class="info">_DATE ago, by _USER</span></li>'; |
|
217 | revlink += '</span>_TAGS<span class="info">_DATE ago, by _USER</span></li>'; | |
218 |
|
218 | |||
219 | graph.vertex = function(x, y, color, parity, cur) { |
|
219 | graph.vertex = function(x, y, color, parity, cur) { | |
220 |
|
220 | |||
221 | this.ctx.beginPath(); |
|
221 | this.ctx.beginPath(); | |
222 | color = this.setColor(color, 0.25, 0.75); |
|
222 | color = this.setColor(color, 0.25, 0.75); | |
223 | this.ctx.arc(x, y, radius, 0, Math.PI * 2, true); |
|
223 | this.ctx.arc(x, y, radius, 0, Math.PI * 2, true); | |
224 | this.ctx.fill(); |
|
224 | this.ctx.fill(); | |
225 |
|
225 | |||
226 | var bg = '<li class="bg parity' + parity + '"></li>'; |
|
226 | var bg = '<li class="bg parity' + parity + '"></li>'; | |
227 | var left = (this.columns + 1) * this.bg_height; |
|
227 | var left = (this.columns + 1) * this.bg_height; | |
228 | var nstyle = 'padding-left: ' + left + 'px;'; |
|
228 | var nstyle = 'padding-left: ' + left + 'px;'; | |
229 | var item = revlink.replace(/_STYLE/, nstyle); |
|
229 | var item = revlink.replace(/_STYLE/, nstyle); | |
230 | item = item.replace(/_PARITY/, 'parity' + parity); |
|
230 | item = item.replace(/_PARITY/, 'parity' + parity); | |
231 | item = item.replace(/_NODEID/, cur[0]); |
|
231 | item = item.replace(/_NODEID/, cur[0]); | |
232 | item = item.replace(/_NODEID/, cur[0]); |
|
232 | item = item.replace(/_NODEID/, cur[0]); | |
233 | item = item.replace(/_DESC/, cur[3]); |
|
233 | if (cur[3] != '') | |
|
234 | item = item.replace(/_DESC/, cur[3]); | |||
|
235 | else | |||
|
236 | item = item.replace(/_DESC/, '(none)'); | |||
234 | item = item.replace(/_USER/, cur[4]); |
|
237 | item = item.replace(/_USER/, cur[4]); | |
235 | item = item.replace(/_DATE/, cur[5]); |
|
238 | item = item.replace(/_DATE/, cur[5]); | |
236 |
|
239 | |||
237 | var tagspan = ''; |
|
240 | var tagspan = ''; | |
238 | if (cur[7].length || (cur[6][0] != 'default' || cur[6][1])) { |
|
241 | if (cur[7].length || (cur[6][0] != 'default' || cur[6][1])) { | |
239 | tagspan = '<span class="logtags">'; |
|
242 | tagspan = '<span class="logtags">'; | |
240 | if (cur[6][1]) { |
|
243 | if (cur[6][1]) { | |
241 | tagspan += '<span class="branchhead" title="' + cur[6][0] + '">'; |
|
244 | tagspan += '<span class="branchhead" title="' + cur[6][0] + '">'; | |
242 | tagspan += cur[6][0] + '</span> '; |
|
245 | tagspan += cur[6][0] + '</span> '; | |
243 | } else if (!cur[6][1] && cur[6][0] != 'default') { |
|
246 | } else if (!cur[6][1] && cur[6][0] != 'default') { | |
244 | tagspan += '<span class="branchname" title="' + cur[6][0] + '">'; |
|
247 | tagspan += '<span class="branchname" title="' + cur[6][0] + '">'; | |
245 | tagspan += cur[6][0] + '</span> '; |
|
248 | tagspan += cur[6][0] + '</span> '; | |
246 | } |
|
249 | } | |
247 | if (cur[7].length) { |
|
250 | if (cur[7].length) { | |
248 | for (var t in cur[7]) { |
|
251 | for (var t in cur[7]) { | |
249 | var tag = cur[7][t]; |
|
252 | var tag = cur[7][t]; | |
250 | tagspan += '<span class="tag">' + tag + '</span> '; |
|
253 | tagspan += '<span class="tag">' + tag + '</span> '; | |
251 | } |
|
254 | } | |
252 | } |
|
255 | } | |
253 | tagspan += '</span>'; |
|
256 | tagspan += '</span>'; | |
254 | } |
|
257 | } | |
255 |
|
258 | |||
256 | item = item.replace(/_TAGS/, tagspan); |
|
259 | item = item.replace(/_TAGS/, tagspan); | |
257 | return [bg, item]; |
|
260 | return [bg, item]; | |
258 |
|
261 | |||
259 | } |
|
262 | } | |
260 |
|
263 | |||
261 | graph.render(data); |
|
264 | graph.render(data); | |
262 |
|
265 | |||
263 | // stop hiding script --> |
|
266 | // stop hiding script --> | |
264 | </script> |
|
267 | </script> | |
265 |
|
268 | |||
266 | <div class="navigate"> |
|
269 | <div class="navigate"> | |
267 | <a href="/graph/-1?revcount=12">less</a> |
|
270 | <a href="/graph/-1?revcount=12">less</a> | |
268 | <a href="/graph/-1?revcount=50">more</a> |
|
271 | <a href="/graph/-1?revcount=50">more</a> | |
269 | | rev -1: <a href="/graph/000000000000">(0)</a> <a href="/graph/tip">tip</a> |
|
272 | | rev -1: <a href="/graph/000000000000">(0)</a> <a href="/graph/tip">tip</a> | |
270 | </div> |
|
273 | </div> | |
271 |
|
274 | |||
272 | </div> |
|
275 | </div> | |
273 | </div> |
|
276 | </div> | |
274 |
|
277 | |||
275 |
|
278 | |||
276 |
|
279 | |||
277 | </body> |
|
280 | </body> | |
278 | </html> |
|
281 | </html> | |
279 |
|
282 | |||
280 | 200 Script output follows |
|
283 | 200 Script output follows | |
281 |
|
284 | |||
282 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> |
|
285 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> | |
283 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US"> |
|
286 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US"> | |
284 | <head> |
|
287 | <head> | |
285 | <link rel="icon" href="/static/hgicon.png" type="image/png" /> |
|
288 | <link rel="icon" href="/static/hgicon.png" type="image/png" /> | |
286 | <meta name="robots" content="index, nofollow" /> |
|
289 | <meta name="robots" content="index, nofollow" /> | |
287 | <link rel="stylesheet" href="/static/style-paper.css" type="text/css" /> |
|
290 | <link rel="stylesheet" href="/static/style-paper.css" type="text/css" /> | |
288 |
|
291 | |||
289 | <title>test: 000000000000 /</title> |
|
292 | <title>test: 000000000000 /</title> | |
290 | </head> |
|
293 | </head> | |
291 | <body> |
|
294 | <body> | |
292 |
|
295 | |||
293 | <div class="container"> |
|
296 | <div class="container"> | |
294 | <div class="menu"> |
|
297 | <div class="menu"> | |
295 | <div class="logo"> |
|
298 | <div class="logo"> | |
296 | <a href="http://www.selenic.com/mercurial/"> |
|
299 | <a href="http://www.selenic.com/mercurial/"> | |
297 | <img src="/static/hglogo.png" alt="mercurial" /></a> |
|
300 | <img src="/static/hglogo.png" alt="mercurial" /></a> | |
298 | </div> |
|
301 | </div> | |
299 | <ul> |
|
302 | <ul> | |
300 | <li><a href="/shortlog/000000000000">log</a></li> |
|
303 | <li><a href="/shortlog/000000000000">log</a></li> | |
301 | <li><a href="/graph/000000000000">graph</a></li> |
|
304 | <li><a href="/graph/000000000000">graph</a></li> | |
302 | <li><a href="/tags">tags</a></li> |
|
305 | <li><a href="/tags">tags</a></li> | |
303 | </ul> |
|
306 | </ul> | |
304 | <ul> |
|
307 | <ul> | |
305 | <li><a href="/rev/000000000000">changeset</a></li> |
|
308 | <li><a href="/rev/000000000000">changeset</a></li> | |
306 | <li class="active">browse</li> |
|
309 | <li class="active">browse</li> | |
307 | </ul> |
|
310 | </ul> | |
308 | <ul> |
|
311 | <ul> | |
309 |
|
312 | |||
310 | </ul> |
|
313 | </ul> | |
311 | </div> |
|
314 | </div> | |
312 |
|
315 | |||
313 | <div class="main"> |
|
316 | <div class="main"> | |
314 | <h2><a href="/">test</a></h2> |
|
317 | <h2><a href="/">test</a></h2> | |
315 | <h3>directory / @ -1:000000000000 <span class="tag">tip</span> </h3> |
|
318 | <h3>directory / @ -1:000000000000 <span class="tag">tip</span> </h3> | |
316 |
|
319 | |||
317 | <form class="search" action="/log"> |
|
320 | <form class="search" action="/log"> | |
318 |
|
321 | |||
319 | <p><input name="rev" id="search1" type="text" size="30" /></p> |
|
322 | <p><input name="rev" id="search1" type="text" size="30" /></p> | |
320 | <div id="hint">find changesets by author, revision, |
|
323 | <div id="hint">find changesets by author, revision, | |
321 | files, or words in the commit message</div> |
|
324 | files, or words in the commit message</div> | |
322 | </form> |
|
325 | </form> | |
323 |
|
326 | |||
324 | <table class="bigtable"> |
|
327 | <table class="bigtable"> | |
325 | <tr> |
|
328 | <tr> | |
326 | <th class="name">name</th> |
|
329 | <th class="name">name</th> | |
327 | <th class="size">size</th> |
|
330 | <th class="size">size</th> | |
328 | <th class="permissions">permissions</th> |
|
331 | <th class="permissions">permissions</th> | |
329 | </tr> |
|
332 | </tr> | |
330 | <tr class="fileline parity0"> |
|
333 | <tr class="fileline parity0"> | |
331 | <td class="name"><a href="/file/000000000000/">[up]</a></td> |
|
334 | <td class="name"><a href="/file/000000000000/">[up]</a></td> | |
332 | <td class="size"></td> |
|
335 | <td class="size"></td> | |
333 | <td class="permissions">drwxr-xr-x</td> |
|
336 | <td class="permissions">drwxr-xr-x</td> | |
334 | </tr> |
|
337 | </tr> | |
335 |
|
338 | |||
336 |
|
339 | |||
337 | </table> |
|
340 | </table> | |
338 | </div> |
|
341 | </div> | |
339 | </div> |
|
342 | </div> | |
340 |
|
343 | |||
341 |
|
344 | |||
342 | </body> |
|
345 | </body> | |
343 | </html> |
|
346 | </html> | |
344 |
|
347 |
General Comments 0
You need to be logged in to leave comments.
Login now