##// END OF EJS Templates
spartan: ensure equal heights for file and annotate views...
Martin Geisler -
r8507:decf329f default
parent child Browse files
Show More
@@ -42,8 +42,12 b' filerevision = filerevision.tmpl'
42 fileannotate = fileannotate.tmpl
42 fileannotate = fileannotate.tmpl
43 filediff = filediff.tmpl
43 filediff = filediff.tmpl
44 filelog = filelog.tmpl
44 filelog = filelog.tmpl
45 fileline = '<div class="parity{parity}"><a class="lineno" href="#{lineid}" id="{lineid}">{linenumber}</a>{line|escape}</div>'
45 fileline = '<div class="parity{parity}"><a class="lineno" href="#{lineid}" id="{lineid}">{linenumber}</a>&nbsp;{line|escape}</div>'
46 filelogentry = filelogentry.tmpl
46 filelogentry = filelogentry.tmpl
47
48 # The &nbsp; ensures that all table cells have content (even if there
49 # is an empty line in the annotated file), which in turn ensures that
50 # all table rows have equal height.
47 annotateline = '
51 annotateline = '
48 <tr class="parity{parity}">
52 <tr class="parity{parity}">
49 <td class="annotate">
53 <td class="annotate">
@@ -53,7 +57,7 b" annotateline = '"
53 <td>
57 <td>
54 <a class="lineno" href="#{lineid}" id="{lineid}">{linenumber}</a>
58 <a class="lineno" href="#{lineid}" id="{lineid}">{linenumber}</a>
55 </td>
59 </td>
56 <td><pre>{line|escape}</pre></td>
60 <td><pre>&nbsp;{line|escape}</pre></td>
57 </tr>'
61 </tr>'
58 difflineplus = '<span class="plusline"><a class="lineno" href="#{lineid}" id="{lineid}">{linenumber}</a>{line|escape}</span>'
62 difflineplus = '<span class="plusline"><a class="lineno" href="#{lineid}" id="{lineid}">{linenumber}</a>{line|escape}</span>'
59 difflineminus = '<span class="minusline"><a class="lineno" href="#{lineid}" id="{lineid}">{linenumber}</a>{line|escape}</span>'
63 difflineminus = '<span class="minusline"><a class="lineno" href="#{lineid}" id="{lineid}">{linenumber}</a>{line|escape}</span>'
@@ -5,7 +5,7 b' a { text-decoration:none; }'
5 .parity0 { background-color: #ddd; }
5 .parity0 { background-color: #ddd; }
6 .parity1 { background-color: #eee; }
6 .parity1 { background-color: #eee; }
7 .lineno { width: 60px; color: #aaa; font-size: smaller;
7 .lineno { width: 60px; color: #aaa; font-size: smaller;
8 text-align: right; padding-right:1em; }
8 text-align: right; }
9 .plusline { color: green; }
9 .plusline { color: green; }
10 .minusline { color: red; }
10 .minusline { color: red; }
11 .atline { color: purple; }
11 .atline { color: purple; }
@@ -887,7 +887,7 b' a { text-decoration:none; }'
887 .parity0 { background-color: #ddd; }
887 .parity0 { background-color: #ddd; }
888 .parity1 { background-color: #eee; }
888 .parity1 { background-color: #eee; }
889 .lineno { width: 60px; color: #aaa; font-size: smaller;
889 .lineno { width: 60px; color: #aaa; font-size: smaller;
890 text-align: right; padding-right:1em; }
890 text-align: right; }
891 .plusline { color: green; }
891 .plusline { color: green; }
892 .minusline { color: red; }
892 .minusline { color: red; }
893 .atline { color: purple; }
893 .atline { color: purple; }
General Comments 0
You need to be logged in to leave comments. Login now