Mercurial > hg > mercurial-crew-with-dirclash
annotate templates/changeset.tmpl @ 602:56d81b303656
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-----
author | mpm@selenic.com |
---|---|
date | Sun, 03 Jul 2005 20:33:35 -0800 |
parents | 2ee819a950aa |
children | dbe0ce2ae196 |
rev | line source |
---|---|
142 | 1 #header# |
375 | 2 <title>#repo|escape#: changeset #node|short#</title> |
142 | 3 </head> |
4 <body> | |
138 | 5 |
154
1d5f799ebe1e
fixed problem with head/body tags, added dtd, fixed table attributes
jake@edge2.net
parents:
153
diff
changeset
|
6 <div class="buttons"> |
153
e8a360cd5a9f
changed pos to rev for changelog cmd, changed & to ;
jake@edge2.net
parents:
142
diff
changeset
|
7 <a href="?cmd=changelog;rev=#rev#">changelog</a> |
168 | 8 <a href="?cmd=tags">tags</a> |
138 | 9 <a href="?cmd=manifest;manifest=#manifest#;path=/">manifest</a> |
201
f918a6fa2572
hgweb: add template filters, template style maps, and raw pages
mpm@selenic.com
parents:
172
diff
changeset
|
10 <a href="?cmd=changeset;node=#node#;style=raw">raw</a> |
142 | 11 </div> |
138 | 12 |
201
f918a6fa2572
hgweb: add template filters, template style maps, and raw pages
mpm@selenic.com
parents:
172
diff
changeset
|
13 <h2>changeset: #desc|escape|firstline#</h2> |
138 | 14 |
602 | 15 <table id="changesetEntry"> |
138 | 16 <tr> |
602 | 17 <th class="changeset">changeset #rev#:</th> |
18 <td class="changeset"><a href="?cmd=changeset;node=#node#">#node|short#</a></td> | |
19 </tr> | |
570
2ee819a950aa
[PATCH 2/5]: cleaning the template parent management in hgweb
mpm@selenic.com
parents:
568
diff
changeset
|
20 #parent# |
568 | 21 #changesettag# |
138 | 22 <tr> |
602 | 23 <th class="manifest">manifest:</th> |
24 <td class="manifest"><a href="?cmd=manifest;manifest=#manifest#;path=/">#manifest|short#</a></td> | |
25 </tr> | |
138 | 26 <tr> |
602 | 27 <th class="author">author:</th> |
28 <td class="author">#author|obfuscate#</td> | |
29 </tr> | |
138 | 30 <tr> |
602 | 31 <th class="date">date:</th> |
32 <td class="date">#date|date# (#date|age# ago)</td></tr> | |
138 | 33 <tr> |
602 | 34 <th class="files">files:</th> |
35 <td class="files">#files#</td></tr> | |
138 | 36 <tr> |
602 | 37 <th class="description">description:</th> |
38 <td class="description">#desc|escape|addbreaks#</td> | |
39 </tr> | |
138 | 40 </table> |
41 | |
602 | 42 <div id="changesetDiff" class="pre"> |
138 | 43 #diff# |
602 | 44 </div> |
138 | 45 |
46 </body> | |
602 | 47 </html> |
138 | 48 |
49 |