# HG changeset patch # User mpm@selenic.com # Date 1120360505 28800 # Node ID 51626d888526dfba9e732ab402d84d6e77214e37 # Parent 9bdf5ae63d1f58a01ee7a2e8ea3d3b24f42cfb87 [PATCH] Changelogentry template cleanup -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 [PATCH] Changelogentry template cleanup From: Edouard Gomez 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----- diff -r 9bdf5ae63d1f -r 51626d888526 templates/changelogentry.tmpl --- a/templates/changelogentry.tmpl Sat Jul 02 19:13:33 2005 -0800 +++ b/templates/changelogentry.tmpl Sat Jul 02 19:15:05 2005 -0800 @@ -1,22 +1,24 @@ -
- - - - - - - -#parent# -#changelogtag# - - - - - - - - - -
#date|age# ago: #desc|firstline|escape#
changeset #rev#: #node|short#
author: #author|obfuscate#
date: #date|date#
files#files#
-
- + + + + + + + + + + #parent# + #changelogtag# + + + + + + + + + + + + +
#date|age# ago:#desc|firstline|escape#
changeset #rev#:#node|short#
author:#author|obfuscate#
date:#date|date#
files:#files#
\ No newline at end of file diff -r 9bdf5ae63d1f -r 51626d888526 templates/header.tmpl --- a/templates/header.tmpl Sat Jul 02 19:13:33 2005 -0800 +++ b/templates/header.tmpl Sat Jul 02 19:15:05 2005 -0800 @@ -25,5 +25,11 @@ color: white; text-align: right; } + +/* Changelog entries */ +.changelogEntry { width: 100%; } +.changelogEntry th { font-weight: normal; text-align: right; vertical-align: top; width: 15%;} +.changelogEntry th.age, .changelogEntry th.firstline { font-weight: bold; } +.changelogEntry th.firstline { text-align: left; width: inherit; } --> diff -r 9bdf5ae63d1f -r 51626d888526 templates/map --- a/templates/map Sat Jul 02 19:13:33 2005 -0800 +++ b/templates/map Sat Jul 02 19:15:05 2005 -0800 @@ -23,7 +23,7 @@ difflineminus = "#line|escape#" difflineat = "#line|escape#" diffline = "#line|escape#" -changelogparent = "parent #rev#: #node|short#" +changelogparent = "parent #rev#:#node|short#" changesetparent = "parent #rev#:#node|short#" filerevparent = "parent:#node|short#" fileannotateparent = "parent:#node|short#"