summaryrefslogtreecommitdiffstats
path: root/modules-available/exams/templates
diff options
context:
space:
mode:
authorChristian Klinger2016-06-15 17:41:42 +0200
committerChristian Klinger2016-06-15 17:48:05 +0200
commit6a7cd886266f23fb1d6ccc0652bc45b8e4603913 (patch)
tree20b4ccbd8fc6cc31a3696f8dc979c2d296c48beb /modules-available/exams/templates
parentUpdated the no-autofill-hack. (diff)
downloadslx-admin-6a7cd886266f23fb1d6ccc0652bc45b8e4603913.tar.gz
slx-admin-6a7cd886266f23fb1d6ccc0652bc45b8e4603913.tar.xz
slx-admin-6a7cd886266f23fb1d6ccc0652bc45b8e4603913.zip
added german and english translations.
Diffstat (limited to 'modules-available/exams/templates')
-rw-r--r--modules-available/exams/templates/page-add-exam.html16
-rw-r--r--modules-available/exams/templates/page-exams.html21
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>