##// END OF EJS Templates
coal: include current node in log, graph menu links
Brendan Cully -
r6775:54ccf417 default
parent child Browse files
Show More
@@ -1,72 +1,72 b''
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" width=75 height=90 border=0 alt="mercurial"></a>
9 <img src="{staticurl}hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
10 </div>
10 </div>
11 <ul>
11 <ul>
12 <li><a href="{url}shortlog{sessionvars%urlparameter}">log</a></li>
12 <li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li>
13 <li><a href="{url}graph{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}file/{node|short}{sessionvars%urlparameter}">browse</a></li>
18 <li><a href="{url}file/{node|short}{sessionvars%urlparameter}">browse</a></li>
19 </ul>
19 </ul>
20 <ul>
20 <ul>
21 {archives%archiveentry}</ul>
21 {archives%archiveentry}</ul>
22 </ul>
22 </ul>
23 </div>
23 </div>
24
24
25 <div class="main">
25 <div class="main">
26
26
27 <h2>{repo|escape}</h2>
27 <h2>{repo|escape}</h2>
28 <h3>changeset {rev}:{node|short} {changesettag}</h3>
28 <h3>changeset {rev}:{node|short} {changesettag}</h3>
29
29
30 <form class="search" action="{url}log">
30 <form class="search" action="{url}log">
31 {sessionvars%hiddenformentry}
31 {sessionvars%hiddenformentry}
32 <p><input name="rev" id="search1" type="text" size="30"></p>
32 <p><input name="rev" id="search1" type="text" size="30"></p>
33 </form>
33 </form>
34
34
35 <div class="description">{desc|strip|escape|addbreaks}</div>
35 <div class="description">{desc|strip|escape|addbreaks}</div>
36
36
37 <table id="changesetEntry">
37 <table id="changesetEntry">
38 <tr>
38 <tr>
39 <th class="author">author</th>
39 <th class="author">author</th>
40 <td class="author">{author|obfuscate}</td>
40 <td class="author">{author|obfuscate}</td>
41 </tr>
41 </tr>
42 <tr>
42 <tr>
43 <th class="date">date</th>
43 <th class="date">date</th>
44 <td class="date">{date|date} ({date|age} ago)</td></tr>
44 <td class="date">{date|date} ({date|age} ago)</td></tr>
45 <tr>
45 <tr>
46 <th class="author">parents</th>
46 <th class="author">parents</th>
47 <td class="author">{parent%changesetparent}</td>
47 <td class="author">{parent%changesetparent}</td>
48 </tr>
48 </tr>
49 <tr>
49 <tr>
50 <th class="author">children</th>
50 <th class="author">children</th>
51 <td class="author">{child%changesetchild}</td>
51 <td class="author">{child%changesetchild}</td>
52 </tr>
52 </tr>
53 <tr>
53 <tr>
54 <th class="files">files</th>
54 <th class="files">files</th>
55 <td class="files">{files}</td></tr>
55 <td class="files">{files}</td></tr>
56 </tr>
56 </tr>
57 </table>
57 </table>
58 <tr>
58 <tr>
59
59
60 <div class="overflow">
60 <div class="overflow">
61 <table class="bigtable">
61 <table class="bigtable">
62 <tr>
62 <tr>
63 <th class="lineno">line</th>
63 <th class="lineno">line</th>
64 <th class="source">diff</th>
64 <th class="source">diff</th>
65 </tr>
65 </tr>
66 </table>
66 </table>
67 {diff}
67 {diff}
68 </div>
68 </div>
69 </div>
69 </div>
70 {footer}
70 {footer}
71
71
72
72
@@ -1,77 +1,77 b''
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" width=75 height=90 border=0 alt="mercurial"></a>
10 <img src="{staticurl}hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
11 </div>
11 </div>
12 <ul>
12 <ul>
13 <li><a href="{url}shortlog/{sessionvars%urlparameter}">log</a></li>
13 <li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li>
14 <li><a href="{url}graph/{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>{repo|escape}</h2>
32 <h2>{repo|escape}</h2>
33 <h3>annotate {file|escape} @ {rev}:{node|short}</h2>
33 <h3>annotate {file|escape} @ {rev}:{node|short}</h2>
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 </form>
38 </form>
39
39
40 <div class="description">{desc|strip|escape|addbreaks}</div>
40 <div class="description">{desc|strip|escape|addbreaks}</div>
41
41
42 <table id="changesetEntry">
42 <table id="changesetEntry">
43 <tr>
43 <tr>
44 <th class="author">author</th>
44 <th class="author">author</th>
45 <td class="author">{author|obfuscate}</td>
45 <td class="author">{author|obfuscate}</td>
46 </tr>
46 </tr>
47 <tr>
47 <tr>
48 <th class="date">date</th>
48 <th class="date">date</th>
49 <td class="date">{date|date} ({date|age} ago)</td>
49 <td class="date">{date|date} ({date|age} ago)</td>
50 </tr>
50 </tr>
51 <tr>
51 <tr>
52 <th class="author">parents</th>
52 <th class="author">parents</th>
53 <td class="author">{parent%filerevparent}</td>
53 <td class="author">{parent%filerevparent}</td>
54 </tr>
54 </tr>
55 <tr>
55 <tr>
56 <th class="author">children</th>
56 <th class="author">children</th>
57 <td class="author">{child%filerevchild}</td>
57 <td class="author">{child%filerevchild}</td>
58 </tr>
58 </tr>
59 {changesettag}
59 {changesettag}
60 </table>
60 </table>
61
61
62 <br/>
62 <br/>
63
63
64 <div class="overflow">
64 <div class="overflow">
65 <table class="bigtable">
65 <table class="bigtable">
66 <tr>
66 <tr>
67 <th class="annotate">rev</th>
67 <th class="annotate">rev</th>
68 <th class="lineno">line</th>
68 <th class="lineno">line</th>
69 <th class="line">source</th>
69 <th class="line">source</th>
70 </tr>
70 </tr>
71 {annotate%annotateline}
71 {annotate%annotateline}
72 </table>
72 </table>
73 </div>
73 </div>
74 </div>
74 </div>
75 </div>
75 </div>
76
76
77 {footer}
77 {footer}
@@ -1,75 +1,75 b''
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" width=75 height=90 border=0 alt="mercurial"></a>
10 <img src="{staticurl}hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
11 </div>
11 </div>
12 <ul>
12 <ul>
13 <li><a href="{url}shortlog/{sessionvars%urlparameter}">log</a></li>
13 <li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li>
14 <li><a href="{url}graph/{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>{repo|escape}</h2>
31 <h2>{repo|escape}</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 {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 </form>
37 </form>
38
38
39 <div class="description">{desc|strip|escape|addbreaks}</div>
39 <div class="description">{desc|strip|escape|addbreaks}</div>
40
40
41 <table id="changesetEntry">
41 <table id="changesetEntry">
42 <tr>
42 <tr>
43 <th>author</th>
43 <th>author</th>
44 <td>{author|obfuscate}</td>
44 <td>{author|obfuscate}</td>
45 </tr>
45 </tr>
46 <tr>
46 <tr>
47 <th>date</th>
47 <th>date</th>
48 <td>{date|date} ({date|age} ago)</td>
48 <td>{date|date} ({date|age} ago)</td>
49 </tr>
49 </tr>
50 <tr>
50 <tr>
51 <th>parents</th>
51 <th>parents</th>
52 <td>{parent%filerevparent}</td>
52 <td>{parent%filerevparent}</td>
53 </tr>
53 </tr>
54 <tr>
54 <tr>
55 <th>children</th>
55 <th>children</th>
56 <td>{child%filerevchild}</td>
56 <td>{child%filerevchild}</td>
57 </tr>
57 </tr>
58 {changesettag}
58 {changesettag}
59 </table>
59 </table>
60
60
61 <div class="overflow">
61 <div class="overflow">
62 <table class="bigtable">
62 <table class="bigtable">
63 <tr>
63 <tr>
64 <th class="lineno">line</th>
64 <th class="lineno">line</th>
65 <th class="source">diff</th>
65 <th class="source">diff</th>
66 </tr>
66 </tr>
67 <table>
67 <table>
68 {diff}
68 {diff}
69 </div>
69 </div>
70 </div>
70 </div>
71 </div>
71 </div>
72
72
73 {footer}
73 {footer}
74
74
75
75
@@ -1,59 +1,59 b''
1 {header}
1 {header}
2 <title>{repo|escape}: {file|escape} history</title>
2 <title>{repo|escape}: {file|escape} history</title>
3 <link rel="alternate" type="application/atom+xml"
3 <link rel="alternate" type="application/atom+xml"
4 href="{url}atom-log/tip/{file|urlescape}" title="Atom feed for {repo|escape}:{file}">
4 href="{url}atom-log/tip/{file|urlescape}" title="Atom feed for {repo|escape}:{file}">
5 <link rel="alternate" type="application/rss+xml"
5 <link rel="alternate" type="application/rss+xml"
6 href="{url}rss-log/tip/{file|urlescape}" title="RSS feed for {repo|escape}:{file}">
6 href="{url}rss-log/tip/{file|urlescape}" title="RSS feed for {repo|escape}:{file}">
7 </head>
7 </head>
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" width=75 height=90 border=0 alt="mercurial"></a>
15 <img src="{staticurl}hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
16 </div>
16 </div>
17 <ul>
17 <ul>
18 <li><a href="{url}shortlog/{sessionvars%urlparameter}">log</a></li>
18 <li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li>
19 <li><a href="{url}graph/{sessionvars%urlparameter}">graph</a></li>
19 <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></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 <ul>
26 <ul>
27 <li><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a></li>
27 <li><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a></li>
28 <li><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a></li>
28 <li><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a></li>
29 <li><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a></li>
29 <li><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a></li>
30 <li class="active">file log</li>
30 <li class="active">file log</li>
31 <li><a href="{url}raw-file/{node|short}/{file|urlescape}">raw</a></li>
31 <li><a href="{url}raw-file/{node|short}/{file|urlescape}">raw</a></li>
32 </ul>
32 </ul>
33 </div>
33 </div>
34
34
35 <div class="main">
35 <div class="main">
36
36
37 <h2>{repo|escape}</h2>
37 <h2>{repo|escape}</h2>
38 <h3>log {file|escape}</h3>
38 <h3>log {file|escape}</h3>
39
39
40 <form class="search" action="{url}log">
40 <form class="search" action="{url}log">
41 {sessionvars%hiddenformentry}
41 {sessionvars%hiddenformentry}
42 <p><input name="rev" id="search1" type="text" size="30"></p>
42 <p><input name="rev" id="search1" type="text" size="30"></p>
43 </form>
43 </form>
44
44
45 <div class="navigate">{nav%filenaventry}</div>
45 <div class="navigate">{nav%filenaventry}</div>
46
46
47 <table class="bigtable">
47 <table class="bigtable">
48 <tr>
48 <tr>
49 <th class="age">age</td>
49 <th class="age">age</td>
50 <th class="author">author</td>
50 <th class="author">author</td>
51 <th class="description">description</td>
51 <th class="description">description</td>
52 </tr>
52 </tr>
53 {entries%filelogentry}
53 {entries%filelogentry}
54 </table>
54 </table>
55
55
56 </div>
56 </div>
57 </div>
57 </div>
58
58
59 {footer}
59 {footer}
@@ -1,74 +1,74 b''
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" width=75 height=90 border=0 alt="mercurial"></a>
10 <img src="{staticurl}hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
11 </div>
11 </div>
12 <ul>
12 <ul>
13 <li><a href="{url}shortlog/{sessionvars%urlparameter}">log</a></li>
13 <li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li>
14 <li><a href="{url}graph/{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
31
32 <h2>{repo|escape}</h2>
32 <h2>{repo|escape}</h2>
33 <h3>view {file|escape} @ {rev}:{node|short}</h3>
33 <h3>view {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 </form>
38 </form>
39
39
40 <div class="description">{desc|strip|escape|addbreaks}</div>
40 <div class="description">{desc|strip|escape|addbreaks}</div>
41
41
42 <table id="changesetEntry">
42 <table id="changesetEntry">
43 <tr>
43 <tr>
44 <th class="author">author</th>
44 <th class="author">author</th>
45 <td class="author">{author|obfuscate}</td>
45 <td class="author">{author|obfuscate}</td>
46 </tr>
46 </tr>
47 <tr>
47 <tr>
48 <th class="date">date</th>
48 <th class="date">date</th>
49 <td class="date">{date|date} ({date|age} ago)</td>
49 <td class="date">{date|date} ({date|age} ago)</td>
50 </tr>
50 </tr>
51 <tr>
51 <tr>
52 <th class="author">parents</th>
52 <th class="author">parents</th>
53 <td class="author">{parent%filerevparent}</td>
53 <td class="author">{parent%filerevparent}</td>
54 </tr>
54 </tr>
55 <tr>
55 <tr>
56 <th class="author">children</th>
56 <th class="author">children</th>
57 <td class="author">{child%filerevchild}</td>
57 <td class="author">{child%filerevchild}</td>
58 </tr>
58 </tr>
59 {changesettag}
59 {changesettag}
60 </table>
60 </table>
61
61
62 <div class="overflow">
62 <div class="overflow">
63 <table class="bigtable">
63 <table class="bigtable">
64 <tr>
64 <tr>
65 <th class="lineno">line</th>
65 <th class="lineno">line</th>
66 <th class="source">source</th>
66 <th class="source">source</th>
67 </tr>
67 </tr>
68 {text%fileline}
68 {text%fileline}
69 </table>
69 </table>
70 </div>
70 </div>
71 </div>
71 </div>
72 </div>
72 </div>
73
73
74 {footer}
74 {footer}
@@ -1,113 +1,113 b''
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" width=75 height=90 border=0 alt="mercurial"></a>
15 <img src="{staticurl}hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
16 </div>
16 </div>
17 <ul>
17 <ul>
18 <li><a href="{url}shortlog{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>{repo|escape}</h2>
29 <h2>{repo|escape}</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 </form>
35 </form>
36
36
37 <div class="navigate">
37 <div class="navigate">
38 <a href="{url}graph/{uprev}{sessionvars%urlparameter}?revcount={revcountless}">less</a>
38 <a href="{url}graph/{uprev}{sessionvars%urlparameter}?revcount={revcountless}">less</a>
39 <a href="{url}graph/{uprev}{sessionvars%urlparameter}?revcount={revcountmore}">more</a>
39 <a href="{url}graph/{uprev}{sessionvars%urlparameter}?revcount={revcountmore}">more</a>
40 | {changenav%navgraphentry}
40 | {changenav%navgraphentry}
41 </div>
41 </div>
42
42
43 <div id="noscript">The revision graph only works with JavaScript-enabled browsers.</div>
43 <div id="noscript">The revision graph only works with JavaScript-enabled browsers.</div>
44
44
45 <div id="wrapper">
45 <div id="wrapper">
46 <ul id="nodebgs"></ul>
46 <ul id="nodebgs"></ul>
47 <canvas id="graph" width="224" height="{canvasheight}"></canvas>
47 <canvas id="graph" width="224" height="{canvasheight}"></canvas>
48 <ul id="graphnodes"></ul>
48 <ul id="graphnodes"></ul>
49 </div>
49 </div>
50
50
51 <script type="text/javascript" src="{staticurl}graph.js"></script>
51 <script type="text/javascript" src="{staticurl}graph.js"></script>
52 <script>
52 <script>
53 <!-- hide script content
53 <!-- hide script content
54
54
55 document.getElementById('noscript').style.display = 'none';
55 document.getElementById('noscript').style.display = 'none';
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><span class="tag">_TAGS</span>';
73 revlink += '</span><span class="tag">_TAGS</span>';
74 revlink += '<span class="info">_DATE ago, by _USER</span></li>';
74 revlink += '<span class="info">_DATE ago, by _USER</span></li>';
75
75
76 graph.vertex = function(x, y, color, parity, cur) {
76 graph.vertex = function(x, y, color, parity, cur) {
77
77
78 this.ctx.beginPath();
78 this.ctx.beginPath();
79 color = this.setColor(color, 0.25, 0.75);
79 color = this.setColor(color, 0.25, 0.75);
80 this.ctx.arc(x, y, radius, 0, Math.PI * 2, true);
80 this.ctx.arc(x, y, radius, 0, Math.PI * 2, true);
81 this.ctx.fill();
81 this.ctx.fill();
82
82
83 var bg = '<li class="bg parity' + parity + '"></li>';
83 var bg = '<li class="bg parity' + parity + '"></li>';
84 var left = (this.columns + 1) * this.bg_height;
84 var left = (this.columns + 1) * this.bg_height;
85 var nstyle = 'padding-left: ' + left + 'px;';
85 var nstyle = 'padding-left: ' + left + 'px;';
86 var item = revlink.replace(/_STYLE/, nstyle);
86 var item = revlink.replace(/_STYLE/, nstyle);
87 item = item.replace(/_PARITY/, 'parity' + parity);
87 item = item.replace(/_PARITY/, 'parity' + parity);
88 item = item.replace(/_NODEID/, cur[0]);
88 item = item.replace(/_NODEID/, cur[0]);
89 item = item.replace(/_NODEID/, cur[0]);
89 item = item.replace(/_NODEID/, cur[0]);
90 item = item.replace(/_DESC/, cur[3]);
90 item = item.replace(/_DESC/, cur[3]);
91 item = item.replace(/_USER/, cur[4]);
91 item = item.replace(/_USER/, cur[4]);
92 item = item.replace(/_DATE/, cur[5]);
92 item = item.replace(/_DATE/, cur[5]);
93 item = item.replace(/_TAGS/, cur[7].join('&nbsp; '));
93 item = item.replace(/_TAGS/, cur[7].join('&nbsp; '));
94
94
95 return [bg, item];
95 return [bg, item];
96
96
97 }
97 }
98
98
99 graph.render(data);
99 graph.render(data);
100
100
101 // stop hiding script -->
101 // stop hiding script -->
102 </script>
102 </script>
103
103
104 <div class="navigate">
104 <div class="navigate">
105 <a href="{url}graph/{uprev}{sessionvars%urlparameter}?revcount={revcountless}">less</a>
105 <a href="{url}graph/{uprev}{sessionvars%urlparameter}?revcount={revcountless}">less</a>
106 <a href="{url}graph/{uprev}{sessionvars%urlparameter}?revcount={revcountmore}">more</a>
106 <a href="{url}graph/{uprev}{sessionvars%urlparameter}?revcount={revcountmore}">more</a>
107 | {changenav%navgraphentry}
107 | {changenav%navgraphentry}
108 </div>
108 </div>
109
109
110 </div>
110 </div>
111 </div>
111 </div>
112
112
113 {footer}
113 {footer}
@@ -1,52 +1,52 b''
1 {header}
1 {header}
2 <title>{repo|escape}: {node|short} {path|escape}</title>
2 <title>{repo|escape}: {node|short} {path|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" width=75 height=90 border=0 alt="mercurial"></a>
10 <img src="{staticurl}hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
11 </div>
11 </div>
12 <ul>
12 <ul>
13 <li><a href="{url}shortlog/{sessionvars%urlparameter}">log</a></li>
13 <li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li>
14 <li><a href="{url}graph/{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 class="active">browse</li>
19 <li class="active">browse</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>{repo|escape}</h2>
28 <h2>{repo|escape}</h2>
29 <h3>directory {path|escape} @ {rev}:{node|short} {tags%changelogtag}</h3>
29 <h3>directory {path|escape} @ {rev}:{node|short} {tags%changelogtag}</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 </form>
34 </form>
35
35
36 <table class="bigtable">
36 <table class="bigtable">
37 <tr>
37 <tr>
38 <th class="name">name</th>
38 <th class="name">name</th>
39 <th class="size">size</th>
39 <th class="size">size</th>
40 <th class="permissions">permissions</th>
40 <th class="permissions">permissions</th>
41 </tr>
41 </tr>
42 <tr class="fileline parity{upparity}">
42 <tr class="fileline parity{upparity}">
43 <td class="name"><a href="{url}file/{node|short}{up|urlescape}{sessionvars%urlparameter}">[up]</a></td>
43 <td class="name"><a href="{url}file/{node|short}{up|urlescape}{sessionvars%urlparameter}">[up]</a></td>
44 <td class="size"></td>
44 <td class="size"></td>
45 <td class="permissions">drwxr-xr-x</td>
45 <td class="permissions">drwxr-xr-x</td>
46 </tr>
46 </tr>
47 {dentries%direntry}
47 {dentries%direntry}
48 {fentries%fileentry}
48 {fentries%fileentry}
49 </table>
49 </table>
50 </div>
50 </div>
51 </div>
51 </div>
52 {footer}
52 {footer}
@@ -1,55 +1,55 b''
1 {header}
1 {header}
2 <title>{repo|escape}: log</title>
2 <title>{repo|escape}: log</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="container">
10 <div class="container">
11 <div class="menu">
11 <div class="menu">
12 <div class="logo">
12 <div class="logo">
13 <a href="http://www.selenic.com/mercurial/">
13 <a href="http://www.selenic.com/mercurial/">
14 <img src="{staticurl}hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
14 <img src="{staticurl}hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
15 </div>
15 </div>
16 <ul>
16 <ul>
17 <li class="active">log</li>
17 <li class="active">log</li>
18 <li><a href="{url}graph{sessionvars%urlparameter}">graph</a></li>
18 <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li>
19 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
19 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
20 </ul>
20 </ul>
21 <ul>
21 <ul>
22 <li><a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a></li>
22 <li><a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a></li>
23 <li><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">browse</a></li>
23 <li><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">browse</a></li>
24 </ul>
24 </ul>
25 <ul>
25 <ul>
26 {archives%archiveentry}
26 {archives%archiveentry}
27 </ul>
27 </ul>
28 </div>
28 </div>
29
29
30 <div class="main">
30 <div class="main">
31
31
32 <h2>{repo|escape}</h2>
32 <h2>{repo|escape}</h2>
33 <h3>log</h3>
33 <h3>log</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 </form>
38 </form>
39
39
40 <div class="navigate">rev {rev}: {changenav%navshortentry}</div>
40 <div class="navigate">rev {rev}: {changenav%navshortentry}</div>
41
41
42 <table class="bigtable">
42 <table class="bigtable">
43 <tr>
43 <tr>
44 <th class="age">age</td>
44 <th class="age">age</td>
45 <th class="author">author</td>
45 <th class="author">author</td>
46 <th class="description">description</td>
46 <th class="description">description</td>
47 </tr>
47 </tr>
48 {entries%shortlogentry}
48 {entries%shortlogentry}
49 </table>
49 </table>
50
50
51 <div class="navigate">rev {rev}: {changenav%navshortentry}</div>
51 <div class="navigate">rev {rev}: {changenav%navshortentry}</div>
52 </div>
52 </div>
53 </div>
53 </div>
54
54
55 {footer}
55 {footer}
General Comments 0
You need to be logged in to leave comments. Login now