diff options
author | Christian Klinger | 2016-06-10 17:19:50 +0200 |
---|---|---|
committer | Christian Klinger | 2016-06-10 17:19:50 +0200 |
commit | cab4355fec9928639e688d096d9ad5e77cb28493 (patch) | |
tree | 79aa7dc308c4c877bef87f89cf2b88fbe917ef74 /modules-available/exams/templates/page-exams.html | |
parent | use Module:: instead of require (diff) | |
download | slx-admin-cab4355fec9928639e688d096d9ad5e77cb28493.tar.gz slx-admin-cab4355fec9928639e688d096d9ad5e77cb28493.tar.xz slx-admin-cab4355fec9928639e688d096d9ad5e77cb28493.zip |
first rough version of exams-module.
Diffstat (limited to 'modules-available/exams/templates/page-exams.html')
-rw-r--r-- | modules-available/exams/templates/page-exams.html | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/modules-available/exams/templates/page-exams.html b/modules-available/exams/templates/page-exams.html new file mode 100644 index 00000000..6c67fa2c --- /dev/null +++ b/modules-available/exams/templates/page-exams.html @@ -0,0 +1,32 @@ + +<h1>All Exams</h1> + +<table class="table"> + <tr> + <th>ID</th> + <th>Location</th> + <th>Begin</th> + <th>End</th> + <th>Actions</th> + </tr> + {{#exams}} + <tr> + <td>{{examid}}</td> + <td> + <a href="?do=baseconfig&module=locations&locationid={{locationid}}"> {{locationname}} </a> + </td> + <td>{{starttime}}</td> + <td>{{endtime}}</td> + <td> + <form method="POST" action="?do=exams&action=delete" + onsubmit="return confirm('delete really?');"> + <input type="hidden" name="token" value="{{token}}"/> + <input type="hidden" name="examid" value="{{examid}}"/> + <input type="submit" value="Delete" class="btn btn-sm" /> + </form> + </td> + </tr> + {{/exams}} + +</table> +<a href="?do=exams&action=add" class="btn btn-success">Add Exam </a> |