diff templates/changelogentry.tmpl @ 585:51626d888526

[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-----
author mpm@selenic.com
date Sat, 02 Jul 2005 19:15:05 -0800
parents 2ee819a950aa
children 0843e1bf2b97
line wrap: on
line diff
--- 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 @@
-<div class="parity#parity#">
-<table width="100%" cellpadding="0" cellspacing="0">
-<tr>
- <td align="right" width="15%"><b>#date|age# ago:&nbsp;</b></td>
- <td><b>#desc|firstline|escape#</b></td></tr>
-<tr>
- <td align="right">changeset #rev#:&nbsp;</td>
- <td><a href="?cmd=changeset;node=#node#">#node|short#</a></td></tr>
-#parent#
-#changelogtag#
-<tr>
- <td align="right">author:&nbsp;</td>
- <td>#author|obfuscate#</td></tr>
-<tr>
- <td align="right">date:&nbsp;</td>
- <td>#date|date#</td></tr>
-<tr>
- <td align="right" valign="top"><a href="?cmd=manifest;manifest=#manifest#;path=/">files</a>:&nbsp;</td>
- <td>#files#</td></tr>
-</table>
-</div>
-
+<table class="changelogEntry parity#parity#">
+ <tr>
+  <th class="age">#date|age# ago:</th>
+  <th class="firstline">#desc|firstline|escape#</th>
+ </tr>
+ <tr>
+  <th class="changesetRev">changeset #rev#:</th>
+  <td class="changesetNode"><a href="?cmd=changeset;node=#node#">#node|short#</a></td>
+ </tr>
+ #parent#
+ #changelogtag#
+ <tr>
+  <th class="author">author:</th>
+  <td class="author">#author|obfuscate#</td>
+ </tr>
+ <tr>
+  <th class="date">date:</th>
+  <td class="date">#date|date#</td>
+ </tr>
+ <tr>
+  <th class="files"><a href="?cmd=manifest;manifest=#manifest#;path=/">files</a>:</th>
+  <td class="files">#files#</td>
+ </tr>
+</table>
\ No newline at end of file