summaryrefslogtreecommitdiff
path: root/repoze/bfg/sampleapp/templates
diff options
context:
space:
mode:
Diffstat (limited to 'repoze/bfg/sampleapp/templates')
-rw-r--r--repoze/bfg/sampleapp/templates/blog.pt22
-rw-r--r--repoze/bfg/sampleapp/templates/blog_entry.pt12
-rw-r--r--repoze/bfg/sampleapp/templates/blog_entry_add.pt29
-rw-r--r--repoze/bfg/sampleapp/templates/contents.pt6
4 files changed, 0 insertions, 69 deletions
diff --git a/repoze/bfg/sampleapp/templates/blog.pt b/repoze/bfg/sampleapp/templates/blog.pt
deleted file mode 100644
index b428374fc..000000000
--- a/repoze/bfg/sampleapp/templates/blog.pt
+++ /dev/null
@@ -1,22 +0,0 @@
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:tal="http://xml.zope.org/namespaces/tal">
-<head></head>
-<body>
- <h1 tal:content="name">Blog Name</h1>
- <table border="0">
- <thead>
- <th>Title</th>
- <th>Author</th>
- <th>Created</th>
- </thead>
- <tr tal:repeat="entry entries">
- <td><a href="${entry.name}/">${entry.title}</a></td>
- <td>${entry.author}</td>
- <td>${entry.created}</td>
- </tr>
- </table>
- <p tal:condition="can_add">
- <a href="add_entry.html">Add blog entry</a>
- </p>
-</body>
-</html>
diff --git a/repoze/bfg/sampleapp/templates/blog_entry.pt b/repoze/bfg/sampleapp/templates/blog_entry.pt
deleted file mode 100644
index 6614e4950..000000000
--- a/repoze/bfg/sampleapp/templates/blog_entry.pt
+++ /dev/null
@@ -1,12 +0,0 @@
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:tal="http://xml.zope.org/namespaces/tal">
-<head></head>
-<body>
- <div>
- <p><a href="..">Up</a></p>
- <h1>${title}</h1>
- <p>by ${author}</p>
- <div tal:content="structure body"></div>
- </div>
-</body>
-</html>
diff --git a/repoze/bfg/sampleapp/templates/blog_entry_add.pt b/repoze/bfg/sampleapp/templates/blog_entry_add.pt
deleted file mode 100644
index f06042c03..000000000
--- a/repoze/bfg/sampleapp/templates/blog_entry_add.pt
+++ /dev/null
@@ -1,29 +0,0 @@
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:tal="http://xml.zope.org/namespaces/tal">
-<head>
-</head>
-<body>
- <form action="${request.path_url}" method="POST">
- <h2 tal:condition="message" tal:content="message"></h2>
- <h1>Add a blog entry</h1>
- <table border="0">
- <tr>
- <th>Title</th>
- <td><input type="text" name="title" tal:attributes="value title"/></td>
- </tr>
- <tr>
- <th>Author</th>
- <td><input type="text" name="author" tal:attributes="value author"/></td>
- </tr>
- <tr>
- <th>Body</th>
- <td><textarea name="body" rows="10" cols="80" tal:content="body"
- ></textarea></td>
- </tr>
- <tr>
- <td><input type="submit" name="form.submitted" value="Add"/></td>
- </tr>
- </table>
- </form>
-</body>
-</html>
diff --git a/repoze/bfg/sampleapp/templates/contents.pt b/repoze/bfg/sampleapp/templates/contents.pt
deleted file mode 100644
index eaae20ed5..000000000
--- a/repoze/bfg/sampleapp/templates/contents.pt
+++ /dev/null
@@ -1,6 +0,0 @@
-<div xmlns="http://www.w3.org/1999/xhtml"
- xmlns:tal="http://xml.zope.org/namespaces/tal">
- <div tal:repeat="name context">
- <a href="${name}/">${name}</a>
- </div>
-</div>