Commit Graph

22 Commits

Author SHA1 Message Date
Dirkjan Ochtman
702f1f50b2 hgweb: move HTTP content types out of header templates
This removes the ability for templates to add custom HTTP headers, which can
easily be re-added if someone needs it. Thanks to asak for repeatedly reviewing
this patch and helping to iron out the quirks.
2008-01-22 10:45:55 +01:00
Alexis S. L. Carvalho
b95f1add5a hgweb: allow static files to be served directly by the HTTP server 2007-02-15 08:51:32 -02:00
Matt Mackall
cdbe57fc80 hgweb: report detected character set
Add comments on overriding charset to CGI scripts
2006-12-03 18:47:05 -06:00
Brendan Cully
75729a9251 Update templates to use NewWebInterface 2006-10-04 17:04:40 -07:00
Thomas Arendsen Hein
2b2d4fd5fe Use <link> tag instead if CDATA import for CSS stylesheets. Fixes issue200. 2006-04-25 18:50:40 +02:00
Josef "Jeff" Sipek
50ccddca40 [hgweb] Added favicon to standard/gitweb templates 2006-02-22 01:06:17 -05:00
Josef "Jeff" Sipek
c7fceb5172 [hgweb] Move CSS from headers into static files 2006-02-18 22:01:09 -05:00
Matt Mackall
266a9b9bd7 [hgweb] Prevent search engine bots from indexing the entire repository 2006-01-23 16:36:44 +13:00
TK Soh
3b9b77f616 hgweb: improve look-n-feel of changelog nagivation 2005-10-24 14:53:25 -07:00
Matt Mackall
f36b3ac27d hgweb: add a mercurial link to the footer 2005-10-20 00:26:24 -07:00
TK Soh
d433b1666f hgweb file: fixed left-justified line numbers on IE v6.0
IE (v6.0) seemed to squash the spaces surrounding the line
numbers, making them appeared as left- instead of being
right-justified.

Testing with IE v6.0 and Firefox 1.0.6.
2005-09-23 17:19:35 -07:00
TK Soh
f8b496eeec hgweb: fixed IE display problem on changelog page
IE (v6.0) didn't seemed to comply to the 15% width on the
left column of changelog display.

Tested with IE v6.0 and Firefox 1.0.6.
2005-09-23 17:15:10 -07:00
Thomas Arendsen Hein
455a56454d Cleanup of tabs and trailing spaces. 2005-09-21 07:56:19 +02:00
Edouard Gomez
1a4ff4aee9 More IE friendly diff output related templates.
# HG changeset patch
# User Edouard Gomez <ed.gomez@free.fr>
# Node ID 6eee9b54c53c41643192c7920db642c984a00a21
# Parent  25ad877710029dfa51e14ac88ff498cf0a98c0f2
More IE friendly diff output related templates.

I thought i could use CSS to render properly the diff blocks in IE.
But i was obviously too optmistic and didn't realized that IE only
renders preformated text for pre tag content...

So i had to rollback some of my changes to accomodate to this IE
bug/limitation. A diff blocks become pre tags, and diff lines
become span again. Hopefully, the pages continue validating.
2005-07-10 16:14:28 -08:00
mpm@selenic.com
364654fefb Various HTML cleanups
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Various HTML cleanups

From: Edouard Gomez <ed.gomez@free.fr>

Cleaned up the changeset summary table differentiating title cells
from data cells using th and td. Added semantic classes.

Changed the big pre tag into a div that mimics pre tag style
(that is monospace font and white space preformated). This is
required because pre is an inline element, and thus cannot
be the parent of block elements as div (diffblock). I replaced
all these div blocks by a series ul lists as patches can be
seen as lists of changes in versioned files.

If someone has a better semantic to propose, i'd be pleased he
drops me an email about this patch.

- --

Cleaned up the filediff summary table differentiating title cells
from data cells using th and td. Added semantic classes.

- --

Keep style unchanged for changeset template

As promised no changes in style. This one got through my eyes
+ brain checking... sorry.

manifest hash: 68dd5c1ac71aa6a5932fb209d48df5fc0c78643b
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCyLwfywK+sNU5EO8RAtE9AJ0cxl80eF3zpBWLn8OkoSs7dkZOTgCgtYto
j7T/iRk0Hq4Q0mjdos7FvYU=
=KOP2
-----END PGP SIGNATURE-----
2005-07-03 20:33:35 -08:00
mpm@selenic.com
a6df11250c [PATCH] Tags template cleanup
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[PATCH] Tags template cleanup

From: Edouard Gomez <edouard.gomez@gmail.com>

Tags template cleanup

This page lists all tags, thus using divs doesn't structure well
the information. Better use a list (ul). Each tag becomes a li
element. The li element also carries the parity information.

As font style tags are highly deprecated in newer HTML variants
get rid of the tt element, relaced by a simple span that gets
a CSS class that mimics tt default style (monospaced text)

Added CSS classes required to match old style.

manifest hash: f8943b8270e20966a04111e7205deefedd8b7075
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCx1ijywK+sNU5EO8RAjaAAJoCVaD37YUC6DueL6Kd5D9aoCF8bQCfSWw0
xFVkpEtnr6ST4eyJjR8K17U=
=nphb
-----END PGP SIGNATURE-----
2005-07-02 19:16:51 -08:00
mpm@selenic.com
c2fed80967 [PATCH] Changelogentry template cleanup
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[PATCH] Changelogentry template cleanup
From: Edouard Gomez <edouard.gomez@gmail.com>

Changelogentry template cleanup

Removed unuseful outside div (was probably used to carry the
parity class, it's no use, multiple css classes can be assigned
to the inner table instead)

Removed all hardwired styles in html tags. The style has been
externalized to equivalent CSS classes.

The inner table is now assigned the parity CSS class.

Changed all relevant table cells from td to th.

Added classes to all cells in order to give some semantic rationale
to these table cells.

manifest hash: 2835217df09be445961b865be166c2470173ba58
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCx1g5ywK+sNU5EO8RAhKGAKCWAHrx+lLMAXjd4/vgvG7vmfSkAACfTZ+m
/EyUsDVaYeVcGzFsp8liReI=
=vt2N
-----END PGP SIGNATURE-----
2005-07-02 19:15:05 -08:00
mpm@selenic.com
408332a498 [PATCH] Hide style from non conformant agents
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[PATCH] Hide style from non conformant agents

From: Edouard Gomez <edouard.gomez@gmail.com>

Hide style from non conformant agents

manifest hash: a5bab168fece5c570b84987faee8eed944ce3fab
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCx1cWywK+sNU5EO8RAm9LAKCcVq6I71gE+SR97ebX4hgm3+1L6QCgtUF6
qWADsVpZhU5xVipYn0SpE9Y=
=btY1
-----END PGP SIGNATURE-----
2005-07-02 19:10:14 -08:00
mpm@selenic.com
1dd7e5c920 hgweb: alternating colors for multifile diffs 2005-05-26 20:37:05 -08:00
mpm@selenic.com
546aa0fdbb hgweb: add tags links and manifest links
This adds a simple new tags page to browse by tag, adds the tag link
everywhere, and adds manifest links to the tags and changelog pages.
2005-05-26 12:24:01 -08:00
jake@edge2.net
579f538a2d fixed problem with head/body tags, added dtd, fixed table attributes
add quotes around all attributes (w3c recommendation)
pages pass w3c validator
2005-05-24 16:08:09 -07:00
mpm@selenic.com
e4397937b5 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
2005-05-23 20:57:48 -08:00