diff options
Diffstat (limited to 'modules-available/exams/templates')
-rw-r--r-- | modules-available/exams/templates/page-add-exam.html | 16 | ||||
-rw-r--r-- | modules-available/exams/templates/page-exams.html | 21 |
2 files changed, 18 insertions, 19 deletions
diff --git a/modules-available/exams/templates/page-add-exam.html b/modules-available/exams/templates/page-add-exam.html index ebbccd6b..89a7881a 100644 --- a/modules-available/exams/templates/page-add-exam.html +++ b/modules-available/exams/templates/page-add-exam.html @@ -1,8 +1,8 @@ -<h1>Add Exam</h1> +<h1>{{lang_addExam}}</h1> <form class="form" method="POST" action="?do=exams&action=add"> <div class="form-group"> - <label for="locations">Location</label> + <label for="locations">{{lang_location}}</label> <select id="locations" multiple="multiple" name="locations[]" class=""> {{#locations}} <option value="{{locationid}}"> {{locationname}} </option> @@ -12,34 +12,34 @@ <div class="row"> <div class="form-group col-xs-6"> - <label for="starttime_date">Start Date</label> + <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">Start Time</label> + <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">End Date</label> + <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">End Time</label> + <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">Description</label> + <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="Add Exam"></input> + <input type="submit" class="btn btn-success" value="{{lang_addExam}}"></input> </form> <script type="application/javascript"><!-- diff --git a/modules-available/exams/templates/page-exams.html b/modules-available/exams/templates/page-exams.html index 9e3c102f..9da3578c 100644 --- a/modules-available/exams/templates/page-exams.html +++ b/modules-available/exams/templates/page-exams.html @@ -1,33 +1,32 @@ <div class="container-fluid"> - <h1>All Exams</h1> + <h1>{{lang_allExamPeriods}}</h1> <table class="table"> <tr> - <th>ID</th> - <th>Location</th> - <th>Begin</th> - <th>End</th> - <th>Actions</th> + <th>{{lang_id}}</th> + <th>{{lang_locations}}</th> + <th>{{lang_begin}}</th> + <th>{{lang_end}}</th> + <th>{{lang_actions}}</th> </tr> {{#exams}} <tr> <td>{{examid}}</td> - <td> {{locationnames}} </td> + <td>{{locationnames}} </td> <td>{{starttime}}</td> <td>{{endtime}}</td> <td> - <form method="POST" action="?do=exams&action=delete" - onsubmit="return confirm('delete really?');"> + <form method="POST" action="?do=exams&action=delete" onsubmit="return confirm('{{lang_deleteConfirmation}}');"> <input type="hidden" name="token" value="{{token}}"/> <input type="hidden" name="examid" value="{{examid}}"/> - <input type="submit" value="Delete" class="btn btn-sm" /> + <input type="submit" value="{{lang_delete}}" class="btn btn-sm" /> </form> </td> </tr> {{/exams}} </table> - <a href="?do=exams&action=add" class="btn btn-success">Add Exam </a> + <a href="?do=exams&action=add" class="btn btn-success">{{lang_addExam}}</a> <div class="block" id="timeline"> </div> |