diff options
Diffstat (limited to 'modules-available/exams/templates/page-edit-exam.html')
-rw-r--r-- | modules-available/exams/templates/page-edit-exam.html | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/modules-available/exams/templates/page-edit-exam.html b/modules-available/exams/templates/page-edit-exam.html deleted file mode 100644 index 61848ec2..00000000 --- a/modules-available/exams/templates/page-edit-exam.html +++ /dev/null @@ -1,61 +0,0 @@ -<h1>{{lang_editExam}}: </h1> - -<form class="form" method="POST" action="?do=exams&action=edit&examid={{exam.examid}}"> - <div class="form-group"> - <label for="locations">{{lang_location}}</label> - <select id="locations" multiple="multiple" name="locations[]" class=""> - {{#locations}} - <option value="{{locationid}}" {{#selected}}selected{{/selected}} > {{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" value="{{exam.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" value="{{exam.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" value="{{exam.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" value="{{exam.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">{{exam.description}}</textarea> - </div> - </div> - - <input type="hidden" name="token" value="{{token}}" /> - <input type="submit" class="btn btn-success" value="{{lang_saveExam}}"></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> |