summaryrefslogtreecommitdiff
path: root/examples/filebrowser/templates/standard_template.pt
diff options
context:
space:
mode:
Diffstat (limited to 'examples/filebrowser/templates/standard_template.pt')
-rw-r--r--examples/filebrowser/templates/standard_template.pt55
1 files changed, 55 insertions, 0 deletions
diff --git a/examples/filebrowser/templates/standard_template.pt b/examples/filebrowser/templates/standard_template.pt
new file mode 100644
index 0000000..9cf589a
--- /dev/null
+++ b/examples/filebrowser/templates/standard_template.pt
@@ -0,0 +1,55 @@
+<metal:tpl define-macro="page">
+<tal:if condition="not: servlet/fragment">
+<!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'">
+<script type="text/javascript"
+ tal:attributes="src string: ${servlet/app_url}/_js-lib/prototype-1.2.0.js">
+</script>
+<script type="text/javascript"
+ tal:attributes="src string: ${servlet/app_url}/_js-lib/common.js">
+</script>
+
+<metal:slot define-slot="extra_head"></metal:slot>
+
+</head>
+<body>
+
+<fieldset id="copybinframe">
+<legend>clipboard <a onclick="toggle('copybin', {link: this})"
+ tal:attributes="hiddenhtml
+ servlet/icons/1uparrow.png/alt=show/title=show+clipboard/html"
+ tal:content="structure servlet/icons/1downarrow.png/alt=hide/title=hide+clipboard/html"/></legend>
+<div id="copybin">
+<metal:tpl use-macro="here/copybin.pt/macros/copybin">
+</metal:tpl>
+</div>
+</fieldset>
+
+<h1><tal:mark replace="servlet/html_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>
+</tal:if>
+<tal:if condition="servlet/fragment">
+<metal:tpl define-slot="body">
+[This page has not customized its "body" slot]
+</metal:tpl>
+</tal:if>
+</metal:tpl>