#207 Changed font-size for awarded time in the report in mobile view

Also made minor alignment changes.
This commit is contained in:
Mark Nelson 2018-07-09 22:48:49 +08:00
parent c395c7dadc
commit 47f1102545
3 changed files with 19 additions and 12 deletions

View file

@ -24,7 +24,7 @@
defined('MOODLE_INTERNAL') || die();
$addons = array(
$addons = [
'mod_customcert' => [ // Plugin identifier.
'handlers' => [ // Different places where the plugin will display content.
'issueview' => [ // Handler unique name.
@ -34,6 +34,10 @@ $addons = array(
],
'delegate' => 'CoreCourseModuleDelegate', // Delegate (where to display the link to the plugin).
'method' => 'mobile_view_activity', // Main function in \mod_customcert\output\mobile.
'styles' => [
'url' => '/mod/customcert/mobile/styles.css',
'version' => 1
]
]
],
'lang' => [ // Language strings that are used in all the handlers.
@ -45,6 +49,6 @@ $addons = array(
['receiveddate', 'customcert'],
['requiredtimenotmet', 'customcert'],
['selectagroup', 'moodle']
],
]
);
]
];

3
mobile/styles.css Normal file
View file

@ -0,0 +1,3 @@
.timerewarded {
font-size: 14px;
}

View file

@ -134,7 +134,7 @@
<ion-col col-6 class="text-left">
<% displayname %>
<br />
{{ <% timecreated %> | coreToLocaleString }}
<div class="timerewarded">{{ <% timecreated %> | coreToLocaleString }}</div>
</ion-col>
<ion-col col-6 class="text-right">
<button ion-button icon-only clear [core-download-file]="{fileurl: '<% fileurl %>', timemodified: '<% currenttimestamp %>'}" moduleId="<% cmid %>" courseId="<% certificate.course %>" component="mod_customcert">