Author: dylan
Date: 2005-03-14 23:51:08 -0500 (Mon, 14 Mar 2005)
New Revision: 643
Added:
trunk/web/templates/bottom.tt
trunk/web/templates/config.tt
trunk/web/templates/credits.tt
trunk/web/templates/doctype.tt
trunk/web/templates/menu.tt
trunk/web/templates/page.tt
trunk/web/templates/sidebar.tt
Removed:
trunk/web/templates/bottom
trunk/web/templates/config
trunk/web/templates/doctype
trunk/web/templates/init
trunk/web/templates/menu
trunk/web/templates/page
trunk/web/templates/sidebar
trunk/web/templates/thanks
Modified:
trunk/
Log:
[EMAIL PROTECTED]: dylan | 2005-03-10 22:36:41 -0500
The create template renaming.
Property changes on: trunk
___________________________________________________________________
Name: svk:merge
- 1f59643a-e6e5-0310-bc24-f7d4c744f460:/haver/local/trunk:11166
1f59643a-e6e5-0310-bc24-f7d4c744f460:/haver/local/trunk-merge-10131:11178
27e50396-46e3-0310-8b22-ae223a1f35ce:/local:212
e9404bb1-7af0-0310-a7ff-e22194cd388b:/haver/local:813
edfcd8bd-4ce7-0310-a97e-bb1efd40edf3:/local:238
+ 1f59643a-e6e5-0310-bc24-f7d4c744f460:/haver/local/trunk:11166
1f59643a-e6e5-0310-bc24-f7d4c744f460:/haver/local/trunk-merge-10131:11178
27e50396-46e3-0310-8b22-ae223a1f35ce:/local:212
e9404bb1-7af0-0310-a7ff-e22194cd388b:/haver/local:814
edfcd8bd-4ce7-0310-a97e-bb1efd40edf3:/local:238
Deleted: trunk/web/templates/bottom
===================================================================
--- trunk/web/templates/bottom 2005-03-15 04:51:06 UTC (rev 642)
+++ trunk/web/templates/bottom 2005-03-15 04:51:08 UTC (rev 643)
@@ -1,18 +0,0 @@
-[% # vim: set syn=template:
- USE date;
- year = date.format(date.now, "%Y")
-%]
-
-[% SWITCH page.copyright; %]
-[% CASE 'FREE' %]
- Copyright © 2001-$year [% page.author %].<br/>
- Verbatim copying and redistribution of this entire page is permitted
- in any medium provided this notice is preserved.
-[% CASE 'LICENSE' %]
- [% INCLUDE $page.licence %]
-[% CASE 'NONFREE' %]
- Copyright © 2003-$year [% page.author %]. All rights reserved.
-[% CASE %]
- [% THROW "Unknown copyright type: $page.copyright" %]
-[% END %]
-
Added: trunk/web/templates/bottom.tt
===================================================================
--- trunk/web/templates/bottom.tt 2005-03-15 04:51:06 UTC (rev 642)
+++ trunk/web/templates/bottom.tt 2005-03-15 04:51:08 UTC (rev 643)
@@ -0,0 +1,18 @@
+[% # vim: set syn=template:
+ USE date;
+ year = date.format(date.now, "%Y")
+%]
+
+[% SWITCH page.copyright; %]
+[% CASE 'FREE' %]
+ Copyright © 2001-$year [% page.author %].<br/>
+ Verbatim copying and redistribution of this entire page is permitted
+ in any medium provided this notice is preserved.
+[% CASE 'LICENSE' %]
+ [% INCLUDE $page.licence %]
+[% CASE 'NONFREE' %]
+ Copyright © 2003-$year [% page.author %]. All rights reserved.
+[% CASE %]
+ [% THROW "Unknown copyright type: $page.copyright" %]
+[% END %]
+
Deleted: trunk/web/templates/config
===================================================================
--- trunk/web/templates/config 2005-03-15 04:51:06 UTC (rev 642)
+++ trunk/web/templates/config 2005-03-15 04:51:08 UTC (rev 643)
@@ -1,29 +0,0 @@
-[%# vim: set syn=template: %]
-[%
-# $Revision: 1.11 $
-# $Date: 2004/03/11 18:52:56 $
-
-USE page = Page;
-
-DEFAULT
- page.title = 'Untitled Page'
- page.copyright = 'FREE'
- page.author = 'Dylan William Hardison'
- page.email = '[EMAIL PROTECTED]'
-;
-
-
-
-# Set to 0 if not using source forge.
-config.sf_gid = 127478;
-config.title = "The Haver Project";
-
-people.nornagon = {
- email => '[EMAIL PROTECTED]',
-};
-
-people.dylan = {
- email => '[EMAIL PROTECTED]',
-};
-
-%]
Added: trunk/web/templates/config.tt
===================================================================
--- trunk/web/templates/config.tt 2005-03-15 04:51:06 UTC (rev 642)
+++ trunk/web/templates/config.tt 2005-03-15 04:51:08 UTC (rev 643)
@@ -0,0 +1,29 @@
+[%# vim: set syn=template: %]
+[%
+# $Revision: 1.11 $
+# $Date: 2004/03/11 18:52:56 $
+
+USE page = Page;
+
+DEFAULT
+ page.title = 'Untitled Page'
+ page.copyright = 'FREE'
+ page.author = 'Dylan William Hardison'
+ page.email = '[EMAIL PROTECTED]'
+;
+
+
+
+# Set to 0 if not using source forge.
+config.sf_gid = 127478;
+config.title = "The Haver Project";
+
+people.nornagon = {
+ email => '[EMAIL PROTECTED]',
+};
+
+people.dylan = {
+ email => '[EMAIL PROTECTED]',
+};
+
+%]
Added: trunk/web/templates/credits.tt
===================================================================
--- trunk/web/templates/credits.tt 2005-03-15 04:51:06 UTC (rev 642)
+++ trunk/web/templates/credits.tt 2005-03-15 04:51:08 UTC (rev 643)
@@ -0,0 +1,11 @@
+[%# vim: set syn=template: %]
+
+
+[% INCLUDE "logos.tt" %]
+
+<p class="credits" style="text-align: right; font-size: 8pt;">
+Design by <a href="mailto:[% people.nornagon.email %]">Jeremy "nornagon"
Apthorp</a>,
+Build System by <a href="mailto:[% people.dylan.email %]">Dylan Hardison</a>.
+Last Updated on [% page.date %]<br/>
+</p>
+
Deleted: trunk/web/templates/doctype
===================================================================
--- trunk/web/templates/doctype 2005-03-15 04:51:06 UTC (rev 642)
+++ trunk/web/templates/doctype 2005-03-15 04:51:08 UTC (rev 643)
@@ -1,11 +0,0 @@
-[%# vim: set ft=template: %]
-[% SWITCH strict %]
-[% CASE 'yes' %]
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-[% CASE 'no' %]
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
-"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-[% CASE;
- THROW param.invalid "invalid value for strict: $strict";
-END %]
Added: trunk/web/templates/doctype.tt
===================================================================
--- trunk/web/templates/doctype.tt 2005-03-15 04:51:06 UTC (rev 642)
+++ trunk/web/templates/doctype.tt 2005-03-15 04:51:08 UTC (rev 643)
@@ -0,0 +1,11 @@
+[%# vim: set ft=template: %]
+[% SWITCH strict %]
+[% CASE 'yes' %]
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+[% CASE 'no' %]
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+[% CASE;
+ THROW param.invalid "invalid value for strict: $strict";
+END %]
Deleted: trunk/web/templates/init
===================================================================
--- trunk/web/templates/init 2005-03-15 04:51:06 UTC (rev 642)
+++ trunk/web/templates/init 2005-03-15 04:51:08 UTC (rev 643)
@@ -1,12 +0,0 @@
-[%# vim: set syn=template: %]
-
-[%
-
-IF template.name.match('\.t?html?$');
-
-PROCESS "macros/html";
-USE VMethods;
-USE Tools;
-
-END;
-%]
Deleted: trunk/web/templates/menu
===================================================================
--- trunk/web/templates/menu 2005-03-15 04:51:06 UTC (rev 642)
+++ trunk/web/templates/menu 2005-03-15 04:51:08 UTC (rev 643)
@@ -1,24 +0,0 @@
-[%# vim: set ft=template: %]
-
-[%# vim: set ft=template: %]
-[%
-
-# Main menu.
-menu = [
- [ 'Home', '/index.html' ],
- [ 'News', 'https://gna.org/news/index.php?group=haver' ],
- [ 'Wiki', 'http://wiki.chani3.com/wiki/ProjectHaver' ],
- [ 'Docs', '/docs' ],
- [ 'Download', '/download.html' ],
- [ 'Clients', '/clients/index.html' ],
- [ 'Contact', '/contact.html' ],
-];
-
-FOREACH item IN menu;
- link(item.1, item.0);
- " - " UNLESS loop.last;
-END;
-
-
-%]
-
Added: trunk/web/templates/menu.tt
===================================================================
--- trunk/web/templates/menu.tt 2005-03-15 04:51:06 UTC (rev 642)
+++ trunk/web/templates/menu.tt 2005-03-15 04:51:08 UTC (rev 643)
@@ -0,0 +1,24 @@
+[%# vim: set ft=template: %]
+
+[%# vim: set ft=template: %]
+[%
+
+# Main menu.
+menu = [
+ [ 'Home', '/index.html' ],
+ [ 'News', 'https://gna.org/news/index.php?group=haver' ],
+ [ 'Wiki', 'http://wiki.chani3.com/wiki/ProjectHaver' ],
+ [ 'Docs', '/docs' ],
+ [ 'Download', '/download.html' ],
+ [ 'Clients', '/clients/index.html' ],
+ [ 'Contact', '/contact.html' ],
+];
+
+FOREACH item IN menu;
+ link(item.1, item.0);
+ " - " UNLESS loop.last;
+END;
+
+
+%]
+
Deleted: trunk/web/templates/page
===================================================================
--- trunk/web/templates/page 2005-03-15 04:51:06 UTC (rev 642)
+++ trunk/web/templates/page 2005-03-15 04:51:08 UTC (rev 643)
@@ -1,50 +0,0 @@
-[%# vim: set syntax=template:
-
-VARIABLES:
- - title (title of the page)
- - author (primary author of the page)
- - date (date of the last change, in SVK or SVN format)
- - strict (defaults to 'yes', change to 'no' for transitional xhtml)
-
-%]
-[% PROCESS "doctype.tt" %]
-<html xmlns="http://www.w3.org/1999/xhtml" lang="EN">
- <head>
- <title>$config.title: $title</title>
- <meta name="author" content="$author" />
- <link type="text/css" rel="stylesheet" href="/css/haver.css" />
- </head>
- <body>
- <div id="body">
- <!-- Title -->
- <h1 id="title">$config.title - $title</h1>
- <!-- The menu at the top -->
- <div id="menu">
- [% INCLUDE "menu.tt" %]
- </div>
-
- <table id="main" summary="the sidebar and the content">
- <tr>
- <!-- The Sidebar -->
- <td id="sidebar">
- [% INCLUDE "sidebar.tt" %]
- <!-- Does this actually do anything? -->
- <img src="/images/dot.png"
style="vertical-align: bottom;" alt="foo" />
- </td>
-
- <!-- The main body -->
- <td id="content">
- [% content %]
- </td>
- </tr>
- </table>
- <!-- The bottom bar -->
- <div id="bottom">
- [% INCLUDE "copying.tt" %]
- </div>
- <div id="thanks">
- [% INCLUDE "credits.tt" %]
- </div>
- </div>
- </body>
-</html>
Added: trunk/web/templates/page.tt
===================================================================
--- trunk/web/templates/page.tt 2005-03-15 04:51:06 UTC (rev 642)
+++ trunk/web/templates/page.tt 2005-03-15 04:51:08 UTC (rev 643)
@@ -0,0 +1,50 @@
+[%# vim: set syntax=template:
+
+VARIABLES:
+ - title (title of the page)
+ - author (primary author of the page)
+ - date (date of the last change, in SVK or SVN format)
+ - strict (defaults to 'yes', change to 'no' for transitional xhtml)
+
+%]
+[% PROCESS "doctype.tt" %]
+<html xmlns="http://www.w3.org/1999/xhtml" lang="EN">
+ <head>
+ <title>$config.title: $title</title>
+ <meta name="author" content="$author" />
+ <link type="text/css" rel="stylesheet" href="/css/haver.css" />
+ </head>
+ <body>
+ <div id="body">
+ <!-- Title -->
+ <h1 id="title">$config.title - $title</h1>
+ <!-- The menu at the top -->
+ <div id="menu">
+ [% INCLUDE "menu.tt" %]
+ </div>
+
+ <table id="main" summary="the sidebar and the content">
+ <tr>
+ <!-- The Sidebar -->
+ <td id="sidebar">
+ [% INCLUDE "sidebar.tt" %]
+ <!-- Does this actually do anything? -->
+ <img src="/images/dot.png"
style="vertical-align: bottom;" alt="foo" />
+ </td>
+
+ <!-- The main body -->
+ <td id="content">
+ [% content %]
+ </td>
+ </tr>
+ </table>
+ <!-- The bottom bar -->
+ <div id="bottom">
+ [% INCLUDE "copying.tt" %]
+ </div>
+ <div id="thanks">
+ [% INCLUDE "credits.tt" %]
+ </div>
+ </div>
+ </body>
+</html>
Deleted: trunk/web/templates/sidebar
===================================================================
--- trunk/web/templates/sidebar 2005-03-15 04:51:06 UTC (rev 642)
+++ trunk/web/templates/sidebar 2005-03-15 04:51:08 UTC (rev 643)
@@ -1,10 +0,0 @@
-[%# vim: set ft=template: %]
-
-<a href="https://gna.org/projects/haver/">Project</a>
-<br />
-<a href="/clients/index.html">Clients</a>
-<br />
-<a href="/download.html">Download</a>
-<br />
-<a href="/applet.html">Applet</a>
-<br />
Added: trunk/web/templates/sidebar.tt
===================================================================
--- trunk/web/templates/sidebar.tt 2005-03-15 04:51:06 UTC (rev 642)
+++ trunk/web/templates/sidebar.tt 2005-03-15 04:51:08 UTC (rev 643)
@@ -0,0 +1,10 @@
+[%# vim: set ft=template: %]
+
+<a href="https://gna.org/projects/haver/">Project</a>
+<br />
+<a href="/clients/index.html">Clients</a>
+<br />
+<a href="/download.html">Download</a>
+<br />
+<a href="/applet.html">Applet</a>
+<br />
Deleted: trunk/web/templates/thanks
===================================================================
--- trunk/web/templates/thanks 2005-03-15 04:51:06 UTC (rev 642)
+++ trunk/web/templates/thanks 2005-03-15 04:51:08 UTC (rev 643)
@@ -1,11 +0,0 @@
-[%# vim: set syn=template: %]
-
-
-[% INCLUDE "logos.tt" %]
-
-<p class="credits" style="text-align: right; font-size: 8pt;">
-Design by <a href="mailto:[% people.nornagon.email %]">Jeremy "nornagon"
Apthorp</a>,
-Build System by <a href="mailto:[% people.dylan.email %]">Dylan Hardison</a>.
-Last Updated on [% page.date %]<br/>
-</p>
-