From 492433abe865220c227e62cf12f3c93856432585 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Wed, 25 Nov 2009 22:49:43 +0100 Subject: Initial Portato Website --- templates/menu.lst | 3 ++ templates/page.mako | 14 +++++++++ templates/pages/development.mako | 7 +++++ templates/pages/download.mako | 7 +++++ templates/pages/index.mako | 8 ++++++ templates/root.mako | 61 ++++++++++++++++++++++++++++++++++++++++ 6 files changed, 100 insertions(+) create mode 100644 templates/menu.lst create mode 100644 templates/page.mako create mode 100644 templates/pages/development.mako create mode 100644 templates/pages/download.mako create mode 100644 templates/pages/index.mako create mode 100644 templates/root.mako (limited to 'templates') diff --git a/templates/menu.lst b/templates/menu.lst new file mode 100644 index 0000000..4560d9b --- /dev/null +++ b/templates/menu.lst @@ -0,0 +1,3 @@ +index +download +development diff --git a/templates/page.mako b/templates/page.mako new file mode 100644 index 0000000..4543cc0 --- /dev/null +++ b/templates/page.mako @@ -0,0 +1,14 @@ +<%! + title = "" +%> + +<%inherit file="/root.mako" /> + +

${self.attr.title}

+
+ ${next.body()} +
+ +<%def name="menu_name()"> + ${self.attr.title} + diff --git a/templates/pages/development.mako b/templates/pages/development.mako new file mode 100644 index 0000000..20fc521 --- /dev/null +++ b/templates/pages/development.mako @@ -0,0 +1,7 @@ +<%! + title = "Development" +%> +<%inherit file="/page.mako" /> +

+Developers, Developers, Developers +

diff --git a/templates/pages/download.mako b/templates/pages/download.mako new file mode 100644 index 0000000..87b1a6f --- /dev/null +++ b/templates/pages/download.mako @@ -0,0 +1,7 @@ +<%! + title = "Download" +%> +<%inherit file="/page.mako" /> +

+From somewhere... +

diff --git a/templates/pages/index.mako b/templates/pages/index.mako new file mode 100644 index 0000000..6dec44b --- /dev/null +++ b/templates/pages/index.mako @@ -0,0 +1,8 @@ +<%! + title = "Portato" +%> +<%inherit file="/page.mako" /> + +

+Hier haben wir als irgendwas über Portato. +

diff --git a/templates/root.mako b/templates/root.mako new file mode 100644 index 0000000..97bd983 --- /dev/null +++ b/templates/root.mako @@ -0,0 +1,61 @@ + + + + + + ${self.title()} + ${self.style()} + + + +
+ + + +
+ +
+
+
+ ${next.body()} +
+
+
 
+
+ + + + +<%def name="title()"> + Portato + + +<%def name="style()"> + + + +<%def name="footer()"> + powered by web.py & mako | + © 2009. All Rights Reserved. René Neumann | + with the help of Free CSS Templates. + + +<%def name="menu()"> + + -- cgit v1.2.3