# HG changeset patch # User mpm@selenic.com # Date 2005-07-03 03:16:51 # 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 --git a/templates/header.tmpl b/templates/header.tmpl --- a/templates/header.tmpl +++ b/templates/header.tmpl @@ -31,5 +31,10 @@ a { text-decoration:none; } .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 --git a/templates/map b/templates/map --- a/templates/map +++ b/templates/map @@ -28,7 +28,7 @@ changesetparent = "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 --git a/templates/tags.tmpl b/templates/tags.tmpl --- a/templates/tags.tmpl +++ b/templates/tags.tmpl @@ -10,6 +10,8 @@

    tags:

    + #footer#