Mercurial > hg > chronicle
changeset 25:9ab9589e05a6
2007-08-16 12:45:30 by steve
Added.
author | steve |
---|---|
date | Thu, 16 Aug 2007 12:45:30 +0000 |
parents | 4a936d95aca5 |
children | cc6b58cd79b5 |
files | themes/blocky/entry.template themes/blocky/index.template themes/blocky/index.xml.template themes/blocky/month.template themes/blocky/month.xml.template themes/blocky/style.css themes/blocky/tags.template themes/blocky/tags.xml.template themes/blocky/xml.gif |
diffstat | 9 files changed, 393 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/themes/blocky/entry.template Thu Aug 16 12:45:30 2007 +0000 @@ -0,0 +1,64 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>Blog: <!-- tmpl_var name='title' --></title> + <link rel="stylesheet" type="text/css" media="screen" href="<!-- tmpl_var name='url_prefix' -->style.css"> + </head> + <body> + + <div class="title"> + <h1><!-- tmpl_if name='blog_title' --> + <a href="<!-- tmpl_var name='url_prefix' -->"><!-- tmpl_var name='blog_title' --></a> + <!-- tmpl_else --> + Untitled Blog + <!-- /tmpl_if --> + </h1> + <!-- tmpl_if name='blog_subtitle' --> + <h2><!-- tmpl_var name='blog_subtitle' --></h2> + <!-- /tmpl_if --> + </div> + +<!-- Blog is in a large table --> +<table width="100%"> +<tr><td valign="top"> + + + <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> + <!-- 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 --> + </fieldset> + +</td> +<td width="20%" valign="top"> +<!-- tmpl_if name='datecloud' --> +<fieldset><legend>Archive</legend> +<ul> +<!-- tmpl_loop name='datecloud' --> +<li><!-- tmpl_var name='year' --> +<ul> +<!-- tmpl_loop name='months' --> +<li><a href="<!-- tmpl_var name='url_prefix' -->archive/<!-- tmpl_var name='year' -->/<!-- tmpl_var name='month' -->/"><!-- tmpl_var name='month' --> (<!-- tmpl_var name='count' -->)</a></li> +<!-- /tmpl_loop --> +</ul></li> +<!-- /tmpl_loop --> +</ul> +</fieldset> +<!-- /tmpl_if name='datecloud' --> + +<!-- tmpl_if name='tagcloud' --> +<fieldset> + <legend>Tags</legend> + <!-- tmpl_loop name='tagcloud' --> + <span style="font-size: <!-- tmpl_var name='size' -->px"><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 --></span> +<!-- /tmpl_loop --> +</fieldset> +<!-- /tmpl_if --> + +</td></tr></table> + </body> +</html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/themes/blocky/index.template Thu Aug 16 12:45:30 2007 +0000 @@ -0,0 +1,78 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html> + <head> + <title><!-- tmpl_var name='blog_title' --></title> + <link rel="stylesheet" type="text/css" media="screen" href="<!-- tmpl_var name='url_prefix' -->style.css"> + <link rel="alternate" title="RSS Feed" href="<!-- tmpl_var name='url_prefix' -->index.rss" type="application/rss+xml"> + + </head> + <body> + + <div class="title"> + <h1><!-- tmpl_if name='blog_title' --> + <a href="<!-- tmpl_var name='url_prefix' -->"><!-- tmpl_var name='blog_title' --></a> + <!-- tmpl_else --> + Untitled Blog + <!-- /tmpl_if --> + </h1> + <!-- tmpl_if name='blog_subtitle' --> + <h2><!-- tmpl_var name='blog_subtitle' --></h2> + <!-- /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> + + <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 --> + </div> + </fieldset> + <p></p> + <!-- /tmpl_loop --> + <p style="text-align: right;"><a href="index.rss"><img src="<!-- tmpl_var name='url_prefix' -->xml.gif"></a></p> + +</td> +<td width="20%" valign="top"> + +<!-- tmpl_if name='datecloud' --> +<fieldset><legend>Archive</legend> +<ul> +<!-- tmpl_loop name='datecloud' --> +<li><!-- tmpl_var name='year' --> +<ul> +<!-- tmpl_loop name='months' --> +<li><a href="<!-- tmpl_var name='url_prefix' -->archive/<!-- tmpl_var name='year' -->/<!-- tmpl_var name='month' -->/"><!-- tmpl_var name='month' --> (<!-- tmpl_var name='count' -->)</a></li> +<!-- /tmpl_loop --> +</ul></li> +<!-- /tmpl_loop --> +</ul> +</fieldset> +<!-- /tmpl_if name='datecloud' --> + +<!-- tmpl_if name='tagcloud' --> +<fieldset> + <legend>Tags</legend> + <!-- tmpl_loop name='tagcloud' --> + <span style="font-size: <!-- tmpl_var name='size' -->px"><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 --></span> +<!-- /tmpl_loop --> +</fieldset> +<!-- /tmpl_if --> +</td></tr> +</table> +<hr /> +<p style="text-align: right"> +Created by <a href="http://steve.org.uk/Software/chronicle">Chronicle v<!-- tmpl_var name='release' --></a> +</p> +</body> +</html>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/themes/blocky/index.xml.template Thu Aug 16 12:45:30 2007 +0000 @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<rss version='2.0' xmlns:lj='http://www.livejournal.org/rss/lj/1.0/'> + <channel> + <title>Blog Entries</title> + <description>Blog Entries</description> + + <!-- tmpl_loop name="entries" --> + <item> + <title><!-- tmpl_var name="title" escape='html' --></title> + <link><!-- tmpl_var name='url_prefix' --><!-- tmpl_var name='link' --></link> + <guid isPermaLink="true"><!-- tmpl_var name='url_prefix' --><!-- tmpl_var name='link' --></guid> + <description><!-- tmpl_var name="body" escape='html' --></description> + </item> + <!-- /tmpl_loop --> + </channel> +</rss>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/themes/blocky/month.template Thu Aug 16 12:45:30 2007 +0000 @@ -0,0 +1,81 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>Blog : Entries from <!-- tmpl_var name='month' --> <!-- tmpl_var name='year' --></title> + <link rel="stylesheet" type="text/css" media="screen" href="<!-- tmpl_if name='url_prefix' --><!-- tmpl_var name='url_prefix' --><!-- tmpl_else -->../../<!-- /tmpl_if -->style.css"> + <link rel="alternate" title="RSS Feed" href="<!-- tmpl_var name='month' escape='html' -->.rss" type="application/rss+xml"> + </head> + <body> +<!-- XML FEED --> + + <div class="title"> + <h1><!-- tmpl_if name='blog_title' --> + <a href="<!-- tmpl_if name='url_prefix' --><!-- tmpl_var name='url_prefix' --><!-- tmpl_else -->../../<!-- /tmpl_if -->"><!-- tmpl_var name='blog_title' --></a> + <!-- tmpl_else --> + Untitled Blog + <!-- /tmpl_if --> + </h1> + <!-- tmpl_if name='blog_subtitle' --> + <h2><!-- tmpl_var name='blog_subtitle' --></h2> + <!-- /tmpl_if --> + </div> + +<!-- Blog is in a large table --> +<table width="100%"> +<tr><td valign="top"> + + <p>Entries from <!-- tmpl_var name='month' escape='html' --> <!-- tmpl_var name='year' escape='html' -->.</p> + +<!-- 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"> + <!-- 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 --> + </div> +</fieldset> + <p></p> +<!-- /tmpl_loop --> + <p style="text-align: right;"><a href="<!-- tmpl_var name='month' escape='html' -->.rss"><img src="<!-- tmpl_if name='url_prefix' --><!-- tmpl_var name='url_prefix' --><!-- tmpl_else -->../../<!-- /tmpl_if -->xml.gif"></a></p> + + +</td> +<td width="20%" valign="top"> + +<!-- tmpl_if name='datecloud' --> +<fieldset><legend>Archive</legend> +<ul> +<!-- tmpl_loop name='datecloud' --> +<li><!-- tmpl_var name='year' --> +<ul> +<!-- tmpl_loop name='months' --> +<li><a href="<!-- tmpl_if name='url_prefix' --><!-- tmpl_var name='url_prefix' --><!-- tmpl_else -->../../<!-- /tmpl_if -->archive/<!-- tmpl_var name='year' -->/<!-- tmpl_var name='month' -->/"><!-- tmpl_var name='month' --> (<!-- tmpl_var name='count' -->)</a></li> +<!-- /tmpl_loop --> +</ul></li> +<!-- /tmpl_loop --> +</fieldset> +<!-- /tmpl_if name='datecloud' --> + +<!-- tmpl_if name='tagcloud' --> +<fieldset> + <legend>Tags</legend> + <!-- tmpl_loop name='tagcloud' --> + <span style="font-size: <!-- tmpl_var name='size' -->px"><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 --></span> +<!-- /tmpl_loop --> +</fieldset> + +<!-- /tmpl_if --> +</td></tr></table> +</body> +</html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/themes/blocky/month.xml.template Thu Aug 16 12:45:30 2007 +0000 @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<rss version='2.0' xmlns:lj='http://www.livejournal.org/rss/lj/1.0/'> + <channel> + <title>Entries from <!-- tmpl_var name='month' --> <!-- tmpl_var name='year' --></title> + <description>Entries from <!-- tmpl_var name='month' --> <!-- tmpl_var name='year' --></description> + + <!-- tmpl_loop name="entries" --> + <item> + <title><!-- tmpl_var name="title" escape='html' --></title> + <link><!-- tmpl_if name='url_prefix' --><!-- tmpl_var name='url_prefix' --><!-- tmpl_else -->../../<!-- /tmpl_if --><!-- tmpl_var name='link' --></link> + <guid isPermaLink="true"><!-- tmpl_if name='url_prefix' --><!-- tmpl_var name='url_prefix' --><!-- tmpl_else -->../../<!-- /tmpl_if --><!-- tmpl_var name='link' --></guid> + <description><!-- tmpl_var name="body" escape='html' --></description> + </item> + <!-- /tmpl_loop --> + </channel> +</rss>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/themes/blocky/style.css Thu Aug 16 12:45:30 2007 +0000 @@ -0,0 +1,46 @@ +body { + padding-bottom: 1em; + border-right: 1px solid rgb(128, 128, 128); + background-color: white; + color: black; + margin: 0; +} + + +div.title { +} + +div.title h1 { + margin: 0px -10px; + padding: 5px 10px 0px 10px; + text-align: center; +} + +div.title a { + color: black !important; + text-decoration: none !important; +} +div.title a:hover { + color: black !important; + text-decoration: none !important; +} + +div.title h2 { + margin: 0 0 1ex 0; + padding: 0; + text-align: right; +} + +legend a { + color: black !important; + text-decoration: none !important; +} +legend a:hover { + color: black !important; + text-decoration: none !important; +} + +legend { + font-weight: bold; +} +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/themes/blocky/tags.template Thu Aug 16 12:45:30 2007 +0000 @@ -0,0 +1,76 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>Blog : Entries Tagged <!-- tmpl_var name='tagname' --></title> + <link rel="stylesheet" type="text/css" media="screen" href="<!-- tmpl_if name='url_prefix' --><!-- tmpl_var name='url_prefix' --><!-- tmpl_else -->../../<!-- /tmpl_if -->style.css"> + <link rel="alternate" title="RSS Feed" href="<!-- tmpl_var name='tagname' escape='html' -->.rss" type="application/rss+xml"> + </head> + <body> + + <div class="title"> + <h1><!-- tmpl_if name='blog_title' --> + <a href="<!-- tmpl_if name='url_prefix' --><!-- tmpl_var name='url_prefix' --><!-- tmpl_else -->../../<!-- /tmpl_if -->"><!-- tmpl_var name='blog_title' --></a> + <!-- tmpl_else --> + Untitled Blog + <!-- /tmpl_if --> + </h1> + <!-- tmpl_if name='blog_subtitle' --> + <h2><!-- tmpl_var name='blog_subtitle' --></h2> + <!-- /tmpl_if --> + </div> + +<!-- Blog is in a large table --> +<table width="100%"> +<tr><td valign="top"> + + <p>Entries tagged "<!-- tmpl_var name='tagname' escape='html' -->".</p> + + +<!-- 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> + <!-- 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 --> +</fieldset> +<p></p> +<!-- /tmpl_loop --> + <p style="text-align: right;"><a href="<!-- tmpl_var name='tagname' escape='html' -->.rss"><img src="<!-- tmpl_if name='url_prefix' --><!-- tmpl_var name='url_prefix' --><!-- tmpl_else -->../../<!-- /tmpl_if -->xml.gif"></a></p> + + + +</td> +<td width="20%" valign="top"> + +<!-- tmpl_if name='datecloud' --> +<fieldset><legend>Archive</legend> +<ul> +<!-- tmpl_loop name='datecloud' --> +<li><!-- tmpl_var name='year' --> +<ul> +<!-- tmpl_loop name='months' --> +<li><a href="<!-- tmpl_if name='url_prefix' --><!-- tmpl_var name='url_prefix' --><!-- tmpl_else -->../../<!-- /tmpl_if -->archive/<!-- tmpl_var name='year' -->/<!-- tmpl_var name='month' -->/"><!-- tmpl_var name='month' --> (<!-- tmpl_var name='count' -->)</a></li> +<!-- /tmpl_loop --> +</ul></li> +<!-- /tmpl_loop --> +</fieldset> +<!-- /tmpl_if name='datecloud' --> + +<!-- tmpl_if name='tagcloud' --> +<fieldset> + <legend>Tags</legend> + <!-- tmpl_loop name='tagcloud' --> + <span style="font-size: <!-- tmpl_var name='size' -->px"><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 --></span> +<!-- /tmpl_loop --> +</fieldset> + +<!-- /tmpl_if --> +</td></tr></table>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/themes/blocky/tags.xml.template Thu Aug 16 12:45:30 2007 +0000 @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<rss version='2.0' xmlns:lj='http://www.livejournal.org/rss/lj/1.0/'> + <channel> + <title>Entries tagged <!-- tmpl_var name='tagname' escape='html' --></title> + <description>Entries tagged <!-- tmpl_var name='tagname' escape='html' --></description> + + <!-- tmpl_loop name="entries" --> + <item> + <title><!-- tmpl_var name="title" escape='html' --></title> + <link><!-- tmpl_if name='url_prefix' --><!-- tmpl_var name='url_prefix' --><!-- tmpl_else -->../../<!-- /tmpl_if --><!-- tmpl_var name='link' --></link> + <guid isPermaLink="true"><!-- tmpl_if name='url_prefix' --><!-- tmpl_var name='url_prefix' --><!-- tmpl_else -->../../<!-- /tmpl_if --><!-- tmpl_var name='link' --></guid> + <description><!-- tmpl_var name="body" escape='html' --></description> + </item> + <!-- /tmpl_loop --> + </channel> +</rss>