pyalchemybiz/pyalchemybiz/templates/base/base.mako
Jan Dittberner e3fe3f8353 improve customer controller and templates (addresses #21)
* fix xhtml compliance
 * add form validation
 * move common template code to a separate file
2009-03-14 19:13:52 +01:00

31 lines
908 B
Mako

## -*- coding: utf-8 -*-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>${self.title()}</title>
${h.stylesheet_link('/pyalchemybiz.css')}
${h.javascript_link('/js/jquery.js', '/js/pyalchemybiz.js')}
${self.head()}
</head>
<body>
<div id="header">${self.header()}</div>
${self.tabs()}
${self.menu()}
${self.heading()}
${self.breadcrumbs()}
${next.body()}
${self.footer()}
</body>
</html>
<%def name="title()">${_('PyAlchemyBiz')}</%def>
<%def name="head()"></%def>
<%def name="header()"><a id="top"></a></%def>
<%def name="tabs()"></%def>
<%def name="menu()"></%def>
<%def name="heading()"><h1>${c.heading or _('PyAlchemyBiz')}</h1></%def>
<%def name="breadcrumbs()"></%def>
<%def name="footer()"><p><a href="#top">Top ^</a></p></%def>