Mercurial > hg > chronicle
changeset 93:4774e0a2fa1a
Added theme.
author | Steve Kemp <steve@steve.org.uk> |
---|---|
date | Wed, 12 Dec 2007 15:17:07 +0000 |
parents | 44401f2b885b |
children | e3f25d7ec944 |
files | themes/blog.steve.org.uk/comment-form.inc themes/blog.steve.org.uk/comment-loop.inc themes/blog.steve.org.uk/entry.template themes/blog.steve.org.uk/index.template themes/blog.steve.org.uk/month.template themes/blog.steve.org.uk/style.css themes/blog.steve.org.uk/tags.template themes/blog.steve.org.uk/xml.gif |
diffstat | 8 files changed, 565 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/themes/blog.steve.org.uk/comment-form.inc Wed Dec 12 15:17:07 2007 +0000 @@ -0,0 +1,18 @@ +<!-- tmpl_if name='comments_enabled' --> +<h3>Add A Comment</h3> +<blockquote> +<form action="/cgi-bin/comments.cgi" method="post"> +<input type="hidden" name="id" value="<!-- tmpl_var name='link' escape='html' -->"> +<table> +<tr><td>Your Name</td> + <td><input type="text" size="55" name="name"></td></tr> +<tr><td>Your Name</td> + <td><input type="text" size="55" name="name"></td></tr> +<tr><td colspan="2">Your Comment<br /> +<textarea name="body" rows="10" cols="60"> +</textarea> +<tr><td></td><td><input type="submit"></td></tr> +</table> +</form> +</blockquote> +<!-- /tmpl_if -->
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/themes/blog.steve.org.uk/comment-loop.inc Wed Dec 12 15:17:07 2007 +0000 @@ -0,0 +1,12 @@ +<!-- tmpl_if name='comments' --> + <h3>Comments On This Entry</h3> + <blockquote> + <!-- tmpl_loop name='comments' --> + <div class="entry"> + <div class="title"><!-- tmpl_var name='name' --></div> + <div class="date"><!-- tmpl_var name='date' --></div> + <div class="body"><!-- tmpl_var name='body' --></div> + </div> + <!-- /tmpl_loop --> + </blockquote> +<!-- /tmpl_if -->
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/themes/blog.steve.org.uk/entry.template Wed Dec 12 15:17:07 2007 +0000 @@ -0,0 +1,98 @@ +<!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' -->: <!-- tmpl_var name='title' --></title> + <link rel="stylesheet" type="text/css" media="screen" href="<!-- tmpl_var name='top' -->style.css"> + </head> + <body> + + <div class="title"> + <h1><!-- tmpl_if name='blog_title' --> + <a href="<!-- tmpl_var name='top' -->"><!-- 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> + +<table width="100%"> +<tr> + <!-- left --> + <td width="20%" valign="top"> + +<div class="box" > +<h2>About This Site</h2> +<p>This is a simple concentrating upon Debian & Free Software.</p> +<ul> +<li><a href="http://debian-administration.org/">Debian Administration</a></li> +<li><a href="http://www.steve.org.uk/">My Website</a></li> +<li><a href="http://www.steve.org.uk/contact/">Get In Touch</a></li> +</ul> +</div> + +<!-- tmpl_if name='calendar' --> + <!-- tmpl_var name='calendar_month' --> +<!-- /tmpl_if name='calendar' --> + +<!-- tmpl_if name='datecloud' --> +<h3>Archive</h3> +<ul> +<!-- tmpl_loop name='datecloud' --> +<li><!-- tmpl_var name='year' --> +<ul> +<!-- tmpl_loop name='months' --> +<li><a href="<!-- tmpl_var name='top' -->archive/<!-- tmpl_var name='year' -->/<!-- tmpl_var name='month' -->/"><!-- tmpl_var name='month_name' --> (<!-- tmpl_var name='count' -->)</a></li> +<!-- /tmpl_loop --> +</ul></li> +<!-- /tmpl_loop --> +</ul> +<!-- /tmpl_if name='datecloud' --> + + +</td> + + <!-- center --> + <td valign="top" width="60%" style="padding: 2px;"> + + <div class="entry"> + <div class="title"><!-- tmpl_var name='title' --></div> + <div class="date"><!-- tmpl_var name='date' --></div> + <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='top' -->tags/<!-- tmpl_var name='tag' -->"><!-- tmpl_var name='tag' --></a><!-- tmpl_if name="__last__" -->.<!-- tmpl_else -->, <!-- /tmpl_if --><!-- /tmpl_loop --></div> + <!-- /tmpl_if --> + </div> + +<!-- tmpl_include name="comment-loop.inc" --> +<!-- tmpl_include name="comment-form.inc" --> + + </td> + <!-- Right --> + <td width="20%" valign="top"> + +<!-- tmpl_if name='tagcloud' --> +<h2>Tags</h2> +<ul> +<!-- tmpl_loop name='tagcloud' --> + <li><a href="<!-- tmpl_var name='top' -->tags/<!-- tmpl_var name='tag' -->"><!-- tmpl_var name='tag' --> (<!-- tmpl_var name='count' -->)</a></li> +<!-- /tmpl_loop --> +</ul> +<!-- /tmpl_if --> +</td> + +</tr></table> + + + + + +<p style="text-align: right; border-top: 1px solid black;"> +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/blog.steve.org.uk/index.template Wed Dec 12 15:17:07 2007 +0000 @@ -0,0 +1,107 @@ +<!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='top' -->style.css"> + <link rel="alternate" title="RSS Feed" href="<!-- tmpl_var name='top' -->index.rss" type="application/rss+xml"> + + </head> + <body> + + <div class="title"> + <h1><!-- tmpl_if name='blog_title' --> + <a href="<!-- tmpl_var name='top' -->"><!-- 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> + +<table width="100%"> +<tr> + <!-- left --> + <td width="20%" valign="top"> + +<div class="box" > +<h2>About This Site</h2> +<p>This is a simple concentrating upon Debian & Free Software.</p> +<ul> +<li><a href="http://debian-administration.org/">Debian Administration</a></li> +<li><a href="http://www.steve.org.uk/">My Website</a></li> +<li><a href="http://www.steve.org.uk/contact/">Get In Touch</a></li> +</ul> +</div> + +<!-- tmpl_if name='calendar' --> + <!-- tmpl_var name='calendar_month' --> +<!-- /tmpl_if name='calendar' --> + +<!-- tmpl_if name='datecloud' --> +<h3>Archive</h3> +<ul> +<!-- tmpl_loop name='datecloud' --> +<li><!-- tmpl_var name='year' --> +<ul> +<!-- tmpl_loop name='months' --> +<li><a href="<!-- tmpl_var name='top' -->archive/<!-- tmpl_var name='year' -->/<!-- tmpl_var name='month' -->/"><!-- tmpl_var name='month_name' --> (<!-- tmpl_var name='count' -->)</a></li> +<!-- /tmpl_loop --> +</ul></li> +<!-- /tmpl_loop --> +</ul> +<!-- /tmpl_if name='datecloud' --> + + +</td> + + <!-- center --> + <td valign="top" width="60%" style="padding: 2px;"> + <!-- tmpl_loop name='entries' --> + <div class="entry"> + <div class="title"><a href="<!-- tmpl_var name='top' --><!-- tmpl_var name='link' -->"><!-- tmpl_var name='title' --></a></div> + <div class="date"><!-- tmpl_var name='date' --></div> + <div class="body"><!-- tmpl_var name='body' --></div> + <div class="tags"> + <!-- tmpl_if name='comment_count' --> + <!-- tmpl_var name='comment_count' --> comments. + <!-- /tmpl_if --> + + <!-- tmpl_if name='tags' --> + Tags: <!-- tmpl_loop name='tags' --><a href="<!-- tmpl_var name='top' -->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> + </div> + <div class="padding"></div> + <!-- /tmpl_loop --> + <p style="text-align: right;"><a href="index.rss"><img src="<!-- tmpl_var name='top' -->xml.gif"></a></p> + + </td> + <!-- Right --> + <td width="20%" valign="top"> + +<!-- tmpl_if name='tagcloud' --> +<h2>Tags</h2> +<ul> +<!-- tmpl_loop name='tagcloud' --> + <li><a href="<!-- tmpl_var name='top' -->tags/<!-- tmpl_var name='tag' -->"><!-- tmpl_var name='tag' --> (<!-- tmpl_var name='count' -->)</a></li> +<!-- /tmpl_loop --> +</ul> +<!-- /tmpl_if --> + +</td> + +</tr></table> + + + +<p style="text-align: right; border-top: 1px solid black;"> +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/blog.steve.org.uk/month.template Wed Dec 12 15:17:07 2007 +0000 @@ -0,0 +1,110 @@ +<!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' -->: entries from <!-- tmpl_var name='month_name' --> <!-- tmpl_var name='year' --></title> + <link rel="stylesheet" type="text/css" media="screen" href="<!-- tmpl_var name='top' -->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_var name='top' -->"><!-- 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> + +<table width="100%"> +<tr> + <!-- left --> + <td width="20%" valign="top"> + +<div class="box" > +<h2>About This Site</h2> +<p>This is a simple concentrating upon Debian & Free Software.</p> +<ul> +<li><a href="http://debian-administration.org/">Debian Administration</a></li> +<li><a href="http://www.steve.org.uk/">My Website</a></li> +<li><a href="http://www.steve.org.uk/contact/">Get In Touch</a></li> +</ul> +</div> + +<!-- tmpl_if name='calendar' --> + <!-- tmpl_var name='calendar_month' --> +<!-- /tmpl_if name='calendar' --> + +<!-- tmpl_if name='datecloud' --> +<h3>Archive</h3> +<ul> +<!-- tmpl_loop name='datecloud' --> +<li><!-- tmpl_var name='year' --> +<ul> +<!-- tmpl_loop name='months' --> +<li><a href="<!-- tmpl_var name='top' -->archive/<!-- tmpl_var name='year' -->/<!-- tmpl_var name='month' -->/"><!-- tmpl_var name='month_name' --> (<!-- tmpl_var name='count' -->)</a></li> +<!-- /tmpl_loop --> +</ul></li> +<!-- /tmpl_loop --> +</ul> +<!-- /tmpl_if name='datecloud' --> + + + + <!-- center --> + <td valign="top" width="60%" style="padding: 2px;"> + <h3>Entries from <!-- tmpl_var name='month_name' escape='html' --> <!-- tmpl_var name='year' escape='html' -->.</h3> + +<!-- tmpl_loop name='entries' --> +<div class="entry"> + <div class="title"> + <a href="<!-- tmpl_var name='top' --><!-- tmpl_var name='link' -->"><!-- tmpl_var name='title' --></a> + </div> + <div class="date"> + <!-- tmpl_var name='date' --> + </div> + + <div class="body"> + <!-- tmpl_var name='body' --> + </div> + <div class="tags"> + <!-- tmpl_if name='comment_count' --> + <!-- tmpl_var name='comment_count' --> comments. + <!-- /tmpl_if --> + + <!-- tmpl_if name='tags' --> + Tags: <!-- tmpl_loop name='tags' --><a href="<!-- tmpl_var name='top' -->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> +</div> + <div class="padding"></div> +<!-- /tmpl_loop --> + +</td> + <!-- Right --> + <td width="20%" valign="top"> + +<!-- tmpl_if name='tagcloud' --> +<h2>Tags</h2> +<ul> +<!-- tmpl_loop name='tagcloud' --> + <li><a href="<!-- tmpl_var name='top' -->tags/<!-- tmpl_var name='tag' -->"><!-- tmpl_var name='tag' --> (<!-- tmpl_var name='count' -->)</a></li> +<!-- /tmpl_loop --> +</ul> +<!-- /tmpl_if --> +</td> + +</tr></table> + +<p style="text-align: right; border-top: 1px solid black;"> +Created by <a href="http://steve.org.uk/Software/chronicle">Chronicle v<!-- tmpl_var name='release' --></a> +</p> + +</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/themes/blog.steve.org.uk/style.css Wed Dec 12 15:17:07 2007 +0000 @@ -0,0 +1,98 @@ + +body { + padding: 0 10px; + padding-top: 1px; + padding-bottom: 1em; + 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; +} + +/* + * Special markup for weblog entries. + */ +div.entry { + border-left: 1px solid rgb(128, 128, 128); + border-right: 1px solid rgb(128, 128, 128); + border-top: 1px solid rgb(128, 128, 128); + border-bottom: 1px solid rgb(128, 128, 128); + margin: 10px 0px; +} + +div.padding { + padding-top: 15px; + padding-bottom: 15px; +} +div.entry div.body { + padding: 10px 10px; +} + +div.entry .title { + background-color: #eee; + border-bottom: 1px solid rgb(128, 128, 128); + font-weight: bold; + font-size: 120%; + padding: 0.26ex 10px; + +} +div.entry div.date { + text-align: right; + font-weight: bold; + border-bottom: 1px solid black; +} +div.entry div.title a { + color: black !important; + text-decoration: none !important; +} +div.entry div.title a:hover { + color: black !important; + text-decoration: none !important; +} +div.entry div.tags { + border-top: 1px solid rgb(128, 128, 128); + font-family: Verdana, Georgia, Arial, sans-serif; + text-align: right; +} + +ul { + list-style-type: none; + list-style-position: outside; + margin: 0 0 1em 0; + padding: 0; +} + +li { + margin: 1ex; + padding: 0 0 1.25ex 0.75ex; + font-size: 95%; +} + +.box { + border: 1px solid black; + background-color: #eee; + font-size: 80%; +} \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/themes/blog.steve.org.uk/tags.template Wed Dec 12 15:17:07 2007 +0000 @@ -0,0 +1,122 @@ +<!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' -->: Entries Tagged <!-- tmpl_var name='tagname' --></title> + <link rel="stylesheet" type="text/css" media="screen" href="<!-- tmpl_var name='top' -->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_var name='top' -->"><!-- 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> + + + + + +<table width="100%"> +<tr> + <!-- left --> + <td width="20%" valign="top"> + +<div class="box" > +<h2>About This Site</h2> +<p>This is a simple concentrating upon Debian & Free Software.</p> +<ul> +<li><a href="http://debian-administration.org/">Debian Administration</a></li> +<li><a href="http://www.steve.org.uk/">My Website</a></li> +<li><a href="http://www.steve.org.uk/contact/">Get In Touch</a></li> +</ul> +</div> + +<!-- tmpl_if name='calendar' --> + <!-- tmpl_var name='calendar_month' --> +<!-- /tmpl_if name='calendar' --> + +<!-- tmpl_if name='datecloud' --> +<h3>Archive</h3> +<ul> +<!-- tmpl_loop name='datecloud' --> +<li><!-- tmpl_var name='year' --> +<ul> +<!-- tmpl_loop name='months' --> +<li><a href="<!-- tmpl_var name='top' -->archive/<!-- tmpl_var name='year' -->/<!-- tmpl_var name='month' -->/"><!-- tmpl_var name='month_name' --> (<!-- tmpl_var name='count' -->)</a></li> +<!-- /tmpl_loop --> +</ul></li> +<!-- /tmpl_loop --> +</ul> +<!-- /tmpl_if name='datecloud' --> + + +</td> + + <!-- center --> + <td valign="top" width="60%" style="padding: 2px;"> + <h3>Entries tagged "<!-- tmpl_var name='tagname' escape='html' -->".</h3> + + +<!-- tmpl_loop name='entries' --> +<div class="entry"> + <div class="title"> + <a href="<!-- tmpl_var name='top' --><!-- tmpl_var name='link' -->"><!-- tmpl_var name='title' --></a> + </div> + <div class="date"> + <!-- tmpl_var name='date' --> + </div> + + <div class="body"> + <!-- tmpl_var name='body' --> + </div> + <div class="tags"> + <!-- tmpl_if name='comment_count' --> + <!-- tmpl_var name='comment_count' --> comments. + <!-- /tmpl_if --> + + <!-- tmpl_if name='tags' --> + Tags: <!-- tmpl_loop name='tags' --><a href="<!-- tmpl_var name='top' -->tags/<!-- tmpl_var name='tag' -->"><!-- tmpl_var name='tag' --></a><!-- tmpl_if name="__last__" -->.<!-- tmpl_else -->, <!-- /tmpl_if --><!-- /tmpl_loop --> + <!-- /tmpl_if --> + </div> +</div> +<div class="padding"></div> +<!-- /tmpl_loop --> + <p style="text-align: right;"><a href="<!-- tmpl_var name='tagname' escape='html' -->.rss"><img src="<!-- tmpl_var name='top' -->xml.gif"></a></p> + + + + + </td> + <!-- Right --> + <td width="20%" valign="top"> + +<!-- tmpl_if name='tagcloud' --> +<h2>Tags</h2> +<ul> +<!-- tmpl_loop name='tagcloud' --> + <li><a href="<!-- tmpl_var name='top' -->tags/<!-- tmpl_var name='tag' -->"><!-- tmpl_var name='tag' --> (<!-- tmpl_var name='count' -->)</a></li> +<!-- /tmpl_loop --> +</ul> +<!-- /tmpl_if --> + +</td> + +</tr></table> + +<p style="text-align: right; border-top: 1px solid black;"> +Created by <a href="http://steve.org.uk/Software/chronicle">Chronicle v<!-- tmpl_var name='release' --></a> +</p> + + + + +</body> +</html>