Mercurial > hg > Blog
annotate themes/tuxlite_tbs/templates/simple_comments.html @ 34:822bec7ea32d
add a folder for content that's not ready to be published yet
| author | Dirk Olmes <dirk@xanthippe.ping.de> | 
|---|---|
| date | Fri, 29 Aug 2014 06:14:28 +0200 | 
| parents | 7380bf280fc9 | 
| children | 96084c11584a | 
| rev | line source | 
|---|---|
| 
10
 
bd8e75de187a
use the simple_comments plugin instead of juvia now
 
Dirk Olmes <dirk@xanthippe.ping.de> 
parents:  
diff
changeset
 | 
1 {% if article.comments %} | 
| 
 
bd8e75de187a
use the simple_comments plugin instead of juvia now
 
Dirk Olmes <dirk@xanthippe.ping.de> 
parents:  
diff
changeset
 | 
2 {% for comment in article.comments %} | 
| 
 
bd8e75de187a
use the simple_comments plugin instead of juvia now
 
Dirk Olmes <dirk@xanthippe.ping.de> 
parents:  
diff
changeset
 | 
3 <div style="border-bottom: 1px dotted #CCCCCC; padding: 20px 0px 20px 0px;"> | 
| 
 
bd8e75de187a
use the simple_comments plugin instead of juvia now
 
Dirk Olmes <dirk@xanthippe.ping.de> 
parents:  
diff
changeset
 | 
4 <div style="font-weight: bold;"> | 
| 
 
bd8e75de187a
use the simple_comments plugin instead of juvia now
 
Dirk Olmes <dirk@xanthippe.ping.de> 
parents:  
diff
changeset
 | 
5 {{ comment.Author }} | 
| 
 
bd8e75de187a
use the simple_comments plugin instead of juvia now
 
Dirk Olmes <dirk@xanthippe.ping.de> 
parents:  
diff
changeset
 | 
6 </div> | 
| 
 
bd8e75de187a
use the simple_comments plugin instead of juvia now
 
Dirk Olmes <dirk@xanthippe.ping.de> 
parents:  
diff
changeset
 | 
7 <div style="font-size: 80%; padding: 0px 0px 10px 0px;"> | 
| 
 
bd8e75de187a
use the simple_comments plugin instead of juvia now
 
Dirk Olmes <dirk@xanthippe.ping.de> 
parents:  
diff
changeset
 | 
8 {{ comment.Date }} | 
| 
 
bd8e75de187a
use the simple_comments plugin instead of juvia now
 
Dirk Olmes <dirk@xanthippe.ping.de> 
parents:  
diff
changeset
 | 
9 </div> | 
| 
 
bd8e75de187a
use the simple_comments plugin instead of juvia now
 
Dirk Olmes <dirk@xanthippe.ping.de> 
parents:  
diff
changeset
 | 
10 <div> | 
| 
 
bd8e75de187a
use the simple_comments plugin instead of juvia now
 
Dirk Olmes <dirk@xanthippe.ping.de> 
parents:  
diff
changeset
 | 
11 {{ comment.text }} | 
| 
 
bd8e75de187a
use the simple_comments plugin instead of juvia now
 
Dirk Olmes <dirk@xanthippe.ping.de> 
parents:  
diff
changeset
 | 
12 </div> | 
| 
 
bd8e75de187a
use the simple_comments plugin instead of juvia now
 
Dirk Olmes <dirk@xanthippe.ping.de> 
parents:  
diff
changeset
 | 
13 </div> | 
| 
 
bd8e75de187a
use the simple_comments plugin instead of juvia now
 
Dirk Olmes <dirk@xanthippe.ping.de> 
parents:  
diff
changeset
 | 
14 {% endfor %} | 
| 
 
bd8e75de187a
use the simple_comments plugin instead of juvia now
 
Dirk Olmes <dirk@xanthippe.ping.de> 
parents:  
diff
changeset
 | 
15 {% endif %} | 
| 
11
 
bb1f035109da
turn off comments for the eclipse validation article which attracts comment spam
 
Dirk Olmes <dirk@xanthippe.ping.de> 
parents: 
10 
diff
changeset
 | 
16 {% if article.metadata.allowcomments %} | 
| 
10
 
bd8e75de187a
use the simple_comments plugin instead of juvia now
 
Dirk Olmes <dirk@xanthippe.ping.de> 
parents:  
diff
changeset
 | 
17 <div style="padding: 20px 0px 0px 0px;"> | 
| 
 
bd8e75de187a
use the simple_comments plugin instead of juvia now
 
Dirk Olmes <dirk@xanthippe.ping.de> 
parents:  
diff
changeset
 | 
18 <div style="font-size: 120%;"> | 
| 
 
bd8e75de187a
use the simple_comments plugin instead of juvia now
 
