author | Tero Marttila <terom@fixme.fi> |
Sat, 07 Feb 2009 03:01:46 +0200 | |
changeset 161 | 6312d9ee5287 |
parent 160 | f1e92703a903 |
child 162 | 64bdf9742baf |
templates/__init__.py | file | annotate | diff | comparison | revisions | |
templates/error_404.tmpl | file | annotate | diff | comparison | revisions | |
templates/main.tmpl | file | annotate | diff | comparison | revisions | |
templates/projects.tmpl | file | annotate | diff | comparison | revisions |
--- a/templates/__init__.py Sat Feb 07 03:00:11 2009 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,20 +0,0 @@ - -# system imports -from Cheetah.Template import Template as _CheetahTemplate - -# base template -class _BaseTemplate (_CheetahTemplate) : - def __init__ (self, req) : - """ - Blah - """ - - # XXX: not done - pass - - -# import templates -from layout import layout -from main import main -from error_404 import error_404 -
--- a/templates/error_404.tmpl Sat Feb 07 03:00:11 2009 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,10 +0,0 @@ -#extends layout -#def page_content -<h1>Oops! Not Found</h1> - -<p>The page you requested does not seem to exist. Perhaps you can find what you're looking for in the menu at the left?</p> - -<pre> - Requested Path: $page_path -</pre> -#end def