summaryrefslogtreecommitdiff
path: root/repoze/bfg/sampleapp/templates
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2008-08-24 01:59:07 +0000
committerChris McDonough <chrism@agendaless.com>2008-08-24 01:59:07 +0000
commit0a6da3800b963b2104c8e10598ac7589a81f981e (patch)
treea462056f22bcff3f08d82cec98682e1dfac7df5c /repoze/bfg/sampleapp/templates
parent2c647036d9ed5e5a27cb6b2a5700a8f0d3a7d2a7 (diff)
downloadpyramid-0a6da3800b963b2104c8e10598ac7589a81f981e.tar.gz
pyramid-0a6da3800b963b2104c8e10598ac7589a81f981e.tar.bz2
pyramid-0a6da3800b963b2104c8e10598ac7589a81f981e.zip
- Remove ``sampleapp`` sample application from bfg package itself.
- Remove dependency on FormEncode (only needed by sampleapp). - Fix paster template generation so that case-sensitivity is preserved for project vs. package name. - Depend on ``z3c.pt`` version 1.0a1 (which requires the ``[lxml]`` extra currently).
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>