Mercurial > hg > mercurial-crew-with-dirclash
annotate templates/header.tmpl @ 1721:801756d0ca84
add pretxncommit hook.
hook allows check of changeset after create, but before transaction
is committed. hook failure rolls transaction back.
makes place for local policies like commit message must contain bug id
or reviewer signoff.
change also adds parent changeset ids to commit hook environment,
because is cheap and useful.
author | Vadim Gelfer <vadim.gelfer@gmail.com> |
---|---|
date | Tue, 14 Feb 2006 17:13:18 -0800 |
parents | 88ad18c16ae5 |
children | b08b87cecc37 |
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> | |
1628
88ad18c16ae5
[hgweb] Prevent search engine bots from indexing the entire repository
Matt Mackall <mpm@selenic.com>
parents:
1425
diff
changeset
|
6 <meta name="robots" content="index, nofollow" /> |
142 | 7 <style type="text/css"> |
583
415054ea31c1
[PATCH] Hide style from non conformant agents
mpm@selenic.com
parents:
172
diff
changeset
|
8 <!-- |
142 | 9 a { text-decoration:none; } |
172
e9b1147db448
hgweb: alternating colors for multifile diffs
mpm@selenic.com
parents:
168
diff
changeset
|
10 .parity0 { background-color: #dddddd; } |
e9b1147db448
hgweb: alternating colors for multifile diffs
mpm@selenic.com
parents:
168
diff
changeset
|
11 .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
|
12 .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
|
13 text-align: right; padding-right:1em; } |
142 | 14 .plusline { color: green; } |
15 .minusline { color: red; } | |
16 .atline { color: purple; } | |
17 .annotate { font-size: smaller; text-align: right; padding-right: 1em; } | |
18 .buttons a { | |
19 background-color: #666666; | |
20 padding: 2pt; | |
21 color: white; | |
22 font-family: sans; | |
23 font-weight: bold; | |
24 } | |
1425
8fe4116b3253
hgweb: improve look-n-feel of changelog nagivation
TK Soh <teekaysoh@yahoo.com>
parents:
1417
diff
changeset
|
25 .navigate a { |
8fe4116b3253
hgweb: improve look-n-feel of changelog nagivation
TK Soh <teekaysoh@yahoo.com>
parents:
1417
diff
changeset
|
26 background-color: #ccc; |
8fe4116b3253
hgweb: improve look-n-feel of changelog nagivation
TK Soh <teekaysoh@yahoo.com>
parents:
1417
diff
changeset
|
27 padding: 2pt; |
8fe4116b3253
hgweb: improve look-n-feel of changelog nagivation
TK Soh <teekaysoh@yahoo.com>
parents:
1417
diff
changeset
|
28 font-family: sans; |
8fe4116b3253
hgweb: improve look-n-feel of changelog nagivation
TK Soh <teekaysoh@yahoo.com>
parents:
1417
diff
changeset
|
29 color: black; |
8fe4116b3253
hgweb: improve look-n-feel of changelog nagivation
TK Soh <teekaysoh@yahoo.com>
parents:
1417
diff
changeset
|
30 } |
1417
90b62337f8dd
hgweb: add a mercurial link to the footer
Matt Mackall <mpm@selenic.com>
parents:
1336
diff
changeset
|
31 |
142 | 32 .metatag { |
33 background-color: #888888; | |
34 color: white; | |
1308
2073e5a71008
Cleanup of tabs and trailing spaces.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
672
diff
changeset
|
35 text-align: right; |
142 | 36 } |
585 | 37 |
602 | 38 /* Common */ |
672
dbe0ce2ae196
More IE friendly diff output related templates.
Edouard Gomez <ed.gomez@free.fr>
parents:
602
diff
changeset
|
39 pre { margin: 0; } |
dbe0ce2ae196
More IE friendly diff output related templates.
Edouard Gomez <ed.gomez@free.fr>
parents:
602
diff
changeset
|
40 |
1417
90b62337f8dd
hgweb: add a mercurial link to the footer
Matt Mackall <mpm@selenic.com>
parents:
1336
diff
changeset
|
41 .logo { |
90b62337f8dd
hgweb: add a mercurial link to the footer
Matt Mackall <mpm@selenic.com>
parents:
1336
diff
changeset
|
42 background-color: #333; |
90b62337f8dd
hgweb: add a mercurial link to the footer
Matt Mackall <mpm@selenic.com>
parents:
1336
diff
changeset
|
43 padding: 4pt; |
90b62337f8dd
hgweb: add a mercurial link to the footer
Matt Mackall <mpm@selenic.com>
parents:
1336
diff
changeset
|
44 margin: 8pt 0 8pt 8pt; |
90b62337f8dd
hgweb: add a mercurial link to the footer
Matt Mackall <mpm@selenic.com>
parents:
1336
diff
changeset
|
45 font-family: sans; |
90b62337f8dd
hgweb: add a mercurial link to the footer
Matt Mackall <mpm@selenic.com>
parents:
1336
diff
changeset
|
46 font-size: 60%; |
90b62337f8dd
hgweb: add a mercurial link to the footer
Matt Mackall <mpm@selenic.com>
parents:
1336
diff
changeset
|
47 color: white; |
90b62337f8dd
hgweb: add a mercurial link to the footer
Matt Mackall <mpm@selenic.com>
parents:
1336
diff
changeset
|
48 float: right; |
90b62337f8dd
hgweb: add a mercurial link to the footer
Matt Mackall <mpm@selenic.com>
parents:
1336
diff
changeset
|
49 clear: right; |
90b62337f8dd
hgweb: add a mercurial link to the footer
Matt Mackall <mpm@selenic.com>
parents:
1336
diff
changeset
|
50 text-align: left; |
90b62337f8dd
hgweb: add a mercurial link to the footer
Matt Mackall <mpm@selenic.com>
parents:
1336
diff
changeset
|
51 } |
90b62337f8dd
hgweb: add a mercurial link to the footer
Matt Mackall <mpm@selenic.com>
parents:
1336
diff
changeset
|
52 |
90b62337f8dd
hgweb: add a mercurial link to the footer
Matt Mackall <mpm@selenic.com>
parents:
1336
diff
changeset
|
53 .logo a { |
90b62337f8dd
hgweb: add a mercurial link to the footer
Matt Mackall <mpm@selenic.com>
parents:
1336
diff
changeset
|
54 font-weight: bold; |
90b62337f8dd
hgweb: add a mercurial link to the footer
Matt Mackall <mpm@selenic.com>
parents:
1336
diff
changeset
|
55 font-size: 150%; |
90b62337f8dd
hgweb: add a mercurial link to the footer
Matt Mackall <mpm@selenic.com>
parents:
1336
diff
changeset
|
56 color: #999; |
90b62337f8dd
hgweb: add a mercurial link to the footer
Matt Mackall <mpm@selenic.com>
parents:
1336
diff
changeset
|
57 } |
602 | 58 |
585 | 59 /* Changelog entries */ |
60 .changelogEntry { width: 100%; } | |
1334
0843e1bf2b97
hgweb: fixed IE display problem on changelog page
TK Soh <teekaysoh@yahoo.com>
parents:
1308
diff
changeset
|
61 .changelogEntry th { font-weight: normal; text-align: right; vertical-align: top; } |
585 | 62 .changelogEntry th.age, .changelogEntry th.firstline { font-weight: bold; } |
63 .changelogEntry th.firstline { text-align: left; width: inherit; } | |
586 | 64 |
65 /* Tag entries */ | |
66 #tagEntries { list-style: none; margin: 0; padding: 0; } | |
67 #tagEntries .tagEntry { list-style: none; margin: 0; padding: 0; } | |
68 #tagEntries .tagEntry span.node { font-family: monospace; } | |
602 | 69 |
70 /* Changeset entry */ | |
71 #changesetEntry { } | |
72 #changesetEntry th { font-weight: normal; background-color: #888; color: #fff; text-align: right; } | |
73 #changesetEntry th.files, #changesetEntry th.description { vertical-align: top; } | |
74 | |
75 /* File diff view */ | |
76 #filediffEntry { } | |
77 #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
|
78 |
583
415054ea31c1
[PATCH] Hide style from non conformant agents
mpm@selenic.com
parents:
172
diff
changeset
|
79 --> |
142 | 80 </style> |