summaryrefslogtreecommitdiffstats
path: root/modules-available/exams/templates/page-add-exam.html
diff options
context:
space:
mode:
Diffstat (limited to 'modules-available/exams/templates/page-add-exam.html')
-rw-r--r--modules-available/exams/templates/page-add-exam.html61
1 files changed, 0 insertions, 61 deletions
diff --git a/modules-available/exams/templates/page-add-exam.html b/modules-available/exams/templates/page-add-exam.html
deleted file mode 100644
index 89a7881a..00000000
--- a/modules-available/exams/templates/page-add-exam.html
+++ /dev/null
@@ -1,61 +0,0 @@
-<h1>{{lang_addExam}}</h1>
-
-<form class="form" method="POST" action="?do=exams&action=add">
- <div class="form-group">
- <label for="locations">{{lang_location}}</label>
- <select id="locations" multiple="multiple" name="locations[]" class="">
- {{#locations}}
- <option value="{{locationid}}"> {{locationname}} </option>
- {{/locations}}
- </select>
- </div>
-
- <div class="row">
- <div class="form-group col-xs-6">
- <label for="starttime_date">{{lang_begin_date}}</label>
- <input required class="form-control datepicker" name="starttime_date" />
- </div>
- <div class="form-group col-xs-6">
- <label for="starttime_time">{{lang_begin_time}}</label>
- <input required type="text" class="form-control timepicker" name="starttime_time" />
- </div>
- </div>
-
- <div class="row">
- <div class="form-group col-xs-6">
- <label for="endtime_date">{{lang_end_date}}</label>
- <input required class="form-control datepicker" name="endtime_date" />
- </div>
- <div class="form-group col-xs-6">
- <label for="endtime_time">{{lang_end_time}}</label>
- <input required type="texxt" class="form-control timepicker" name="endtime_time" />
- </div>
- </div>
- <div class="row">
- <div class="form-group col-xs-12">
- <label for="description">{{lang_description}}</label>
- <textarea class="form-control" type="textarea" name="description"></textarea>
- </div>
- </div>
-
- <input type="hidden" name="token" value="{{token}}" />
- <input type="submit" class="btn btn-success" value="{{lang_addExam}}"></input>
-</form>
-
-<script type="application/javascript"><!--
-document.addEventListener("DOMContentLoaded", function () {
- var dateSettings = {
- format: 'yyyy-mm-dd',
- weekStart: 1,
- startDate: 'today',
- };
- var timeSettings = {
- showSeconds: false,
- showMeridian: false
- };
- $('.datepicker').datepicker(dateSettings);
- $('.timepicker').timepicker(timeSettings);
-
- $('#locations').multiselect({numberDisplayed: 1});
-}, false);
-// --></script>