Dirk Olmes <dirk@xanthippe.ping.de> 
parents:  
diff
changeset
 | 
19 Leave a comment | 
| 
 
bd8e75de187a
use the simple_comments plugin instead of juvia now
 
Dirk Olmes <dirk@xanthippe.ping.de> 
parents:  
diff
changeset
 | 
20 </div> | 
| 29 | 21 <form action="http://xanthippe.duckdns.org/blog-comments/simple_comments.php" method="POST"> | 
| 
10
 
bd8e75de187a
use the simple_comments plugin instead of juvia now
 
Dirk Olmes <dirk@xanthippe.ping.de> 
parents:  
diff
changeset
 | 
22 <input type="hidden" name="Slug" value="{{ article.slug }}"> | 
| 
12
 
7bfdc2b1d768
generate a captcha per blog post
 
Dirk Olmes <dirk@xanthippe.ping.de> 
parents: 
11 
diff
changeset
 | 
23 <table style="padding: 10px 0px 0px 0px;"> | 
| 
 
7bfdc2b1d768
generate a captcha per blog post
 
Dirk Olmes <dirk@xanthippe.ping.de> 
parents: 
11 
diff
changeset
 | 
24 <tr> | 
| 
 
7bfdc2b1d768
generate a captcha per blog post
 
Dirk Olmes <dirk@xanthippe.ping.de> 
parents: 
11 
diff
changeset
 | 
25 <td> | 
| 
 
7bfdc2b1d768
generate a captcha per blog post
 
Dirk Olmes <dirk@xanthippe.ping.de> 
parents: 
11 
diff
changeset
 | 
26 Your name: | 
| 
 
7bfdc2b1d768
generate a captcha per blog post
 
Dirk Olmes <dirk@xanthippe.ping.de> 
parents: 
11 
diff
changeset
 | 
27 </td> | 
| 
 
7bfdc2b1d768
generate a captcha per blog post
 
Dirk Olmes <dirk@xanthippe.ping.de> 
parents: 
11 
diff
changeset
 | 
28 <td> | 
| 
 
7bfdc2b1d768
generate a captcha per blog post
 
Dirk Olmes <dirk@xanthippe.ping.de> 
parents: 
11 
diff
changeset
 | 
29 <input type="text" name="Author"> | 
| 
 
7bfdc2b1d768
generate a captcha per blog post
 
Dirk Olmes <dirk@xanthippe.ping.de> 
parents: 
11 
diff
changeset
 | 
30 </td> | 
| 
 
7bfdc2b1d768
generate a captcha per blog post
 
Dirk Olmes <dirk@xanthippe.ping.de> 
parents: 
11 
diff
changeset
 | 
31 </tr> | 
| 
 
7bfdc2b1d768
generate a captcha per blog post
 
Dirk Olmes <dirk@xanthippe.ping.de> 
parents: 
11 
diff
changeset
 | 
32 <tr> | 
| 
 
7bfdc2b1d768
generate a captcha per blog post
 
Dirk Olmes <dirk@xanthippe.ping.de> 
parents: 
11 
diff
changeset
 | 
33 <td> | 
| 
 
7bfdc2b1d768
generate a captcha per blog post
 
Dirk Olmes <dirk@xanthippe.ping.de> 
parents: 
11 
diff
changeset
 | 
34 Comment: | 
| 
 
7bfdc2b1d768
generate a captcha per blog post
 
Dirk Olmes <dirk@xanthippe.ping.de> 
parents: 
11 
diff
changeset
 | 
35 </td> | 
| 
 
7bfdc2b1d768
generate a captcha per blog post
 
Dirk Olmes <dirk@xanthippe.ping.de> 
parents: 
11 
diff
changeset
 | 
36 <td> | 
| 
 
7bfdc2b1d768
generate a captcha per blog post
 
Dirk Olmes <dirk@xanthippe.ping.de> 
parents: 
11 
diff
changeset
 | 
37 <textarea rows="5" cols="60" name="Comment"></textarea> | 
| 
 
7bfdc2b1d768
generate a captcha per blog post
 
Dirk Olmes <dirk@xanthippe.ping.de> 
parents: 
11 
diff
changeset
 | 
38 </td> | 
| 
 
7bfdc2b1d768
generate a captcha per blog post
 
Dirk Olmes <dirk@xanthippe.ping.de> 
parents: 
11 
diff
changeset
 | 
39 </tr> | 
| 
 
7bfdc2b1d768
generate a captcha per blog post
 
Dirk Olmes <dirk@xanthippe.ping.de> 
parents: 
11 
diff
changeset
 | 
40 <tr> | 
| 
 
7bfdc2b1d768
generate a captcha per blog post
 
Dirk Olmes <dirk@xanthippe.ping.de> 
parents: 
11 
diff
changeset
 | 
