diff options
| author | ianb <devnull@localhost> | 2005-04-22 02:44:48 +0000 |
|---|---|---|
| committer | ianb <devnull@localhost> | 2005-04-22 02:44:48 +0000 |
| commit | 4431828c677e6104b7abc62b31a933d2793ff6cf (patch) | |
| tree | 887f7b87f167a988566657304331ba8bb15ed4d6 /examples/todo_sql/templates/standard_template.pt | |
| download | paste-4431828c677e6104b7abc62b31a933d2793ff6cf.tar.gz | |
Renamed WSGIKit to Paste
Diffstat (limited to 'examples/todo_sql/templates/standard_template.pt')
| -rw-r--r-- | examples/todo_sql/templates/standard_template.pt | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/examples/todo_sql/templates/standard_template.pt b/examples/todo_sql/templates/standard_template.pt new file mode 100644 index 0000000..e3ff01d --- /dev/null +++ b/examples/todo_sql/templates/standard_template.pt @@ -0,0 +1,43 @@ +<metal:tpl define-macro="page"> +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" + "http://www.w3.org/TR/REC-html40/loose.dtd"> +<html lang="en-US"> +<head> +<title tal:content="servlet/title">title</title> +<link rel="stylesheet" type="text/css" + tal:attributes="href python: servlet.baseStaticURL + '/stylesheet.css'"> + +<metal:slot define-slot="extra_head"></metal:slot> + +</head> +<body> + +<h1 id="header"><tal:mark replace="servlet/title"/></h1> + +<table width="100%"> +<tr> +<td id="sidenav" width="20%"> +<a tal:attributes="href servlet/baseURL">Home</a><br> +<tal:for repeat="list options/lists"> + <a tal:attributes="href python: '%s/view_list?id=%s' % + (servlet.baseURL, list.id)" + tal:content="list/description">link</a><br> +</tal:for> +</td> + +<td> +<span tal:replace="structure servlet/messageText"> +This is where the notification messages go. +</span> + +<div id="content"> +<metal:tpl define-slot="body"> +[This page has not customized its "body" slot] +</metal:tpl> +</div> + +</td></tr></table> + +</body> +</html> +</metal:tpl> |
