#207 Changed font-size for awarded time in the report in mobile view
Also made minor alignment changes.
This commit is contained in:
parent
7d2826654d
commit
e3675ff267
3 changed files with 19 additions and 12 deletions
|
@ -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
3
mobile/styles.css
Normal file
|
@ -0,0 +1,3 @@
|
|||
.timerewarded {
|
||||
font-size: 14px;
|
||||
}
|
|
@ -120,7 +120,7 @@
|
|||
<ion-label>{{ 'plugin.mod_customcert.selectagroup' | translate }}</ion-label>
|
||||
<ion-select (ionChange)="updateContent({cmid: <% cmid %>, courseid: <% certificate.course %>, group: $event})" interface="popover">
|
||||
<%#groups%>
|
||||
<ion-option value="<% id %>" <%#selected%>selected<%/selected%>><% name %></ion-option>
|
||||
<ion-option value="<% id %>" <%#selected%>selected<%/selected%>><% name %></ion-option>
|
||||
<%/groups%>
|
||||
</ion-select>
|
||||
</ion-item>
|
||||
|
@ -134,20 +134,20 @@
|
|||
<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">
|
||||
<ion-icon name="download"></ion-icon>
|
||||
</button>
|
||||
<%#canmanage%>
|
||||
<button ion-button icon-only clear core-site-plugins-call-ws name="mod_customcert_delete_issue"
|
||||
[params]="{certificateid: <% certificate.id %>, issueid: <% issueid %>}"
|
||||
[preSets]="{getFromCache: 0, saveToCache: 0, typeExpected: 'boolean'}"
|
||||
confirmMessage="{{ 'plugin.mod_customcert.deleteissueconfirm' | translate }}"
|
||||
refreshOnSuccess="true">
|
||||
<ion-icon name="trash"></ion-icon>
|
||||
</button>
|
||||
<button ion-button icon-only clear core-site-plugins-call-ws name="mod_customcert_delete_issue"
|
||||
[params]="{certificateid: <% certificate.id %>, issueid: <% issueid %>}"
|
||||
[preSets]="{getFromCache: 0, saveToCache: 0, typeExpected: 'boolean'}"
|
||||
confirmMessage="{{ 'plugin.mod_customcert.deleteissueconfirm' | translate }}"
|
||||
refreshOnSuccess="true">
|
||||
<ion-icon name="trash"></ion-icon>
|
||||
</button>
|
||||
<%/canmanage%>
|
||||
</ion-col>
|
||||
</ion-row>
|
||||
|
|
Loading…
Reference in a new issue