# HG changeset patch # User mpm@selenic.com # Date 1120360611 28800 # Node ID 11578820b5d7b958faae86a93735ce01b715b222 # Parent 51626d888526dfba9e732ab402d84d6e77214e37 [PATCH] Tags template cleanup -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 [PATCH] Tags template cleanup From: Edouard Gomez 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----- diff -r 51626d888526 -r 11578820b5d7 templates/header.tmpl --- a/templates/header.tmpl Sat Jul 02 19:15:05 2005 -0800 +++ b/templates/header.tmpl Sat Jul 02 19:16:51 2005 -0800 @@ -31,5 +31,10 @@ .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; } + +/* Tag entries */ +#tagEntries { list-style: none; margin: 0; padding: 0; } +#tagEntries .tagEntry { list-style: none; margin: 0; padding: 0; } +#tagEntries .tagEntry span.node { font-family: monospace; } --> diff -r 51626d888526 -r 11578820b5d7 templates/map --- a/templates/map Sat Jul 02 19:15:05 2005 -0800 +++ b/templates/map Sat Jul 02 19:16:51 2005 -0800 @@ -28,7 +28,7 @@ filerevparent = "parent:#node|short#" fileannotateparent = "parent:#node|short#" tags = tags.tmpl -tagentry = "
#node# #tag#
" +tagentry = "
  • #node# #tag#
  • " diffblock = "
    #lines#
    " changelogtag = "tag: #tag#" changesettag = "tag: #tag#" diff -r 51626d888526 -r 11578820b5d7 templates/tags.tmpl --- a/templates/tags.tmpl Sat Jul 02 19:15:05 2005 -0800 +++ b/templates/tags.tmpl Sat Jul 02 19:16:51 2005 -0800 @@ -10,6 +10,8 @@

    tags:

    + #footer#