summaryrefslogtreecommitdiff
path: root/repoze/bfg/sampleapp/www
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2008-07-12 16:28:05 +0000
committerChris McDonough <chrism@agendaless.com>2008-07-12 16:28:05 +0000
commit4c2f00452697031f3c8500f5c95705f17b86b776 (patch)
tree604c4664e684154947ad8d374159a86ac97c3cfa /repoze/bfg/sampleapp/www
parenteffbaa2f68cc3fcf4a29aa0c275648c2a52e9455 (diff)
downloadpyramid-4c2f00452697031f3c8500f5c95705f17b86b776.tar.gz
pyramid-4c2f00452697031f3c8500f5c95705f17b86b776.tar.bz2
pyramid-4c2f00452697031f3c8500f5c95705f17b86b776.zip
Use a djangoesque layout and naming scheme.
Diffstat (limited to 'repoze/bfg/sampleapp/www')
-rw-r--r--repoze/bfg/sampleapp/www/blog.pt22
-rw-r--r--repoze/bfg/sampleapp/www/blog_entry.pt12
-rw-r--r--repoze/bfg/sampleapp/www/blog_entry_add.pt26
-rw-r--r--repoze/bfg/sampleapp/www/contents.pt6
4 files changed, 0 insertions, 66 deletions
diff --git a/repoze/bfg/sampleapp/www/blog.pt b/repoze/bfg/sampleapp/www/blog.pt
deleted file mode 100644
index 8ccbe56a2..000000000
--- a/repoze/bfg/sampleapp/www/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 tal:define="info view.getInfo()">
- <h1 tal:content="info.name">Blog Name</h1>
- <table border="0">
- <thead>
- <th>Title</th>
- <th>Author</th>
- <th>Created</th>
- </thead>
- <tr tal:repeat="entry info.entries">
- <td><a href="${entry.name}/">${entry.title}</a></td>
- <td>${entry.author}</td>
- <td>${entry.created}</td>
- </tr>
- </table>
- <p>
- <a href="add_entry.html">Add blog entry</a>
- </p>
-</body>
-</html>
diff --git a/repoze/bfg/sampleapp/www/blog_entry.pt b/repoze/bfg/sampleapp/www/blog_entry.pt
deleted file mode 100644
index 20e1b4409..000000000
--- a/repoze/bfg/sampleapp/www/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 tal:define="info view.getInfo()">
- <p><a href="..">Up</a></p>
- <h1>${info.title}</h1>
- <p>by ${info.author}</p>
- <div tal:content="structure info.body"></div>
- </div>
-</body>
-</html>
diff --git a/repoze/bfg/sampleapp/www/blog_entry_add.pt b/repoze/bfg/sampleapp/www/blog_entry_add.pt
deleted file mode 100644
index b41ae4b02..000000000
--- a/repoze/bfg/sampleapp/www/blog_entry_add.pt
+++ /dev/null
@@ -1,26 +0,0 @@
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:tal="http://xml.zope.org/namespaces/tal">
-<head></head>
-<body>
- <form action="add_entry_handler" method="POST">
- <h1>Add a blog entry</h1>
- <table border="0">
- <tr>
- <th>Title</th>
- <td><input type="text" name="title"/></td>
- </tr>
- <tr>
- <th>Author</th>
- <td><input type="text" name="author"/></td>
- </tr>
- <tr>
- <th>Body</th>
- <td><textarea name="body" rows="10" value=""> </textarea></td>
- </tr>
- <tr>
- <td><input type="submit" name="add" value="Add"/></td>
- </tr>
- </table>
- </form>
-</body>
-</html>
diff --git a/repoze/bfg/sampleapp/www/contents.pt b/repoze/bfg/sampleapp/www/contents.pt
deleted file mode 100644
index eaae20ed5..000000000
--- a/repoze/bfg/sampleapp/www/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>