summaryrefslogtreecommitdiff
path: root/templates/comments/index.jinja
blob: daaf5eae273ab07f987c586fe12a3d2263e76cfb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<div id="comment-section" class="comment-section">
    {% for comment in page.items %}
	<div id="comment-{{comment.id}}" class="comment">
	    <section class="comment-meta">
		<div class="author">
		{% if comment.author is eq('') %}
		    Anonymous said:
		{% else %}
		    {{ comment.author }} said:
		{% endif %}
		</div>
		<div class="date">
		    {{ comment.created_at.date().isoformat() }}
		</div>
	    </section>
	    <textarea rows="4" cols="50" disabled="true">
		{{ comment.content }}
	    </textarea>
	    <section class="replies-thread">
		<div class="reply-tag">
		    <input class="replies-button" type="button" value="Replies" />
		</div>
		<div id="comment-replies-{{ comment.id }}" class="date">
		</div>
	    </section>
	</div>
    {% endfor %}
</div>