Mercurial > hg > mercurial-crew-with-dirclash
comparison templates/filediff.tmpl @ 142:529bf610092e
Prettify the web interface
Add header, footer templates
Add null parent handling
Combine files and directories
Add parity flag for alternating line colors
Add line numbers to filerevision
author | mpm@selenic.com |
---|---|
date | Mon, 23 May 2005 20:57:48 -0800 |
parents | c77a679e9cfa |
children | e8a360cd5a9f 083c38bdfa64 |
comparison
equal
deleted
inserted
replaced
141:5f471a75d607 | 142:529bf610092e |
---|---|
1 Content-type: text/html | 1 #header# |
2 <title>#repo#: #file# diff</title> | |
3 </head> | |
4 <body> | |
2 | 5 |
3 <html> | 6 <div class=buttons> |
4 <body> | |
5 <a href="?cmd=changelog&rev=#rev#">changelog</a> | 7 <a href="?cmd=changelog&rev=#rev#">changelog</a> |
6 <a href="?cmd=changeset&node=#node#">changeset</a> | 8 <a href="?cmd=changeset&node=#node#">changeset</a> |
7 <a href="?cmd=file&file=#file#&filenode=#filenode#">file</a> | 9 <a href="?cmd=file&file=#file#&filenode=#filenode#">file</a> |
8 <a href="?cmd=filelog&file=#file#&filenode=#filenode#">revisions</a> | 10 <a href="?cmd=filelog&file=#file#&filenode=#filenode#">revisions</a> |
9 <a href="?cmd=annotate&file=#file#&filenode=#filenode#">annotate</a> | 11 <a href="?cmd=annotate&file=#file#&filenode=#filenode#">annotate</a> |
12 </div> | |
10 | 13 |
11 <h2>#file#</h2> | 14 <h2>#file#</h2> |
12 | 15 |
13 <table> | 16 <table> |
14 <tr> | 17 <tr> |
15 <td align=right>revision:</td> | 18 <td class=metatag>revision:</td> |
16 <td><a href="?cmd=changeset;node=#node#">#rev#:#node#</a></td></tr> | 19 <td><a href="?cmd=changeset;node=#node#">#rev#:#node#</a></td></tr> |
17 <tr> | 20 <tr> |
18 <td align=right>parent:</td> | 21 <td class=metatag>parent:</td> |
19 <td><a href="?cmd=changeset;node=#p1#">#p1rev#:#p1#</a></td></tr> | 22 <td><a href="?cmd=changeset;node=#p1#">#p1rev#:#p1#</a></td></tr> |
20 </table> | 23 </table> |
21 | 24 |
22 <hr /> | 25 <pre class=parity0> |
23 <pre> | |
24 #diff# | 26 #diff# |
25 </pre> | 27 </pre> |
26 | 28 |
27 </body> | 29 #footer# |
28 </html | |
29 | 30 |
30 | 31 |