summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2011-06-02 23:45:54 +0200
committerPhilip Häusler <msquare@notrademark.de>2011-06-02 23:45:54 +0200
commit0d6499f7f1aadabc345f6896fa3ad26f7a299150 (patch)
tree7adb673437e9fdc561fcfc3aebef713098f88ff1 /templates
parent3afd05636e46aedb53e1c1d954d23d6563b5e104 (diff)
user questions
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