Mercurial > hg > Blog
annotate themes/tuxlite_tbs/templates/simple_comments.html @ 52:94cc5f43d9d1
add an entry about recompiling JDK classes
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Sun, 21 Dec 2014 17:40:53 +0100 |
parents | 96084c11584a |
children | c2b99e876559 |
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> |
36
96084c11584a
comment out the captcha code. Trying the new approach to accept any blog post comment and
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
29
diff
changeset
|
21 {% if False %} |
29 | 22 <form action="http://xanthippe.duckdns.org/blog-comments/simple_comments.php" method="POST"> |
36
96084c11584a
comment out the captcha code. Trying the new approach to accept any blog post comment and
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
29
diff
changeset
|
23 {% endif %} |
96084c11584a
comment out the captcha code. Trying the new approach to accept any blog post comment and
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
29
diff
changeset
|
24 <form action="http://xanthippe.duckdns.org/blog-comments/submit_comment.php" method="POST"> |
10
bd8e75de187a
use the simple_comments plugin instead of juvia now
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
25 <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
|
26 <table style="padding: 10px 0px 0px 0px;"> |
7bfdc2b1d768
generate a captcha per blog post
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
11
diff
changeset
|
27 <tr> |
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 Your name: |
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 <td> |
7bfdc2b1d768
generate a captcha per blog post
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
11
diff
changeset
|
32 <input type="text" name="Author"> |
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 </tr> |
7bfdc2b1d768
generate a captcha per blog post
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
11
diff
changeset
|
35 <tr> |
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 Comment: |
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 <td> |
7bfdc2b1d768
generate a captcha per blog post
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
11
diff
changeset
|
40 <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
|
41 </td> |
7bfdc2b1d768
generate a captcha per blog post
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
11
diff
changeset
|
42 </tr> |
36
96084c11584a
comment out the captcha code. Trying the new approach to accept any blog post comment and
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
29
diff
changeset
|
43 {% if False %} |
12
7bfdc2b1d768
generate a captcha per blog post
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
11
diff
changeset
|
44 <tr> |
7bfdc2b1d768
generate a captcha per blog post
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
11
diff
changeset
|
45 <td colspan="2"> |
7bfdc2b1d768
generate a captcha per blog post
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
11
diff
changeset
|
46 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
|
47 <td> |
7bfdc2b1d768
generate a captcha per blog post
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
11
diff
changeset
|
48 <td></td> |
7bfdc2b1d768
generate a captcha per blog post
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
11
diff
changeset
|
49 </tr> |
7bfdc2b1d768
generate a captcha per blog post
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
11
diff
changeset
|
50 <tr> |
7bfdc2b1d768
generate a captcha per blog post
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
11
diff
changeset
|
51 <td> |
7bfdc2b1d768
generate a captcha per blog post
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
11
diff
changeset
|
52 <img src="{{ SITEURL }}/{{ article.slug }}.jpg"> |
7bfdc2b1d768
generate a captcha per blog post
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
11
diff
changeset
|
53 </td> |
7bfdc2b1d768
generate a captcha per blog post
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
11
diff
changeset
|
54 <td> |
7bfdc2b1d768
generate a captcha per blog post
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
11
diff
changeset
|
55 <input type="text" name="Challenge"> |
7bfdc2b1d768
generate a captcha per blog post
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
11
diff
changeset
|
56 </td> |
7bfdc2b1d768
generate a captcha per blog post
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
11
diff
changeset
|
57 </tr> |
36
96084c11584a
comment out the captcha code. Trying the new approach to accept any blog post comment and
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
29
diff
changeset
|
58 {% endif %} |
12
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 <td> |
7bfdc2b1d768
generate a captcha per blog post
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
11
diff
changeset
|
61 <input type="submit" value="Submit"> |
7bfdc2b1d768
generate a captcha per blog post
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
11
diff
changeset
|
62 </td> |
7bfdc2b1d768
generate a captcha per blog post
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
11
diff
changeset
|
63 <td></td> |
7bfdc2b1d768
generate a captcha per blog post
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
11
diff
changeset
|
64 </tr> |
7bfdc2b1d768
generate a captcha per blog post
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
11
diff
changeset
|
65 </table> |
10
bd8e75de187a
use the simple_comments plugin instead of juvia now
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
66 </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
|
67 </div> |
bb1f035109da
turn off comments for the eclipse validation article which attracts comment spam
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
10
diff
changeset
|
68 {% endif %} |