view 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
line wrap: on
line source

{% if article.comments %}
    {% for comment in article.comments %}
    <div style="border-bottom: 1px dotted #CCCCCC; padding: 20px 0px 20px 0px;">
        <div style="font-weight: bold;">
            {{ comment.Author }}
        </div>
        <div style="font-size: 80%; padding: 0px 0px 10px 0px;">
            {{ comment.Date }}
        </div>
        <div>
            {{ comment.text }}
        </div>
    </div>
    {% endfor %}
{% endif %}
{% if article.metadata.allowcomments %}
<div style="padding: 20px 0px 0px 0px;">
    <div style="font-size: 120%;">
        Leave a comment
    </div>
{% if False %}
    <form action="http://xanthippe.duckdns.org/blog-comments/simple_comments.php" method="POST">
{% endif %}
    <form action="http://xanthippe.duckdns.org/blog-comments/submit_comment.php" method="POST">
        <input type="hidden" name="Slug" value="{{ article.slug }}">
        <table  style="padding: 10px 0px 0px 0px;">
            <tr>
                <td>
                    Your name:
                </td>
                <td>
                    <input type="text" name="Author">
                </td>
            </tr>
            <tr>
                <td>
                    Comment:
                </td>
                <td>
                    <textarea rows="5" cols="60" name="Comment"></textarea>
                </td>
            </tr>
{% if False %}
            <tr>
                <td colspan="2">
                    Please type the characters you see in this image:
                <td>
                <td></td>
            </tr>
            <tr>
                <td>
                    <img src="{{ SITEURL }}/{{ article.slug }}.jpg">
                </td>
                <td>
                    <input type="text" name="Challenge">
                </td>
            </tr>
{% endif %}
            <tr>
                <td>
                    <input type="submit" value="Submit">
                </td>
                <td></td>
            </tr>
        </table>
    </form>
</div>
{% endif %}