41 <td colspan="2"> | 
| 
 
7bfdc2b1d768
generate a captcha per blog post
 
Dirk Olmes <dirk@xanthippe.ping.de> 
parents: 
11 
diff
changeset
 | 
42 Please type the characters you see in this image: | 
| 
 
7bfdc2b1d768
generate a captcha per blog post
 
Dirk Olmes <dirk@xanthippe.ping.de> 
parents: 
11 
diff
changeset
 | 
43 <td> | 
| 
 
7bfdc2b1d768
generate a captcha per blog post
 
Dirk Olmes <dirk@xanthippe.ping.de> 
parents: 
11 
diff
changeset
 | 
44 <td></td> | 
| 
 
7bfdc2b1d768
generate a captcha per blog post
 
Dirk Olmes <dirk@xanthippe.ping.de> 
parents: 
11 
diff
changeset
 | 
45 </tr> | 
| 
 
7bfdc2b1d768
generate a captcha per blog post
 
Dirk Olmes <dirk@xanthippe.ping.de> 
parents: 
11 
diff
changeset
 | 
46 <tr> | 
| 
 
7bfdc2b1d768
generate a captcha per blog post
 
Dirk Olmes <dirk@xanthippe.ping.de> 
parents: 
11 
diff
changeset
 | 
47 <td> | 
| 
 
7bfdc2b1d768
generate a captcha per blog post
 
Dirk Olmes <dirk@xanthippe.ping.de> 
parents: 
11 
diff
changeset
 | 
48 <img src="{{ SITEURL }}/{{ article.slug }}.jpg"> | 
| 
 
7bfdc2b1d768
generate a captcha per blog post
 
Dirk Olmes <dirk@xanthippe.ping.de> 
parents: 
11 
diff
changeset
 | 
49 </td> | 
| 
 
7bfdc2b1d768
generate a captcha per blog post
 
Dirk Olmes <dirk@xanthippe.ping.de> 
parents: 
11 
diff
changeset
 | 
50 <td> | 
| 
 
7bfdc2b1d768
generate a captcha per blog post
 
Dirk Olmes <dirk@xanthippe.ping.de> 
parents: 
11 
diff
changeset
 | 
51 <input type="text" name="Challenge"> | 
| 
 
7bfdc2b1d768
generate a captcha per blog post
 
Dirk Olmes <dirk@xanthippe.ping.de> 
parents: 
11 
diff
changeset
 | 
52 </td> | 
| 
 
7bfdc2b1d768
generate a captcha per blog post
 
Dirk Olmes <dirk@xanthippe.ping.de> 
parents: 
11 
diff
changeset
 | 
53 </tr> | 
| 
 
7bfdc2b1d768
generate a captcha per blog post
 
Dirk Olmes <dirk@xanthippe.ping.de> 
parents: 
11 
diff
changeset
 | 
54 <tr> | 
| 
 
7bfdc2b1d768
generate a captcha per blog post
 
Dirk Olmes <dirk@xanthippe.ping.de> 
parents: 
11 
diff
changeset
 | 
55 <td> | 
| 
 
7bfdc2b1d768
generate a captcha per blog post
 
Dirk Olmes <dirk@xanthippe.ping.de> 
parents: 
11 
diff
changeset
 | 
56 <input type="submit" value="Submit"> | 
| 
 
7bfdc2b1d768
generate a captcha per blog post
 
Dirk Olmes <dirk@xanthippe.ping.de> 
parents: 
11 
diff
changeset
 | 
57 </td> | 
| 
 
7bfdc2b1d768
generate a captcha per blog post
 
Dirk Olmes <dirk@xanthippe.ping.de> 
parents: 
11 
diff
changeset
 | 
58 <td></td> | 
| 
 
7bfdc2b1d768
generate a captcha per blog post
 
Dirk Olmes <dirk@xanthippe.ping.de> 
parents: 
11 
diff
changeset
 | 
59 </tr> | 
| 
 
7bfdc2b1d768
generate a captcha per blog post
 
Dirk Olmes <dirk@xanthippe.ping.de> 
parents: 
11 
diff
changeset
 | 
60 </table> | 
| 
10
 
bd8e75de187a
use the simple_comments plugin instead of juvia now
 
Dirk Olmes <dirk@xanthippe.ping.de> 
parents:  
diff
changeset
 | 
61 </form> | 
| 
11
 
bb1f035109da
turn off comments for the eclipse validation article which attracts comment spam
 
Dirk Olmes <dirk@xanthippe.ping.de> 
parents: 
10 
diff
changeset
 | 
62 </div> | 
| 
 
bb1f035109da
turn off comments for the eclipse validation article which attracts comment spam
 
Dirk Olmes <dirk@xanthippe.ping.de> 
parents: 
10 
diff
changeset
 | 
63 {% endif %} | 
