summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/admin_angel_types.html41
-rw-r--r--templates/admin_angel_types_edit_form.html24
-rw-r--r--templates/admin_faq.html56
-rw-r--r--templates/admin_faq_edit_form.html41
-rw-r--r--templates/admin_groups.html21
-rw-r--r--templates/admin_groups_edit_form.html21
-rw-r--r--templates/admin_question_answered.html9
-rw-r--r--templates/admin_question_unanswered.html14
-rw-r--r--templates/admin_questions.html47
-rw-r--r--templates/admin_rooms_edit_form.html59
-rw-r--r--templates/admin_rooms_new_form.html46
-rw-r--r--templates/guest_credits.html12
-rw-r--r--templates/guest_login_form.html22
-rw-r--r--templates/layout.html42
-rw-r--r--templates/user_messages.html50
-rw-r--r--templates/user_questions.html52
-rw-r--r--templates/user_settings.html106
-rw-r--r--templates/user_settings_tshirt.html4
-rw-r--r--templates/user_wakeup.html18
19 files changed, 685 insertions, 0 deletions
diff --git a/templates/admin_angel_types.html b/templates/admin_angel_types.html
new file mode 100644
index 00000000..4ad8e9f1
--- /dev/null
+++ b/templates/admin_angel_types.html
@@ -0,0 +1,41 @@
+Angel types:
+<table>
+ <thead>
+ <tr>
+ <th>
+ Name
+ </th>
+ <th>
+ Man
+ </th>
+ <th>
+ Action
+ </th>
+ </tr>
+ </thead>
+ <tbody>
+ %table%
+ </tbody>
+</table>
+<hr />
+<h2>Create new Angel type:</h2>
+<form action="%link%&action=create" method="post">
+ <table>
+ <tr>
+ <td>
+ Name
+ </td>
+ <td>
+ <input type="text" name="name" value="" />
+ </td>
+ </tr>
+ <tr>
+ <td>
+ Man
+ </td>
+ <td>
+ <input type="text" name="man" value="" />
+ </td>
+ </tr>
+ </table><input type="submit" name="submit" value="Create" />
+</form> \ No newline at end of file
diff --git a/templates/admin_angel_types_edit_form.html b/templates/admin_angel_types_edit_form.html
new file mode 100644
index 00000000..16ffebca
--- /dev/null
+++ b/templates/admin_angel_types_edit_form.html
@@ -0,0 +1,24 @@
+Edit angel type:
+<form action="%link%&action=save" method="post">
+ <table>
+ <tr>
+ <td>
+ Name
+ </td>
+ <td>
+ <input type="text" name="name" value="%name%" />
+ </td>
+ </tr>
+ <tr>
+ <td>
+ Man
+ </td>
+ <td>
+ <input type="text" name="man" value="%man%" />
+ </td>
+ </tr>
+ </table><input type="hidden" name="id" value="%id%" /><input type="submit" name="submit" value="Save" />
+</form>
+<form action="%link%&action=delete" method="post">
+ <input type="hidden" name="id" value="%id%" /><input type="submit" name="submit" value="Delete" />
+</form> \ No newline at end of file
diff --git a/templates/admin_faq.html b/templates/admin_faq.html
new file mode 100644
index 00000000..5dacf522
--- /dev/null
+++ b/templates/admin_faq.html
@@ -0,0 +1,56 @@
+<table>
+ <thead>
+ <tr>
+ <th>
+ Deutsch
+ </th>
+ <th>
+ English
+ </th>
+ <th>
+ &nbsp;
+ </th>
+ </tr>
+ </thead>
+ <tbody>
+ %faqs%
+ </tbody>
+</table>
+<hr/>Create new FAQ:
+<form action="%link%&action=create" method="post">
+ <table>
+ <tr>
+ <td>
+ Frage
+ </td>
+ <td>
+ <textarea name="frage"></textarea>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ Antwort
+ </td>
+ <td>
+ <textarea name="antwort"></textarea>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ Question
+ </td>
+ <td>
+ <textarea name="question"></textarea>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ Answer
+ </td>
+ <td>
+ <textarea name="answer"></textarea>
+ </td>
+ </tr>
+ </table>
+ <input type="submit" name="submit" value="Create" />
+</form> \ No newline at end of file
diff --git a/templates/admin_faq_edit_form.html b/templates/admin_faq_edit_form.html
new file mode 100644
index 00000000..1ef791aa
--- /dev/null
+++ b/templates/admin_faq_edit_form.html
@@ -0,0 +1,41 @@
+Edit FAQ:
+<form action="%link%&action=save" method="post">
+ <table>
+ <tr>
+ <td>
+ Frage
+ </td>
+ <td>
+ <textarea name="frage">%frage%</textarea>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ Antwort
+ </td>
+ <td>
+ <textarea name="antwort">%antwort%</textarea>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ Question
+ </td>
+ <td>
+ <textarea name="question">%question%</textarea>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ Answer
+ </td>
+ <td>
+ <textarea name="answer">%answer%</textarea>
+ </td>
+ </tr>
+ </table>
+ <input type="hidden" name="id" value="%id%" /><input type="submit" name="submit" value="Save" />
+</form><hr/>
+<form action="%link%&action=delete" method="post">
+ Delete FAQ: <input type="hidden" name="id" value="%id%" /><input type="submit" name="submit" value="Delete" />
+</form> \ No newline at end of file
diff --git a/templates/admin_groups.html b/templates/admin_groups.html
new file mode 100644
index 00000000..c5b4ac57
--- /dev/null
+++ b/templates/admin_groups.html
@@ -0,0 +1,21 @@
+Hallo %nick%,
+<br/>
+hier hast du die Möglichkeit Gruppenrechte zu ändern:
+<table>
+ <thead>
+ <tr>
+ <th>
+ Name
+ </th>
+ <th>
+ Rechte
+ </th>
+ <th>
+ &nbsp;
+ </th>
+ </tr>
+ </thead>
+ <tbody>
+ %groups%
+ </tbody>
+</table>
diff --git a/templates/admin_groups_edit_form.html b/templates/admin_groups_edit_form.html
new file mode 100644
index 00000000..5729df64
--- /dev/null
+++ b/templates/admin_groups_edit_form.html
@@ -0,0 +1,21 @@
+<form action="%link%&action=save" method="post">
+ <table>
+ <thead>
+ <tr>
+ <th>
+ &nbsp;
+ </th>
+ <th>
+ Name
+ </th>
+ <th>
+ Description
+ </th>
+ </tr>
+ </thead>
+ <tbody>
+ %privileges%
+ </tbody>
+ </table>
+ <input type="hidden" name="id" value="%id%" /><input type="submit" name="submit" value="Save" />
+</form> \ No newline at end of file
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
new file mode 100644
index 00000000..171f10b5
--- /dev/null
+++ b/templates/admin_questions.html
@@ -0,0 +1,47 @@
+Not yet answered questions:
+<table>
+ <thead>
+ <tr>
+ <th>
+ From
+ </th>
+ <th>
+ Question
+ </th>
+ <th>
+ Answer
+ </th>
+ <th>
+ &nbsp;
+ </th>
+ </tr>
+ </thead>
+ <tbody>
+ %open_questions%
+ </tbody>
+</table>
+<hr/> Answered questions:
+<table>
+ <thead>
+ <tr>
+ <th>
+ From
+ </th>
+ <th>
+ Question
+ </th>
+ <th>
+ From
+ </th>
+ <th>
+ Answer
+ </th>
+ <th>
+ &nbsp;
+ </th>
+ </tr>
+ </thead>
+ <tbody>
+ %answered_questions%
+ </tbody>
+</table>
diff --git a/templates/admin_rooms_edit_form.html b/templates/admin_rooms_edit_form.html
new file mode 100644
index 00000000..cd1506fa
--- /dev/null
+++ b/templates/admin_rooms_edit_form.html
@@ -0,0 +1,59 @@
+Raum und dafür benötigte Engel bearbeiten:
+<br/>
+<form action="%link%&action=changesave" method="post">
+ <table>
+ <tr>
+ <td>
+ Name
+ </td>
+ <td>
+ <input type="text" name="Name" value="%name%" />
+ </td>
+ </tr>
+ <tr>
+ <td>
+ Man
+ </td>
+ <td>
+ <input type="text" name="Man" value="%man%" />
+ </td>
+ </tr>
+ <tr>
+ <td>
+ From Pentabarf
+ </td>
+ <td>
+ %from_pentabarf_options%
+ </td>
+ </tr>
+ <tr>
+ <td>
+ Show
+ </td>
+ <td>
+ %show_options%
+ </td>
+ </tr>
+ <tr>
+ <td>
+ Number
+ </td>
+ <td>
+ <input type="text" name="Number" value="%number%" />
+ </td>
+ </tr>
+ <tr>
+ <th>
+ Angle Type
+ </th>
+ <th>
+ Needed for this room
+ </th>
+ </tr>
+ %angel_types%
+ </table>
+ <input type="hidden" name="RID" value="%room_id%" /><input type="submit" value="Save" />
+</form>
+<form action="%link%&action=delete" method="post">
+ <input type="hidden" name="RID" value="%room_id%" /><input type="submit" value="Delete" />
+</form> \ No newline at end of file
diff --git a/templates/admin_rooms_new_form.html b/templates/admin_rooms_new_form.html
new file mode 100644
index 00000000..f386259c
--- /dev/null
+++ b/templates/admin_rooms_new_form.html
@@ -0,0 +1,46 @@
+Neuen Raum einrichten:
+<br/>
+<form action="%link%&action=newsave" method="post">
+ <table>
+ <tr>
+ <td>
+ Name
+ </td>
+ <td>
+ <input type="text" name="Name" />
+ </td>
+ </tr>
+ <tr>
+ <td>
+ Man
+ </td>
+ <td>
+ <input type="text" name="Man" />
+ </td>
+ </tr>
+ <tr>
+ <td>
+ From Pentabarf
+ </td>
+ <td>
+ <input type="radio" name="FromPentabarf" value="Y" /> Yes <input type="radio" name="FromPentabarf" value="N" />No
+ </td>
+ </tr>
+ <tr>
+ <td>
+ Show
+ </td>
+ <td>
+ <input type="radio" name="Show" value="Y" /> Yes<input type="radio" name="Show" value="N" /> No
+ </td>
+ </tr>
+ <tr>
+ <td>
+ Number
+ </td>
+ <td>
+ <input type="text" name="Number" value="" />
+ </td>
+ </tr>
+ </table><input type="submit" value="Create" />
+</form> \ No newline at end of file
diff --git a/templates/guest_credits.html b/templates/guest_credits.html
new file mode 100644
index 00000000..a248d431
--- /dev/null
+++ b/templates/guest_credits.html
@@ -0,0 +1,12 @@
+<h2>The angelsystem has been (re)done by:</h2>
+<ul>
+ <li>
+ ?
+ </li>
+ <li>
+ helios
+ </li>
+ <li>
+ msquare
+ </li>
+</ul>
diff --git a/templates/guest_login_form.html b/templates/guest_login_form.html
new file mode 100644
index 00000000..c0cef263
--- /dev/null
+++ b/templates/guest_login_form.html
@@ -0,0 +1,22 @@
+<form action="%link%" method="post">
+ <table>
+ <tr>
+ <td align="right">
+ %nick%
+ </td>
+ <td>
+ <input type="text" name="user" size="23" />
+ </td>
+ </tr>
+ <tr>
+ <td align="right">
+ %pass%
+ </td>
+ <td>
+ <input type="password" name="password" size="23">
+ </td>
+ </tr>
+ </table>
+ <br/>
+ <input type="submit" name="login_submit" value="%send%">
+</form> \ No newline at end of file
diff --git a/templates/layout.html b/templates/layout.html
new file mode 100644
index 00000000..0eb67e5b
--- /dev/null
+++ b/templates/layout.html
@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>%title% - Engelsystem</title>
+ <meta charset="UTF-8" />
+ <meta http-equiv="content-type" content="text/html;charset=utf-8" />
+ <meta name="content-style-type" content="text/css" />
+ <meta name="keywords" content="Engel, Himmelsverwaltung" />
+ <meta http-equiv="Content-Style-Type" content="text/css" />
+ <meta http-equiv="expires" content="0" />
+ <meta name="robots" content="index" />
+ <meta name="revisit-after" content="1 days" />
+ <script type="text/javascript" src="css/grossbild.js">
+ </script>
+ <link rel="stylesheet" type="text/css" href="css/base.css" />
+ <link rel="stylesheet" type="text/css" href="css/style%theme%.css" />
+ </head>
+ <body class="background">
+ <header>
+ <a href="?" id="logo"></a>
+ </header>
+ <div id="body">
+ <div id="menu">
+ %menu%
+ </div>
+ <div id="content" class="container">
+ <h1>%title%</h1>
+ <article class="content">
+ %content%
+ </article>
+ </div>
+ </div>
+ <footer>
+ <p>
+ &copy; copyleft | <a href="mailto:erzengel@lists.ccc.de">Contact</a>
+ | <a href="?p=credits">Credits</a>
+ <br/>
+ This is hell. Temporarily.
+ </p>
+ </footer>
+ </body>
+</html>
diff --git a/templates/user_messages.html b/templates/user_messages.html
new file mode 100644
index 00000000..b7bb26fb
--- /dev/null
+++ b/templates/user_messages.html
@@ -0,0 +1,50 @@
+%greeting%
+<form action="%link%&action=send" method="post">
+ <table>
+ <thead>
+ <tr>
+ <th>
+ %new_label%
+ </th>
+ <th>
+ %date_label%
+ </th>
+ <th>
+ %from_label%
+ </th>
+ <th>
+ %to_label%
+ </th>
+ <th>
+ %text_label%
+ </th>
+ <th>
+ &nbsp;
+ </th>
+ </tr>
+ </thead>
+ <tbody>
+ %messages%
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+ %date%
+ </td>
+ <td>
+ %from%
+ </td>
+ <td>
+ %to_select%
+ </td>
+ <td>
+ <textarea name="text"></textarea>
+ </td>
+ <td>
+ <input type="submit" name="submit" value="%submit_label%" />
+ </td>
+ </tr>
+ </tbody>
+ </table>
+</form> \ No newline at end of file
diff --git a/templates/user_questions.html b/templates/user_questions.html
new file mode 100644
index 00000000..f5fb46ae
--- /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/>Ask an arch angel:
+<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
diff --git a/templates/user_settings.html b/templates/user_settings.html
new file mode 100644
index 00000000..08790d33
--- /dev/null
+++ b/templates/user_settings.html
@@ -0,0 +1,106 @@
+%greeting%
+
+<hr width="100%">
+%text_user_data%
+<form action="%link%&action=setUserData" method="post">
+ <table>
+ <tr>
+ <td>%label_nick%</td>
+ <td><input type="text" name="nick" size="23" value="%nick%"></td>
+ </tr>
+
+ <tr>
+ <td>%label_name%</td>
+ <td><input type="text" name="name" size="23" value="%name%"></td>
+ </tr>
+
+ <tr>
+ <td>%label_prename%</td>
+ <td><input type="text" name="prename" size="23" value="%prename%"></td>
+ </tr>
+
+ <tr>
+ <td>%label_age%</td>
+ <td><input type="text" name="age" size="3" value="%age%"></td>
+ </tr>
+
+ <tr>
+ <td>%label_tel%</td>
+ <td><input type="text" name="tel" size="40" value="%tel%"></td>
+ </tr>
+
+ <tr>
+ <td>%label_mobile%</td>
+ <td><input type="text" name="mobile" size="40" value="%mobile%"></td>
+ </tr>
+
+ <tr>
+ <td>%label_dect%</td>
+ <td><input type="text" name="dect" size="4" value="%dect%"></td>
+ </tr>
+
+ <tr>
+ <td>%label_mail%</td>
+ <td><input type="text" name="mail" size="40" value="%mail%"></td>
+ </tr>
+
+ <tr>
+ <td>ICQ</td>
+ <td><input type="text" name="icq" size="40" value="%icq%"></td>
+ </tr>
+
+ <tr>
+ <td>jabber</td>
+ <td><input type="text" name="jabber" size="40" value="%jabber%"></td>
+ </tr>
+
+ <tr>
+ <td>%label_hometown%</td>
+ <td><input type="text" name="hometown" size="40" value="%hometown%"></td>
+ </tr>
+%tshirts%
+ </table>
+ <input type="submit" value="%label_save%">
+</form>
+
+<hr />
+
+%text_password%
+<form action="%link%&action=set" method="post">
+ <table>
+ <tr><td>%current_pw_label%</td><td><input type="password" name="current_pw" size="20"></td></tr>
+ <tr><td>%new_pw_label%</td><td><input type="password" name="new_pw" size="20"></td></tr>
+ <tr><td>%new_pw2_label%</td><td><input type="password" name="new_pw2" size="20"></td></tr>
+ </table>
+ <input type="submit" value="%label_save%">
+</form>
+
+<hr />
+
+%text_theme%
+<form action="%link%&action=colour" method="post">
+ <table>
+ <tr>
+ <td>%theme_label%</td>
+ <td>
+ %theme_select%
+ </td>
+ </tr>
+ </table>
+ <input type="submit" value="%label_save%">
+</form>
+
+<hr />
+
+%text_language%
+<form action="%link%&action=sprache" method="post">
+ <table>
+ <tr>
+ <td>%language_label%</td>
+ <td>
+ %language_select%
+ </td>
+ </tr>
+ </table>
+ <input type="submit" value="%label_save%">
+</form>
diff --git a/templates/user_settings_tshirt.html b/templates/user_settings_tshirt.html
new file mode 100644
index 00000000..e147acae
--- /dev/null
+++ b/templates/user_settings_tshirt.html
@@ -0,0 +1,4 @@
+ <tr>
+ <td>%label_size%</td>
+ <td>%size_select%</td>
+ </tr> \ No newline at end of file
diff --git a/templates/user_wakeup.html b/templates/user_wakeup.html
new file mode 100644
index 00000000..d02ff5e8
--- /dev/null
+++ b/templates/user_wakeup.html
@@ -0,0 +1,18 @@
+<form action="%wakeup_link%&amp;action=create" method="post">
+<table>
+ <tr>
+ <td align="right"> %date_text%: </td>
+ <td><input type="text" name="Date" value="%date_value%"></td>
+ </tr>
+ <tr>
+ <td align="right"> %place_text% </td>
+ <td><input type="text" name="Ort" value=""></td>
+ </tr>
+ <tr>
+ <td align="right"> %comment_text% </td>
+ <td><textarea name="Bemerkung" rows="5" cols="40">
+%comment_value%</textarea></td>
+ </tr>
+</table>
+<input type="submit" name="submit" value="%submit_text%" />
+</form>