diff options
Diffstat (limited to 'quoins/templates/delete_comment.html')
| -rw-r--r-- | quoins/templates/delete_comment.html | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/quoins/templates/delete_comment.html b/quoins/templates/delete_comment.html new file mode 100644 index 0000000..c2dd171 --- /dev/null +++ b/quoins/templates/delete_comment.html | |||
| @@ -0,0 +1,60 @@ | |||
| 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | ||
| 2 | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
| 3 | <html xmlns="http://www.w3.org/1999/xhtml" | ||
| 4 | xmlns:xi="http://www.w3.org/2001/XInclude" | ||
| 5 | xmlns:py="http://genshi.edgewall.org/"> | ||
| 6 | <xi:include href="master.html" /> | ||
| 7 | <xi:include href="blog-master.html" /> | ||
| 8 | |||
| 9 | <head> | ||
| 10 | <meta content="text/html; charset=UTF-8" http-equiv="content-type" py:replace="''"/> | ||
| 11 | <title>${blog.title}</title> | ||
| 12 | </head> | ||
| 13 | |||
| 14 | |||
| 15 | <body> | ||
| 16 | <div id="main"> | ||
| 17 | <div id="blog-content"> | ||
| 18 | |||
| 19 | <div class="blog-post"> | ||
| 20 | |||
| 21 | <div class="blog-comments" id="comments"> | ||
| 22 | |||
| 23 | <form action="${quoins.url('/delete_comment')}" method="post"> | ||
| 24 | <input type="hidden" name="id" value="${comment.id}" /> | ||
| 25 | <input type="hidden" name="confirm" value="1" /> | ||
| 26 | |||
| 27 | <p> Post: | ||
| 28 | <a href="${quoins.url('/post/%s'%comment.post.id)}">${comment.post.title}</a> | ||
| 29 | </p> | ||
| 30 | <p class="blog-comment-header"> | ||
| 31 | <span class="blog-comment-number"> | ||
| 32 | <a href="#comment-${comment.id}"> | ||
| 33 | [ X ] | ||
| 34 | </a> | ||
| 35 | </span> | ||
| 36 | | ||
| 37 | <span class="blog-comment-user" py:if="comment.url"> | ||
| 38 | <a href="${comment.url}">${comment.name}</a> | ||
| 39 | </span> | ||
| 40 | <span class="blog-comment-user" py:if="not comment.url"> | ||
| 41 | ${comment.name} | ||
| 42 | </span> | ||
| 43 | <br /> | ||
| 44 | <span class="blog-comment-date"> | ||
| 45 | ${comment.created.strftime('%B %d, %Y at %I:%M %p')} | ||
| 46 | </span> | ||
| 47 | </p> | ||
| 48 | |||
| 49 | <div class="blog-comment" py:content="comment.body" /> | ||
| 50 | |||
| 51 | <input type="submit" value="Delete comment"/> | ||
| 52 | </form> | ||
| 53 | </div> <!-- blog-comments --> | ||
| 54 | </div> <!-- blog-post --> | ||
| 55 | |||
| 56 | </div> <!-- blog-content --> | ||
| 57 | </div> <!-- main --> | ||
| 58 | |||
| 59 | </body> | ||
| 60 | </html> | ||
