templates/header.tmpl
author Matt Mackall <mpm@selenic.com>
Thu, 20 Oct 2005 00:26:24 -0700
changeset 1417 90b62337f8dd
parent 1336 8c094fb47b59
child 1425 8fe4116b3253
permissions -rw-r--r--
hgweb: add a mercurial link to the footer
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
142
529bf610092e Prettify the web interface
mpm@selenic.com
parents:
diff changeset
     1
Content-type: text/html
529bf610092e Prettify the web interface
mpm@selenic.com
parents:
diff changeset
     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
529bf610092e Prettify the web interface
mpm@selenic.com
parents:
diff changeset
     4
<html>
529bf610092e Prettify the web interface
mpm@selenic.com
parents:
diff changeset
     5
<head>
529bf610092e Prettify the web interface
mpm@selenic.com
parents:
diff changeset
     6
<style type="text/css">
583
415054ea31c1 [PATCH] Hide style from non conformant agents
mpm@selenic.com
parents: 172
diff changeset
     7
<!--
142
529bf610092e Prettify the web interface
mpm@selenic.com
parents:
diff changeset
     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
529bf610092e Prettify the web interface
mpm@selenic.com
parents:
diff changeset
    13
.plusline { color: green; }
529bf610092e Prettify the web interface
mpm@selenic.com
parents:
diff changeset
    14
.minusline { color: red; }
529bf610092e Prettify the web interface
mpm@selenic.com
parents:
diff changeset
    15
.atline { color: purple; }
529bf610092e Prettify the web interface
mpm@selenic.com
parents:
diff changeset
    16
.annotate { font-size: smaller; text-align: right; padding-right: 1em; }
529bf610092e Prettify the web interface
mpm@selenic.com
parents:
diff changeset
    17
.buttons a {
529bf610092e Prettify the web interface
mpm@selenic.com
parents:
diff changeset
    18
  background-color: #666666;
529bf610092e Prettify the web interface
mpm@selenic.com
parents:
diff changeset
    19
  padding: 2pt;
529bf610092e Prettify the web interface
mpm@selenic.com
parents:
diff changeset
    20
  color: white;
529bf610092e Prettify the web interface
mpm@selenic.com
parents:
diff changeset
    21
  font-family: sans;
529bf610092e Prettify the web interface
mpm@selenic.com
parents:
diff changeset
    22
  font-weight: bold;
529bf610092e Prettify the web interface
mpm@selenic.com
parents:
diff changeset
    23
}
1417
90b62337f8dd hgweb: add a mercurial link to the footer
Matt Mackall <mpm@selenic.com>
parents: 1336
diff changeset
    24
142
529bf610092e Prettify the web interface
mpm@selenic.com
parents:
diff changeset
    25
.metatag {
529bf610092e Prettify the web interface
mpm@selenic.com
parents:
diff changeset
    26
  background-color: #888888;
529bf610092e Prettify the web interface
mpm@selenic.com
parents:
diff changeset
    27
  color: white;
1308
2073e5a71008 Cleanup of tabs and trailing spaces.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 672
diff changeset
    28
  text-align: right;
142
529bf610092e Prettify the web interface
mpm@selenic.com
parents:
diff changeset
    29
}
585
51626d888526 [PATCH] Changelogentry template cleanup
mpm@selenic.com
parents: 583
diff changeset
    30
602
56d81b303656 Various HTML cleanups
mpm@selenic.com
parents: 586
diff changeset
    31
/* Common */
672
dbe0ce2ae196 More IE friendly diff output related templates.
Edouard Gomez <ed.gomez@free.fr>
parents: 602
diff changeset
    32
pre { margin: 0; }
dbe0ce2ae196 More IE friendly diff output related templates.
Edouard Gomez <ed.gomez@free.fr>
parents: 602
diff changeset
    33
1417
90b62337f8dd hgweb: add a mercurial link to the footer
Matt Mackall <mpm@selenic.com>
parents: 1336
diff changeset
    34
.logo {
90b62337f8dd hgweb: add a mercurial link to the footer
Matt Mackall <mpm@selenic.com>
parents: 1336
diff changeset
    35
  background-color: #333;
90b62337f8dd hgweb: add a mercurial link to the footer
Matt Mackall <mpm@selenic.com>
parents: 1336
diff changeset
    36
  padding: 4pt;
90b62337f8dd hgweb: add a mercurial link to the footer
Matt Mackall <mpm@selenic.com>
parents: 1336
diff changeset
    37
  margin: 8pt 0 8pt 8pt;
90b62337f8dd hgweb: add a mercurial link to the footer
Matt Mackall <mpm@selenic.com>
parents: 1336
diff changeset
    38
  font-family: sans;
90b62337f8dd hgweb: add a mercurial link to the footer
Matt Mackall <mpm@selenic.com>
parents: 1336
diff changeset
    39
  font-size: 60%;
90b62337f8dd hgweb: add a mercurial link to the footer
Matt Mackall <mpm@selenic.com>
parents: 1336
diff changeset
    40
  color: white;
90b62337f8dd hgweb: add a mercurial link to the footer
Matt Mackall <mpm@selenic.com>
parents: 1336
diff changeset
    41
  float: right;
90b62337f8dd hgweb: add a mercurial link to the footer
Matt Mackall <mpm@selenic.com>
parents: 1336
diff changeset
    42
  clear: right;
90b62337f8dd hgweb: add a mercurial link to the footer
Matt Mackall <mpm@selenic.com>
parents: 1336
diff changeset
    43
  text-align: left;
90b62337f8dd hgweb: add a mercurial link to the footer
Matt Mackall <mpm@selenic.com>
parents: 1336
diff changeset
    44
}
90b62337f8dd hgweb: add a mercurial link to the footer
Matt Mackall <mpm@selenic.com>
parents: 1336
diff changeset
    45
