Mercurial > hg > chronicle
changeset 29:acbe466b3c13
2007-08-16 17:37:16 by steve
Updated so that the date + tags are combined into the footer.
author | steve |
---|---|
date | Thu, 16 Aug 2007 17:37:16 +0000 |
parents | f7b7c3652fdc |
children | 331d2cecf2a5 |
files | themes/blocky/entry.template themes/blocky/index.template themes/blocky/month.template themes/blocky/style.css themes/blocky/tags.template |
diffstat | 5 files changed, 32 insertions(+), 16 deletions(-) [+] |
line wrap: on
line diff
--- a/themes/blocky/entry.template Thu Aug 16 12:46:50 2007 +0000 +++ b/themes/blocky/entry.template Thu Aug 16 17:37:16 2007 +0000 @@ -26,11 +26,13 @@ <fieldset> <legend><!-- tmpl_var name='title' --></legend> - <p style="text-align: right;"><!-- tmpl_var name='date' --></p <div class="body"><!-- tmpl_var name='body' --></div> + <table width="100%"> + <tr><td> <!-- tmpl_if name='tags' --> <div class="tags">Tags: <!-- tmpl_loop name='tags' --><a href="<!-- tmpl_var name='url_prefix' -->tags/<!-- tmpl_var name='tag' -->"><!-- tmpl_var name='tag' --></a><!-- tmpl_if name="__last__" -->.<!-- tmpl_else -->, <!-- /tmpl_if --><!-- /tmpl_loop --></div> <!-- /tmpl_if --> + </td><td align="right"><!-- tmpl_var name='date' --></td></tr></table> </fieldset> </td>
--- a/themes/blocky/index.template Thu Aug 16 12:46:50 2007 +0000 +++ b/themes/blocky/index.template Thu Aug 16 17:37:16 2007 +0000 @@ -21,21 +21,32 @@ <!-- /tmpl_if --> </div> + <!-- Blog is in a large table --> <table width="100%"> <tr><td valign="top"> + <!-- tmpl_loop name='entries' --> - <fieldset><legend><a href="<!-- tmpl_var name='url_prefix' --><!-- tmpl_var name='link' -->"><!-- tmpl_var name='title' --></a></legend> + <fieldset> + <legend><a href="<!-- tmpl_var name='url_prefix' --><!-- tmpl_var name='link' -->"><!-- tmpl_var name='title' --></a></legend> + + <div class="body"><!-- tmpl_var name='body' --></div> - <p style="text-align: right;"><!-- tmpl_var name='date' --></p> - <div class="body"><!-- tmpl_var name='body' --></div> - <div class="tags"> - <!-- tmpl_if name='tags' --> - Tags: <!-- tmpl_loop name='tags' --><a href="<!-- tmpl_var name='url_prefix' -->tags/<!-- tmpl_var name='tag' -->"><!-- tmpl_var name='tag' --></a><!-- tmpl_if name="__last__" -->.<!-- tmpl_else -->, <!-- /tmpl_if --><!-- /tmpl_loop --> - <!-- tmpl_else --> - No tags - <!-- /tmpl_if --> + <table width="100%"> + <tr> + <td> + <!-- tmpl_if name='tags' --> + Tags: <!-- tmpl_loop name='tags' --><a href="<!-- tmpl_var name='url_prefix' -->tags/<!-- tmpl_var name='tag' -->"><!-- tmpl_var name='tag' --></a><!-- tmpl_if name="__last__" -->.<!-- tmpl_else -->, <!-- /tmpl_if --><!-- /tmpl_loop --> + <!-- tmpl_else --> + No tags + <!-- /tmpl_if --> + </td> + <td align="right"> + <!-- tmpl_var name='date' --> + </td> + </tr> + </table> </div> </fieldset> <p></p>
--- a/themes/blocky/month.template Thu Aug 16 12:46:50 2007 +0000 +++ b/themes/blocky/month.template Thu Aug 16 17:37:16 2007 +0000 @@ -30,19 +30,22 @@ <!-- tmpl_loop name='entries' --> <fieldset> <legend><a href="<!-- tmpl_if name='url_prefix' --><!-- tmpl_var name='url_prefix' --><!-- tmpl_else -->../../<!-- /tmpl_if --><!-- tmpl_var name='link' -->"><!-- tmpl_var name='title' --></a></legend> - <p style="text-align: right"> - <!-- tmpl_var name='date' --> - </p> <div class="body"> <!-- tmpl_var name='body' --> </div> <div class="tags"> + <table width="100%"> + <tr><td> <!-- tmpl_if name='tags' --> Tags: <!-- tmpl_loop name='tags' --><a href="<!-- tmpl_if name='url_prefix' --><!-- tmpl_var name='url_prefix' --><!-- tmpl_else -->../../<!-- /tmpl_if -->tags/<!-- tmpl_var name='tag' -->"><!-- tmpl_var name='tag' --></a><!-- tmpl_if name="__last__" -->.<!-- tmpl_else -->, <!-- /tmpl_if --><!-- /tmpl_loop --> <!-- tmpl_else --> No tags <!-- /tmpl_if --> + </td> + <td align="right"> + <!-- tmpl_var name='date' --> + </td></tr></table> </div> </fieldset> <p></p>
--- a/themes/blocky/style.css Thu Aug 16 12:46:50 2007 +0000 +++ b/themes/blocky/style.css Thu Aug 16 17:37:16 2007 +0000 @@ -43,4 +43,3 @@ legend { font-weight: bold; } -
--- a/themes/blocky/tags.template Thu Aug 16 12:46:50 2007 +0000 +++ b/themes/blocky/tags.template Thu Aug 16 17:37:16 2007 +0000 @@ -30,16 +30,17 @@ <!-- tmpl_loop name='entries' --> <fieldset> <legend><a href="<!-- tmpl_if name='url_prefix' --><!-- tmpl_var name='url_prefix' --><!-- tmpl_else -->../../<!-- /tmpl_if --><!-- tmpl_var name='link' -->"><!-- tmpl_var name='title' --></a></legend> - <p style="text-align: right;"><!-- tmpl_var name='date' --></p> - <div class="body"> <!-- tmpl_var name='body' --> </div> + <table width="100%"> + <tr><td> <!-- tmpl_if name='tags' --> <div class="tags"> Tags: <!-- tmpl_loop name='tags' --><a href="<!-- tmpl_if name='url_prefix' --><!-- tmpl_var name='url_prefix' --><!-- tmpl_else -->../../<!-- /tmpl_if -->tags/<!-- tmpl_var name='tag' -->"><!-- tmpl_var name='tag' --></a><!-- tmpl_if name="__last__" -->.<!-- tmpl_else -->, <!-- /tmpl_if --><!-- /tmpl_loop --> </div> <!-- /tmpl_if --> + </td><td align="right"><!-- tmpl_var name='date' --></td></tr></table> </fieldset> <p></p> <!-- /tmpl_loop -->