Show More
@@ -95,12 +95,12 b' filelog = filelog.tmpl' | |||||
95 | fileline = ' |
|
95 | fileline = ' | |
96 | <span id="{lineid}">{strip(line|escape, '\r\n')}</span><a href="#{lineid}"></a>' |
|
96 | <span id="{lineid}">{strip(line|escape, '\r\n')}</span><a href="#{lineid}"></a>' | |
97 | annotateline = ' |
|
97 | annotateline = ' | |
98 | <tr style="font-family:monospace" class="parity{parity}"> |
|
98 | <tr id="{lineid}" style="font-family:monospace" class="parity{parity}"> | |
99 | <td class="linenr" style="text-align: right;"> |
|
99 | <td class="linenr" style="text-align: right;"> | |
100 | <a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}#l{targetline}" |
|
100 | <a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}#l{targetline}" | |
101 | title="{node|short}: {desc|escape|firstline}">{author|user}@{rev}</a> |
|
101 | title="{node|short}: {desc|escape|firstline}">{author|user}@{rev}</a> | |
102 | </td> |
|
102 | </td> | |
103 |
<td><pre><a class="linenr" href="#{lineid}" |
|
103 | <td><pre><a class="linenr" href="#{lineid}">{linenumber}</a></pre></td> | |
104 | <td><pre>{line|escape}</pre></td> |
|
104 | <td><pre>{line|escape}</pre></td> | |
105 | </tr>' |
|
105 | </tr>' | |
106 | difflineplus = ' |
|
106 | difflineplus = ' | |
@@ -117,9 +117,9 b" comparisonblock ='" | |||||
117 | {lines} |
|
117 | {lines} | |
118 | </tbody>' |
|
118 | </tbody>' | |
119 | comparisonline = ' |
|
119 | comparisonline = ' | |
120 | <tr style="font-family:monospace"> |
|
120 | <tr id="{lineid}" style="font-family:monospace"> | |
121 |
<td class="{type}"><pre><a class="linenr" href="#{lineid}" |
|
121 | <td class="{type}"><pre><a class="linenr" href="#{lineid}">{leftlinenumber}</a> {leftline|escape}</pre></td> | |
122 |
<td class="{type}"><pre><a class="linenr" href="#{lineid}" |
|
122 | <td class="{type}"><pre><a class="linenr" href="#{lineid}">{rightlinenumber}</a> {rightline|escape}</pre></td> | |
123 | </tr>' |
|
123 | </tr>' | |
124 |
|
124 | |||
125 | changelogparent = ' |
|
125 | changelogparent = ' |
@@ -91,13 +91,13 b' filelog = filelog.tmpl' | |||||
91 | fileline = ' |
|
91 | fileline = ' | |
92 | <span id="{lineid}">{strip(line|escape, '\r\n')}</span><a href="#{lineid}"></a>' |
|
92 | <span id="{lineid}">{strip(line|escape, '\r\n')}</span><a href="#{lineid}"></a>' | |
93 | annotateline = ' |
|
93 | annotateline = ' | |
94 | <tr class="parity{parity}"> |
|
94 | <tr id="{lineid}" class="parity{parity}"> | |
95 | <td class="linenr"> |
|
95 | <td class="linenr"> | |
96 | <a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}#l{targetline}" |
|
96 | <a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}#l{targetline}" | |
97 | title="{node|short}: {desc|escape|firstline}">{author|user}@{rev}</a> |
|
97 | title="{node|short}: {desc|escape|firstline}">{author|user}@{rev}</a> | |
98 | </td> |
|
98 | </td> | |
99 | <td class="lineno"> |
|
99 | <td class="lineno"> | |
100 |
<a href="#{lineid}" |
|
100 | <a href="#{lineid}">{linenumber}</a> | |
101 | </td> |
|
101 | </td> | |
102 | <td class="source">{line|escape}</td> |
|
102 | <td class="source">{line|escape}</td> | |
103 | </tr>' |
|
103 | </tr>' | |
@@ -115,9 +115,9 b" comparisonblock ='" | |||||
115 | {lines} |
|
115 | {lines} | |
116 | </tbody>' |
|
116 | </tbody>' | |
117 | comparisonline = ' |
|
117 | comparisonline = ' | |
118 | <tr> |
|
118 | <tr id="{lineid}"> | |
119 |
<td class="source {type}"><a class="linenr" href="#{lineid}" |
|
119 | <td class="source {type}"><a class="linenr" href="#{lineid}">{leftlinenumber}</a> {leftline|escape}</td> | |
120 |
<td class="source {type}"><a class="linenr" href="#{lineid}" |
|
120 | <td class="source {type}"><a class="linenr" href="#{lineid}">{rightlinenumber}</a> {rightline|escape}</td> | |
121 | </tr>' |
|
121 | </tr>' | |
122 |
|
122 | |||
123 | changesetlink = '<a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a>' |
|
123 | changesetlink = '<a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a>' |
@@ -119,6 +119,11 b' pre.sourcelines > a {' | |||||
119 | width: 4em; |
|
119 | width: 4em; | |
120 | height: 1em; |
|
120 | height: 1em; | |
121 | } |
|
121 | } | |
|
122 | tr:target td, | |||
|
123 | pre.sourcelines > span:target, | |||
|
124 | pre.sourcelines.stripes > span:target { | |||
|
125 | background-color: #bfdfff; | |||
|
126 | } | |||
122 |
|
127 | |||
123 | /* Graph */ |
|
128 | /* Graph */ | |
124 | div#wrapper { |
|
129 | div#wrapper { |
@@ -300,6 +300,11 b' pre.sourcelines.stripes > :nth-child(4n+' | |||||
300 | pre.sourcelines.stripes > :nth-child(4n+3) { background-color: #FFFFFF; } |
|
300 | pre.sourcelines.stripes > :nth-child(4n+3) { background-color: #FFFFFF; } | |
301 | pre.sourcelines.stripes > :nth-child(4n+1):hover, |
|
301 | pre.sourcelines.stripes > :nth-child(4n+1):hover, | |
302 | pre.sourcelines.stripes > :nth-child(4n+3):hover { background-color: #D5E1E6; } |
|
302 | pre.sourcelines.stripes > :nth-child(4n+3):hover { background-color: #D5E1E6; } | |
|
303 | tr:target td, | |||
|
304 | pre.sourcelines > span:target, | |||
|
305 | pre.sourcelines.stripes > span:target { | |||
|
306 | background-color: #bfdfff; | |||
|
307 | } | |||
303 |
|
308 | |||
304 | td.source { |
|
309 | td.source { | |
305 | white-space: pre; |
|
310 | white-space: pre; |
@@ -340,7 +340,7 b' static file' | |||||
340 |
|
340 | |||
341 | $ get-with-headers.py --twice localhost:$HGPORT 'static/style-gitweb.css' - date etag server |
|
341 | $ get-with-headers.py --twice localhost:$HGPORT 'static/style-gitweb.css' - date etag server | |
342 | 200 Script output follows |
|
342 | 200 Script output follows | |
343 |
content-length: 6 |
|
343 | content-length: 6379 | |
344 | content-type: text/css |
|
344 | content-type: text/css | |
345 |
|
345 | |||
346 | body { font-family: sans-serif; font-size: 12px; border:solid #d9d8d1; border-width:1px; margin:10px; } |
|
346 | body { font-family: sans-serif; font-size: 12px; border:solid #d9d8d1; border-width:1px; margin:10px; } | |
@@ -464,6 +464,11 b' static file' | |||||
464 | width: 4em; |
|
464 | width: 4em; | |
465 | height: 1em; |
|
465 | height: 1em; | |
466 | } |
|
466 | } | |
|
467 | tr:target td, | |||
|
468 | pre.sourcelines > span:target, | |||
|
469 | pre.sourcelines.stripes > span:target { | |||
|
470 | background-color: #bfdfff; | |||
|
471 | } | |||
467 |
|
472 | |||
468 | /* Graph */ |
|
473 | /* Graph */ | |
469 | div#wrapper { |
|
474 | div#wrapper { |
General Comments 0
You need to be logged in to leave comments.
Login now