Mercurial > hg
comparison templates/gitweb/map @ 3353:2edf53386d86
gitweb: add file diff view
author | Brendan Cully <brendan@kublai.com> |
---|---|
date | Wed, 11 Oct 2006 16:19:11 -0700 |
parents | 0708bdb4987a |
children | fddb0ab6d307 |
comparison
equal
deleted
inserted
replaced
3351:04fa31a43b93 | 3353:2edf53386d86 |
---|---|
6 summary = summary.tmpl | 6 summary = summary.tmpl |
7 error = error.tmpl | 7 error = error.tmpl |
8 naventry = '<a href="#url#log/#rev#{getentries}">#label|escape#</a> ' | 8 naventry = '<a href="#url#log/#rev#{getentries}">#label|escape#</a> ' |
9 navshortentry = '<a href="#url#shortlog/#rev#{getentries}">#label|escape#</a> ' | 9 navshortentry = '<a href="#url#shortlog/#rev#{getentries}">#label|escape#</a> ' |
10 filedifflink = '<a href="#url#diff/#node|short#/#file|urlescape#{getentries}">#file|escape#</a> ' | 10 filedifflink = '<a href="#url#diff/#node|short#/#file|urlescape#{getentries}">#file|escape#</a> ' |
11 filenodelink = '<tr class="parity#parity#"><td><a class="list" href="">#file|escape#</a></td><td></td><td class="link"><a href="#url#file/#node|short#/#file|urlescape#{getentries}">file</a> | <a href="#url#annotate/#node|short#/#file|urlescape#{getentries}">annotate</a> <!-- FIX ME | <a href="#url#diff/#node|short#/#file|urlescape#{getentries}">diff</a> --> | <a href="#url#log/#node|short#/#file|urlescape#{getentries}">revisions</a></td></tr>' | 11 filenodelink = '<tr class="parity#parity#"><td><a class="list" href="">#file|escape#</a></td><td></td><td class="link"><a href="#url#file/#node|short#/#file|urlescape#{getentries}">file</a> | <a href="#url#annotate/#node|short#/#file|urlescape#{getentries}">annotate</a> | <a href="#url#diff/#node|short#/#file|urlescape#{getentries}">diff</a> | <a href="#url#log/#node|short#/#file|urlescape#{getentries}">revisions</a></td></tr>' |
12 fileellipses = '...' | 12 fileellipses = '...' |
13 changelogentry = changelogentry.tmpl | 13 changelogentry = changelogentry.tmpl |
14 searchentry = changelogentry.tmpl | 14 searchentry = changelogentry.tmpl |
15 changeset = changeset.tmpl | 15 changeset = changeset.tmpl |
16 manifest = manifest.tmpl | 16 manifest = manifest.tmpl |
17 manifestdirentry = '<tr class="parity#parity#"><td style="font-family:monospace">drwxr-xr-x</td><td style="font-family:monospace"></td><td><a href="#url#file/#node|short##path|urlescape#{getentries}">#basename|escape#/</a></td><td class="link"><a href="#url#file/#node|short##path|urlescape#{getentries}">manifest</a></td></tr>' | 17 manifestdirentry = '<tr class="parity#parity#"><td style="font-family:monospace">drwxr-xr-x</td><td style="font-family:monospace"></td><td><a href="#url#file/#node|short##path|urlescape#{getentries}">#basename|escape#/</a></td><td class="link"><a href="#url#file/#node|short##path|urlescape#{getentries}">manifest</a></td></tr>' |
18 manifestfileentry = '<tr class="parity#parity#"><td style="font-family:monospace">#permissions|permissions#</td><td style="font-family:monospace" align=right>#size#</td><td class="list"><a class="list" href="#url#file/#node|short#/#file|urlescape#{getentries}">#basename|escape#</a></td><td class="link"><a href="#url#file/#node|short#/#file|urlescape#{getentries}">file</a> | <a href="#url#log/#node|short#/#file|urlescape#{getentries}">revisions</a> | <a href="#url#annotate/#node|short#/#file|urlescape#{getentries}">annotate</a></td></tr>' | 18 manifestfileentry = '<tr class="parity#parity#"><td style="font-family:monospace">#permissions|permissions#</td><td style="font-family:monospace" align=right>#size#</td><td class="list"><a class="list" href="#url#file/#node|short#/#file|urlescape#{getentries}">#basename|escape#</a></td><td class="link"><a href="#url#file/#node|short#/#file|urlescape#{getentries}">file</a> | <a href="#url#log/#node|short#/#file|urlescape#{getentries}">revisions</a> | <a href="#url#annotate/#node|short#/#file|urlescape#{getentries}">annotate</a></td></tr>' |
19 filerevision = filerevision.tmpl | 19 filerevision = filerevision.tmpl |
20 fileannotate = fileannotate.tmpl | 20 fileannotate = fileannotate.tmpl |
21 filediff = filediff.tmpl | |
21 filelog = filelog.tmpl | 22 filelog = filelog.tmpl |
22 fileline = '<div style="font-family:monospace" class="parity#parity#"><pre><span class="linenr"> #linenumber#</span> #line|escape#</pre></div>' | 23 fileline = '<div style="font-family:monospace" class="parity#parity#"><pre><span class="linenr"> #linenumber#</span> #line|escape#</pre></div>' |
23 annotateline = '<tr style="font-family:monospace" class="parity#parity#"><td class="linenr" style="text-align: right;"><a href="#url#annotate/#node|short#/#file|urlescape#{getentries}">#author|obfuscate#@#rev#</a></td><td><pre>#line|escape#</pre></td></tr>' | 24 annotateline = '<tr style="font-family:monospace" class="parity#parity#"><td class="linenr" style="text-align: right;"><a href="#url#annotate/#node|short#/#file|urlescape#{getentries}">#author|obfuscate#@#rev#</a></td><td><pre>#line|escape#</pre></td></tr>' |
24 difflineplus = '<div style="color:#008800;">#line|escape#</div>' | 25 difflineplus = '<div style="color:#008800;">#line|escape#</div>' |
25 difflineminus = '<div style="color:#cc0000;">#line|escape#</div>' | 26 difflineminus = '<div style="color:#cc0000;">#line|escape#</div>' |