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.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/apioforum/templates/view_forum.html b/apioforum/templates/view_forum.html
new file mode 100644
index 0000000..2140c7a
--- /dev/null
+++ b/apioforum/templates/view_forum.html
@@ -0,0 +1,23 @@
+{% extends 'base.html' %}
+{% block header %}<h1>{% block title %}apio forum george etc{%endblock%}</h1>{%endblock%}
+{%block content%}
+<p>the</p>
+<table>
+ <tr>
+ <th>id</th>
+ <th>title</th>
+ <th>creator</th>
+ <th>created</th>
+ <th>updated</th>
+ </tr>
+{%for thread in threads%}
+<tr>
+ <td>#{{thread.id}}</td>
+ <td><a href="{{url_for('thread.view_thread',thread_id=thread.id)}}">{{thread.title}}</a></td>
+ <td>{{thread.creator}}</td>
+ <td>{{thread.created}}</td>
+ <td>{{thread.updated}}</td>
+</tr>
+{%endfor%}
+</table>
+{%endblock%}