Mercurial > hg > mercurial-crew-with-dirclash
annotate templates/header.tmpl @ 1410:17703aa4491e
hgweb: shorten all the URLs in the standard templates
A URL like this:
http://www.selenic.com/hg/?cmd=changeset;node=5010207c35273ac1331cae44c253dd41fa07cb7f
is now presented as:
http://www.selenic.com/hg/?cs=5010207c352
(though the old style still works, of course)
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Tue, 18 Oct 2005 23:08:35 -0700 |
parents | 8c094fb47b59 |
children | 90b62337f8dd |
rev | line source |
---|---|
142 | 1 Content-type: text/html |
2 | |
154
1d5f799ebe1e
fixed problem with head/body tags, added dtd, fixed table attributes
jake@edge2.net
parents:
142
diff
changeset
|
3 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
142 | 4 <html> |
5 <head> | |
6 <style type="text/css"> | |
583
415054ea31c1
[PATCH] Hide style from non conformant agents
mpm@selenic.com
parents:
172
diff
changeset
|
7 <!-- |
142 | 8 a { text-decoration:none; } |
172
e9b1147db448
hgweb: alternating colors for multifile diffs
mpm@selenic.com
parents:
168
diff
changeset
|
9 .parity0 { background-color: #dddddd; } |
e9b1147db448
hgweb: alternating colors for multifile diffs
mpm@selenic.com
parents:
168
diff
changeset
|
10 .parity1 { background-color: #eeeeee; } |
1336
8c094fb47b59
hgweb file: fixed left-justified line numbers on IE v6.0
TK Soh <teekaysoh@yahoo.com>
parents:
1334
diff
changeset
|
11 .lineno { width: 60px; color: #aaaaaa; font-size: smaller; |
8c094fb47b59
hgweb file: fixed left-justified line numbers on IE v6.0
TK Soh <teekaysoh@yahoo.com>
parents:
1334
diff
changeset
|
12 text-align: right; padding-right:1em; } |
142 | 13 .plusline { color: green; } |
14 .minusline { color: red; } | |
15 .atline { color: purple; } | |
16 .annotate { font-size: smaller; text-align: right; padding-right: 1em; } | |
17 .buttons a { | |
18 background-color: #666666; | |
19 padding: 2pt; | |
20 color: white; | |
21 font-family: sans; | |
22 font-weight: bold; | |
23 } | |
24 .metatag { | |
25 background-color: #888888; | |
26 color: white; | |
1308
2073e5a71008
Cleanup of tabs and trailing spaces.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
672
diff
changeset
|
27 text-align: right; |
142 | 28 } |
585 | 29 |
602 | 30 /* Common */ |
672
dbe0ce2ae196
More IE friendly diff output related templates.
Edouard Gomez <ed.gomez@free.fr>
parents:
602
diff
changeset
|
31 pre { margin: 0; } |
dbe0ce2ae196
More IE friendly diff output related templates.
Edouard Gomez <ed.gomez@free.fr>
parents:
602
diff
changeset
|
32 |
602 | 33 |
585 | 34 /* Changelog entries */ |
35 .changelogEntry { width: 100%; } | |
1334
0843e1bf2b97
hgweb: fixed IE display problem on changelog page
TK Soh <teekaysoh@yahoo.com>
parents:
1308
diff
changeset
|
36 .changelogEntry th { font-weight: normal; text-align: right; vertical-align: top; } |
585 | 37 .changelogEntry th.age, .changelogEntry th.firstline { font-weight: bold; } |
38 .changelogEntry th.firstline { text-align: left; width: inherit; } | |
586 | 39 |
40 /* Tag entries */ | |
41 #tagEntries { list-style: none; margin: 0; padding: 0; } | |
42 #tagEntries .tagEntry { list-style: none; margin: 0; padding: 0; } | |
43 #tagEntries .tagEntry span.node { font-family: monospace; } | |
602 | 44 |
45 /* Changeset entry */ | |
46 #changesetEntry { } | |
47 #changesetEntry th { font-weight: normal; background-color: #888; color: #fff; text-align: right; } | |
48 #changesetEntry th.files, #changesetEntry th.description { vertical-align: top; } | |
49 | |
50 /* File diff view */ | |
51 #filediffEntry { } | |
52 #filediffEntry th { font-weight: normal; background-color: #888; color: #fff; text-align: right; } | |
672
dbe0ce2ae196
More IE friendly diff output related templates.
Edouard Gomez <ed.gomez@free.fr>
parents:
602
diff
changeset
|
53 |
583
415054ea31c1
[PATCH] Hide style from non conformant agents
mpm@selenic.com
parents:
172
diff
changeset
|
54 --> |
142 | 55 </style> |