summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/user_questions.html52
1 files changed, 52 insertions, 0 deletions
diff --git a/templates/user_questions.html b/templates/user_questions.html
new file mode 100644
index 00000000..96b1e980
--- /dev/null
+++ b/templates/user_questions.html
@@ -0,0 +1,52 @@
+Not yet answered questions:
+<table>
+ <thead>
+ <tr>
+ <th>
+ Question
+ </th>
+ <th>
+ &nbsp;
+ </th>
+ </tr>
+ </thead>
+ <tbody>
+ %open_questions%
+ </tbody>
+</table>
+<hr/> Answered questions:
+<table>
+ <thead>
+ <tr>
+ <th>
+ Question
+ </th>
+ <th>
+ From
+ </th>
+ <th>
+ Answer
+ </th>
+ <th>
+ &nbsp;
+ </th>
+ </tr>
+ </thead>
+ <tbody>
+ %answered_questions%
+ </tbody>
+</table>
+<hr/>
+<form action="%link%&action=ask" method="post">
+ <table>
+ <tr>
+ <td>
+ Question:
+ </td>
+ <td>
+ <textarea name="question"></textarea>
+ </td>
+ </tr>
+ </table>
+ <input type="submit" name="submit" value="Ask" />
+</form> \ No newline at end of file