drop old layout template
authorTero Marttila <terom@paivola.fi>
Sun, 14 Sep 2014 03:50:29 +0300
changeset 212 695275f5b987
parent 211 437c611c1caa
child 213 121cf2e6330f
drop old layout template
qmsk_www/templates/layout.tmpl
--- a/qmsk_www/templates/layout.tmpl	Sun Sep 14 03:39:52 2014 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,56 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-
-<%def name="render_menu(open_page, page, items, ancestry)">
-<ul>
-% for pi in items :
-    <li>
-        <a href="${req.page_prefix}/${pi.url}"${' class="selected-page"' if pi == open_page else ''}>${pi.title} ${'&raquo;' if pi.children and pi.parent else ''}</a>
-    % if pi in ancestry and pi.children and pi.parent :
-        ${render_menu(page, pi, pi.children, ancestry)}
-    % endif
-    </li>
-% endfor
-</ul>
-</%def>
-
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
-    <head>
-        <title>qmsk.net ${' :: ' + h.breadcrumb(menu.ancestry, links=False) if menu.ancestry else ''}</title>
-        <link rel="Stylesheet" type="text/css" href="${req.site_root}/static/style.css" />
-    </head>
-    <body>
-            <div id="header">
-                <a href="${req.page_prefix}/">QMSK.NET</a>
-            </div>
-            
-            <div id="container">
-                <div id="nav">
-                    ${render_menu(menu.page, menu.page, menu.items, menu.ancestry)}
-                </div>
-
-                <div id="content">
-                    <div id="breadcrumb">
-                        <!-- ${h.breadcrumb(menu.ancestry)} -->
-                    </div>
-                    ${page.content}
-                </div>
-                
-            </div>
-
-            <div id="footer">
-                <div id="footer-right">
-                    Page Modified ${page.modified} <br/>
-                    Current time ${h.now()}
-                </div>
-               
-                <div id="footer-left">
-                    &copy; ${h.copyright_year()} Tero Marttila
-                </div>
-                
-                <div id="footer-center">
-                    ${h.validation_notice(req.site_host)}
-                </div>
-            </div>
-    </body>
-</html>
-