Mercurial > hg > mercurial-crew-with-dirclash
diff templates/header.tmpl @ 142:529bf610092e
Prettify the web interface
Add header, footer templates
Add null parent handling
Combine files and directories
Add parity flag for alternating line colors
Add line numbers to filerevision
author | mpm@selenic.com |
---|---|
date | Mon, 23 May 2005 20:57:48 -0800 |
parents | |
children | 1d5f799ebe1e 083c38bdfa64 |
line wrap: on
line diff
new file mode 100644 --- /dev/null +++ b/templates/header.tmpl @@ -0,0 +1,31 @@ +Content-type: text/html + +<html> +<head> +</head> +<style type="text/css"> +a { text-decoration:none; } +.parity0 { background-color: #eeeeee; } +.parity1 { background-color: #ffffff; } +.lineno { width: 60px; color: #cccccc; font-size: smaller; } +.plusline { color: green; } +.minusline { color: red; } +.atline { color: purple; } +.annotate { font-size: smaller; text-align: right; padding-right: 1em; } +.buttons a { + background-color: #666666; + padding: 2pt; + color: white; + font-family: sans; + font-weight: bold; +} +.metatag { + background-color: #888888; + color: white; + text-align: right; +} + +</style> +</head> +<body> +