diff --git a/db/mobile.php b/db/mobile.php index 13f6e39..b71e3de 100644 --- a/db/mobile.php +++ b/db/mobile.php @@ -36,7 +36,7 @@ $addons = [ 'method' => 'mobile_view_activity', 'styles' => [ 'url' => '/mod/attendance/mobilestyles.css', - 'version' => 7 + 'version' => 19 ] ] ], diff --git a/mobilestyles.css b/mobilestyles.css index 4e9b308..33ad840 100644 --- a/mobilestyles.css +++ b/mobilestyles.css @@ -1,4 +1,20 @@ .attendance_teacher_form .item-radio { display: inline-block; + margin-top: 10px; + margin-left: 5px; + padding: 0; width: 70px; } +.attendance_teacher_form .item-inner { + padding: 0; +} +.attendance_teacher_form .radiolabel .item-inner { + text-align: center; +} +.attendance_teacher_form .item-inner .input-wrapper label, +.attendance_teacher_form .radio { + margin: 0; +} +.attendance_teacher_form .radio .radio-icon { + display: none; +} \ No newline at end of file diff --git a/templates/mobile_teacher_form.mustache b/templates/mobile_teacher_form.mustache index 86b3c44..a3ce11b 100644 --- a/templates/mobile_teacher_form.mustache +++ b/templates/mobile_teacher_form.mustache @@ -45,25 +45,33 @@ }} {{=<% %>=}}
+ + <%#showmessage%> <%#messages%> - - {{ 'plugin.mod_attendance.<% string %>' | translate }} - + + + {{ 'plugin.mod_attendance.<% string %>' | translate }} + + <%/messages%> <%/showmessage%> <%#users%> -

<% fullname %>

+ +

<% fullname %>

+
<%#statuses%> + <% acronym %> + <%/statuses%> <%/users%>