summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/admin_question_answered.html9
-rw-r--r--templates/admin_question_unanswered.html14
-rw-r--r--templates/admin_questions.html6
3 files changed, 26 insertions, 3 deletions
diff --git a/templates/admin_question_answered.html b/templates/admin_question_answered.html
new file mode 100644
index 00000000..e4f07932
--- /dev/null
+++ b/templates/admin_question_answered.html
@@ -0,0 +1,9 @@
+<tr>
+ <td> %question_nick% </td>
+ <td> %question% </td>
+ <td> %answer_nick% </td>
+ <td> %answer% </td>
+ <td>
+ <a href="%link%&action=delete&id=%question_id%">Delete</a>
+ </td>
+</tr>
diff --git a/templates/admin_question_unanswered.html b/templates/admin_question_unanswered.html
new file mode 100644
index 00000000..fc3db78a
--- /dev/null
+++ b/templates/admin_question_unanswered.html
@@ -0,0 +1,14 @@
+<tr>
+ <td> %question_nick% </td>
+ <td> %question% </td>
+ <td>
+ <form action="%link%&action=answer" method="post">
+ <textarea name="answer"></textarea>
+ <input type="hidden" name="id" value="%question_id%" />
+ <input type="submit" name="submit" value="Send" />
+ </form>
+ </td>
+ <td>
+ <a href="%link%&action=delete&id=%question_id%">Delete</a>
+ </td>
+</tr>
diff --git a/templates/admin_questions.html b/templates/admin_questions.html
index ad8d6572..171f10b5 100644
--- a/templates/admin_questions.html
+++ b/templates/admin_questions.html
@@ -25,6 +25,9 @@ Not yet answered questions:
<thead>
<tr>
<th>
+ From
+ </th>
+ <th>
Question
</th>
<th>
@@ -34,9 +37,6 @@ Not yet answered questions:
Answer
</th>
<th>
- From
- </th>
- <th>
&nbsp;
</th>
</tr>