templates/header.tmpl
author Matt Mackall <mpm@selenic.com>
Sun, 29 Jan 2006 11:17:54 +1300
changeset 1649 beb7da710c8a
parent 1628 88ad18c16ae5
child 1778 b08b87cecc37
permissions -rw-r--r--
hgweb: fix breakage on manifest subdirs from path cleaning
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>
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
529bf610092e Prettify the web interface
mpm@selenic.com
parents:
diff changeset
     7
<style type="text/css">
583
415054ea31c1 [PATCH] Hide style from non conformant agents
mpm@selenic.com
parents: 172
diff changeset
     8
<!--
142
529bf610092e Prettify the web interface
mpm@selenic.com
parents:
diff changeset
     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
529bf610092e Prettify the web interface
mpm@selenic.com
parents:
diff changeset
    14
.plusline { color: green; }
529bf610092e Prettify the web interface
mpm@selenic.com
parents:
diff changeset
    15
.minusline { color: red; }
529bf610092e Prettify the web interface
mpm@selenic.com
parents:
diff changeset
    16
.atline { color: purple; }
529bf610092e Prettify the web interface
mpm@selenic.com
parents:
diff changeset
    17
.annotate { font-size: smaller; text-align: right; padding-right: 1em; }
529bf610092e Prettify the web interface
mpm@selenic.com
parents:
diff changeset
    18
.buttons a {
529bf610092e Prettify the web interface
mpm@selenic.com
parents:
diff changeset
    19
  background-color: #666666;
529bf610092e Prettify the web interface
mpm@selenic.com
parents:
diff changeset
    20
  padding: 2pt;
529bf610092e Prettify the web interface
mpm@selenic.com
parents:
diff changeset
    21
  color: white;
529bf610092e Prettify the web interface
mpm@selenic.com
parents:
diff changeset
    22
  font-family: sans;
529bf610092e Prettify the web interface
mpm@selenic.com
parents:
diff changeset
    23
  font-weight: bold;
529bf610092e Prettify the web interface
mpm@selenic.com
parents:
diff changeset
    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
529bf610092e Prettify the web interface
mpm@selenic.com
parents:
diff changeset
    32
.metatag {
529bf610092e Prettify the web interface
mpm@selenic.com
parents:
diff changeset
    33
  background-color: #888888;
529bf610092e Prettify the web interface
mpm@selenic.com
parents:
diff changeset
    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
529bf610092e Prettify the web interface
mpm@selenic.com
parents:
diff changeset
    36
}
585
51626d888526 [PATCH] Changelogentry template cleanup
mpm@selenic.com
parents: 583
diff changeset
    37
602
56d81b303656 Various HTML cleanups
mpm@selenic.com
parents: 586
diff changeset
    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
56d81b303656 Various HTML cleanups
mpm@selenic.com
parents: 586
diff changeset
    58
585
51626d888526 [PATCH] Changelogentry template cleanup
mpm@selenic.com
parents: 583
diff changeset
    59
/* Changelog entries */
51626d888526 [PATCH] Changelogentry template cleanup
mpm@selenic.com
parents: 583
diff changeset
    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
51626d888526 [PATCH] Changelogentry template cleanup
mpm@selenic.com
parents: 583
diff changeset
    62
.changelogEntry th.age, .changelogEntry th.firstline { font-weight: bold; }
51626d888526 [PATCH] Changelogentry template cleanup
mpm@selenic.com
parents: 583
diff changeset
    63
.changelogEntry th.firstline { text-align: left; width: inherit; }
586
11578820b5d7 [PATCH] Tags template cleanup
mpm@selenic.com
parents: 585
diff changeset
    64
11578820b5d7 [PATCH] Tags template cleanup
mpm@selenic.com
parents: 585
diff changeset
    65
/* Tag entries */
11578820b5d7 [PATCH] Tags template cleanup
mpm@selenic.com
parents: 585
diff changeset
    66
#tagEntries { list-style: none; margin: 0; padding: 0; }
11578820b5d7 [PATCH] Tags template cleanup
mpm@selenic.com
parents: 585
diff changeset
    67
#tagEntries .tagEntry { list-style: none; margin: 0; padding: 0; }
11578820b5d7 [PATCH] Tags template cleanup
mpm@selenic.com
parents: 585
diff changeset
    68
#tagEntries .tagEntry span.node { font-family: monospace; }
602
56d81b303656 Various HTML cleanups
mpm@selenic.com
parents: 586
diff changeset
    69
56d81b303656 Various HTML cleanups
mpm@selenic.com
parents: 586
diff changeset
    70
/* Changeset entry */
56d81b303656 Various HTML cleanups
mpm@selenic.com
parents: 586
diff changeset
    71
#changesetEntry { }
56d81b303656 Various HTML cleanups
mpm@selenic.com
parents: 586
diff changeset
    72
#changesetEntry th { font-weight: normal; background-color: #888; color: #fff; text-align: right; }
56d81b303656 Various HTML cleanups
mpm@selenic.com
parents: 586
diff changeset
    73
#changesetEntry th.files, #changesetEntry th.description { vertical-align: top; }
56d81b303656 Various HTML cleanups
mpm@selenic.com
parents: 586
diff changeset
    74
56d81b303656 Various HTML cleanups
mpm@selenic.com
parents: 586
diff changeset
    75
/* File diff view */
56d81b303656 Various HTML cleanups
mpm@selenic.com
parents: 586
diff changeset
    76
#filediffEntry { }
56d81b303656 Various HTML cleanups
mpm@selenic.com
parents: 586
diff changeset
    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
529bf610092e Prettify the web interface
mpm@selenic.com
parents:
diff changeset
    80
</style>