From febd89b7245b090cc32c8ebd4fab8e31e505c2d1 Mon Sep 17 00:00:00 2001 From: Udo Walter Date: Mon, 11 Sep 2017 18:47:54 +0200 Subject: [exams] fixed inconsistencies + made tables sortable --- .../exams/templates/page-add-edit-exam.html | 14 +++- modules-available/exams/templates/page-exams.html | 97 ++++++++++++---------- .../exams/templates/page-upcoming-lectures.html | 88 +++++++++++--------- 3 files changed, 110 insertions(+), 89 deletions(-) (limited to 'modules-available/exams/templates') diff --git a/modules-available/exams/templates/page-add-edit-exam.html b/modules-available/exams/templates/page-add-edit-exam.html index bf000df5..cb1578ad 100644 --- a/modules-available/exams/templates/page-add-edit-exam.html +++ b/modules-available/exams/templates/page-add-edit-exam.html @@ -1,8 +1,8 @@ {{#exam.examid}} -

{{lang_editExam}}

+

{{lang_headingEditExam}}

{{/exam.examid}} {{^exam.examid}} -

{{lang_addExam}}

+

{{lang_headingAddExam}}

{{/exam.examid}} {{#exam.displayname}}
{{lang_addingBasedOnLecture}}:
{{exam.displayname}}
@@ -110,7 +110,11 @@ - +
+ + +
+ diff --git a/modules-available/exams/templates/page-exams.html b/modules-available/exams/templates/page-exams.html index fc88e4f4..18dd1ab2 100644 --- a/modules-available/exams/templates/page-exams.html +++ b/modules-available/exams/templates/page-exams.html @@ -1,52 +1,59 @@

{{lang_allExamPeriods}}

- - - - - - - - - {{#exams}} - - - - - - - - {{/exams}} +
{{lang_id}}{{lang_locations}}{{lang_begin}}{{lang_end}}{{lang_actions}}
{{examid}} - {{locationnames}} - {{^locationnames}} - {{lang_global}} - {{/locationnames}} - {{#lecturename}} -
- {{lang_autostart}}: {{lecturename}} -
- {{/lecturename}} -
- {{description}} - {{^description}} - {{lang_noDescription}} - {{/description}} -
-
{{starttime_s}}{{endtime_s}} -
- {{^liesInPast}} - - {{/liesInPast}} - {{lang_edit}} - - - -
-
+ + + + + + + + + + + {{#exams}} + + + + + + + + {{/exams}} +
{{lang_id}}{{lang_locations}}{{lang_begin}}{{lang_end}}
{{examid}} + {{locationnames}} + {{^locationnames}} + {{lang_global}} + {{/locationnames}} + {{#lecturename}} +
+ {{lang_autostart}}: {{lecturename}} +
+ {{/lecturename}} +
+ {{description}} + {{^description}} + {{lang_noDescription}} + {{/description}} +
+
{{starttime_s}}{{endtime_s}} +
+ {{^liesInPast}} + + {{/liesInPast}} + {{lang_edit}} + + + +
+
-
- {{lang_addExam}} +
+
+ diff --git a/modules-available/exams/templates/page-upcoming-lectures.html b/modules-available/exams/templates/page-upcoming-lectures.html index 323b1017..b8c47725 100644 --- a/modules-available/exams/templates/page-upcoming-lectures.html +++ b/modules-available/exams/templates/page-upcoming-lectures.html @@ -1,46 +1,52 @@

{{lang_headingAllExamLectures}}

- - - - - - - {{#pending_lectures}} - - - - - - {{/pending_lectures}} - {{#decollapse}} - - - - {{/decollapse}} +
{{lang_lectureName}}{{lang_timeFrame}}{{lang_actions}}
- {{displayname}} - - - {{starttime_s}}   {{endtime_s}} -
- {{lang_duration}}: {{duration_s}} - {{^duration_s}}{{lang_moreThanOneDay}}{{/duration_s}} -
-
- -
- - - -
+ + + + + + + + + {{#pending_lectures}} + + + + + + {{/pending_lectures}} + + + {{#decollapse}} + + + + {{/decollapse}} +
{{lang_lectureName}}{{lang_timeFrame}}
+ {{displayname}} + + + {{starttime_s}}   {{endtime_s}} +
+ {{lang_duration}}: {{duration_s}} + {{^duration_s}}{{lang_moreThanOneDay}}{{/duration_s}} +
+
+ +
+ + + +
\ No newline at end of file -- cgit v1.2.3-55-g7522