summaryrefslogtreecommitdiff
path: root/examples/todo_wareweb/templates/standard_template.pt
blob: 0abe2dd6548de22b308cd91bee257921953ba90c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<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.app_static_url + '/stylesheet.css'">

<metal:slot define-slot="extra_head"></metal:slot>

</head>
<body>

<h1><tal:mark replace="servlet/title"/></h1>

<div class="notifyMessage"
 tal:condition="servlet/message"
 tal:content="structure servlet/message/html">
    [This is where the notification messages go]
</div>

<div id="content">
<metal:tpl define-slot="body">
[This page has not customized its "body" slot]
</metal:tpl>
</div>

</body>
</html>
</metal:tpl>