90b62337f8dd hgweb: add a mercurial link to the footer
Matt Mackall <mpm@selenic.com>
parents: 1336
diff changeset
    46
.logo a {
90b62337f8dd hgweb: add a mercurial link to the footer
Matt Mackall <mpm@selenic.com>
parents: 1336
diff changeset
    47
  font-weight: bold;
90b62337f8dd hgweb: add a mercurial link to the footer
Matt Mackall <mpm@selenic.com>
parents: 1336
diff changeset
    48
  font-size: 150%; 
90b62337f8dd hgweb: add a mercurial link to the footer
Matt Mackall <mpm@selenic.com>
parents: 1336
diff changeset
    49
  color: #999;
90b62337f8dd hgweb: add a mercurial link to the footer
Matt Mackall <mpm@selenic.com>
parents: 1336
diff changeset
    50
}
602
56d81b303656 Various HTML cleanups
mpm@selenic.com
parents: 586
diff changeset
    51
585
51626d888526 [PATCH] Changelogentry template cleanup
mpm@selenic.com
parents: 583
diff changeset
    52
/* Changelog entries */
51626d888526 [PATCH] Changelogentry template cleanup
mpm@selenic.com
parents: 583
diff changeset
    53
.changelogEntry { width: 100%; }
1334
0843e1bf2b97 hgweb: fixed IE display problem on changelog page
TK Soh <teekaysoh@yahoo.com>
parents: 1308
diff changeset
    54
.changelogEntry th { font-weight: normal; text-align: right; vertical-align: top; }
585
51626d888526 [PATCH] Changelogentry template cleanup
mpm@selenic.com
parents: 583
diff changeset
    55
.changelogEntry th.age, .changelogEntry th.firstline { font-weight: bold; }
51626d888526 [PATCH] Changelogentry template cleanup
mpm@selenic.com
parents: 583
diff changeset
    56
.changelogEntry th.firstline { text-align: left; width: inherit; }
586
11578820b5d7 [PATCH] Tags template cleanup
mpm@selenic.com
parents: 585
diff changeset
    57
11578820b5d7 [PATCH] Tags template cleanup
mpm@selenic.com
parents: 585
diff changeset
    58
/* Tag entries */
11578820b5d7 [PATCH] Tags template cleanup
mpm@selenic.com
parents: 585
diff changeset
    59
#tagEntries { list-style: none; margin: 0; padding: 0; }
11578820b5d7 [PATCH] Tags template cleanup
mpm@selenic.com
parents: 585
diff changeset
    60
#tagEntries .tagEntry { list-style: none; margin: 0; padding: 0; }
11578820b5d7 [PATCH] Tags template cleanup
mpm@selenic.com
parents: 585
diff changeset
    61
#tagEntries .tagEntry span.node { font-family: monospace; }
602
56d81b303656 Various HTML cleanups
mpm@selenic.com
parents: 586
diff changeset
    62
56d81b303656 Various HTML cleanups
mpm@selenic.com
parents: 586
diff changeset
    63
/* Changeset entry */
56d81b303656 Various HTML cleanups
mpm@selenic.com
parents: 586
diff changeset
    64
#changesetEntry { }
56d81b303656 Various HTML cleanups
mpm@selenic.com
parents: 586
diff changeset
    65
#changesetEntry th { font-weight: normal; background-color: #888; color: #fff; text-align: right; }
56d81b303656 Various HTML cleanups
mpm@selenic.com
parents: 586
diff changeset
    66
#changesetEntry th.files, #changesetEntry th.description { vertical-align: top; }
56d81b303656 Various HTML cleanups
mpm@selenic.com
parents: 586
diff changeset
    67
56d81b303656 Various HTML cleanups
mpm@selenic.com
parents: 586
diff changeset
    68
/* File diff view */
56d81b303656 Various HTML cleanups
mpm@selenic.com
parents: 586
diff changeset
    69
#filediffEntry { }
56d81b303656 Various HTML cleanups
mpm@selenic.com
parents: 586
diff changeset
    70
#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
    71
583
415054ea31c1 [PATCH] Hide style from non conformant agents
mpm@selenic.com
parents: 172
diff changeset
    72
-->
142
529bf610092e Prettify the web interface
mpm@selenic.com
parents:
diff changeset
    73
</style>