summaryrefslogtreecommitdiffhomepage
path: root/apioforum/templates/view_forum.html
diff options
context:
space:
mode:
Diffstat (limited to 'apioforum/templates/view_forum.html')
-rw-r--r--apioforum/templates/view_forum.html10
1 files changed, 8 insertions, 2 deletions
diff --git a/apioforum/templates/view_forum.html b/apioforum/templates/view_forum.html
index a4a1ee1..ee0e496 100644
--- a/apioforum/templates/view_forum.html
+++ b/apioforum/templates/view_forum.html
@@ -1,7 +1,8 @@
{% extends 'base.html' %}
-{% from 'common.html' import ts %}
+{% from 'common.html' import ts, tag %}
{% block header %}<h1>{% block title %}apioforum{%endblock%}</h1>{%endblock%}
-{%block content%}
+{%block nmcontent%}
+<main class="widemain">
<p>welcome to the apioforum</p>
<p>forum rules: do not be a bad person. do not do bad things.</p>
{% if g.user %}
@@ -14,6 +15,9 @@
<div class="threadlisting-part threadlisting-part-title threadlisting-header">
name
</div>
+ <div class="threadlisting-part threadlisting-part-tags threadlisting-header">
+ tags
+ </div>
<div class="threadlisting-part threadlisting-part-creator threadlisting-header">
creator
</div>
@@ -33,6 +37,7 @@
{%for thread in threads%}
<div class="threadlisting">
<div class="threadlisting-part threadlisting-part-title"><a href="{{url_for('thread.view_thread',thread_id=thread.id)}}">{{thread.title}}</a></div>
+ <div class="threadlisting-part threadlisting-part-tags">{{tag("the","black","yellow")}} {{tag("bees","yellow","black")}} {{tag("excellent","black","lightsteelblue")}}</div>
<div class="threadlisting-part threadlisting-part-creator">{{thread.creator}}</div>
<div class="threadlisting-part threadlisting-part-created">{{ts(thread.created)}}</div>
<div class="threadlisting-part threadlisting-part-updated">{{ts(thread.updated)}}</div>
@@ -41,4 +46,5 @@
</div>
{%endfor%}
</div>
+</main>
{%endblock%}