diff options
Diffstat (limited to 'repoze/bfg/sampleapp/www')
| -rw-r--r-- | repoze/bfg/sampleapp/www/blog.pt | 22 | ||||
| -rw-r--r-- | repoze/bfg/sampleapp/www/blog_entry.pt | 12 | ||||
| -rw-r--r-- | repoze/bfg/sampleapp/www/blog_entry_add.pt | 26 | ||||
| -rw-r--r-- | repoze/bfg/sampleapp/www/contents.pt | 6 |
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> |
