From 3e29f2e4280ad4e228dc1003beacf4d5e16810e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= Date: Wed, 28 Aug 2019 09:32:07 +0200 Subject: [PATCH 1/2] MOBILE-3068 loading: Fix loading styles on blocks and tabs --- .../addon-mod-assign-submission.html | 2 +- src/components/empty-box/empty-box.scss | 5 +++++ src/components/loading/loading.scss | 2 ++ .../components/format/core-course-format.html | 22 +++++++++---------- .../core-siteplugins-plugin-content.html | 2 +- 5 files changed, 20 insertions(+), 13 deletions(-) diff --git a/src/addon/mod/assign/components/submission/addon-mod-assign-submission.html b/src/addon/mod/assign/components/submission/addon-mod-assign-submission.html index c46b8942e..06bebe6cb 100644 --- a/src/addon/mod/assign/components/submission/addon-mod-assign-submission.html +++ b/src/addon/mod/assign/components/submission/addon-mod-assign-submission.html @@ -1,4 +1,4 @@ - + diff --git a/src/components/empty-box/empty-box.scss b/src/components/empty-box/empty-box.scss index 5d265575c..e5d0c3edb 100644 --- a/src/components/empty-box/empty-box.scss +++ b/src/components/empty-box/empty-box.scss @@ -61,3 +61,8 @@ ion-app.app-root core-empty-box { } } } + +ion-app.app-root core-block-course-blocks core-empty-box .core-empty-box { + position: relative; +} + diff --git a/src/components/loading/loading.scss b/src/components/loading/loading.scss index 92f001805..bc1faec9f 100644 --- a/src/components/loading/loading.scss +++ b/src/components/loading/loading.scss @@ -21,12 +21,14 @@ ion-app.app-root { .scroll-content > core-loading, ion-content > .scroll-content > core-loading, + core-tab core-loading, .core-loading-center { position: static !important; } .scroll-content > core-loading, ion-content > .scroll-content > core-loading, + core-tab core-loading, .core-loading-center, core-loading.core-loading-loaded { position: relative; diff --git a/src/core/course/components/format/core-course-format.html b/src/core/course/components/format/core-course-format.html index 2d01ef5a1..c7c3bf6ed 100644 --- a/src/core/course/components/format/core-course-format.html +++ b/src/core/course/components/format/core-course-format.html @@ -54,18 +54,18 @@ - - - - - + + + + + diff --git a/src/core/siteplugins/components/plugin-content/core-siteplugins-plugin-content.html b/src/core/siteplugins/components/plugin-content/core-siteplugins-plugin-content.html index c306b73a7..06651d0f4 100644 --- a/src/core/siteplugins/components/plugin-content/core-siteplugins-plugin-content.html +++ b/src/core/siteplugins/components/plugin-content/core-siteplugins-plugin-content.html @@ -1,3 +1,3 @@ - + From 9dbe9150b805f19ac5bde0c3983fba7016383216 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= Date: Wed, 28 Aug 2019 10:40:51 +0200 Subject: [PATCH 2/2] MOBILE-3068 scorm: Reduce index page length --- .../index/addon-mod-scorm-index.html | 40 +++++++++---------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/src/addon/mod/scorm/components/index/addon-mod-scorm-index.html b/src/addon/mod/scorm/components/index/addon-mod-scorm-index.html index 20ca8751f..5aeb8dec5 100644 --- a/src/addon/mod/scorm/components/index/addon-mod-scorm-index.html +++ b/src/addon/mod/scorm/components/index/addon-mod-scorm-index.html @@ -31,38 +31,38 @@ -

{{ 'addon.mod_scorm.noattemptsallowed' | translate }}

-

{{ 'core.unlimited' | translate }}

-

{{ scorm.maxattempt }}

+

{{ 'addon.mod_scorm.noattemptsallowed' | translate }}

+

{{ 'core.unlimited' | translate }}

+

{{ scorm.maxattempt }}

-

{{ 'addon.mod_scorm.noattemptsmade' | translate }}

-

{{ scorm.numAttempts }}

+

{{ 'addon.mod_scorm.noattemptsmade' | translate }}

+

{{ scorm.numAttempts }}

-

{{ 'addon.mod_scorm.gradeforattempt' | translate }} {{attempt.number}}

-

{{ attempt.grade }}

-

{{ 'addon.mod_scorm.cannotcalculategrade' | translate }}

+

{{ 'addon.mod_scorm.gradeforattempt' | translate }} {{attempt.number}}

+

{{ attempt.grade }}

+

{{ 'addon.mod_scorm.cannotcalculategrade' | translate }}

-

{{ 'addon.mod_scorm.gradeforattempt' | translate }} {{attempt.number}}

-

{{ attempt.grade }}

-

{{ 'addon.mod_scorm.cannotcalculategrade' | translate }}

-

{{ 'addon.mod_scorm.offlineattemptnote' | translate }}

-

{{ 'addon.mod_scorm.offlineattemptovermax' | translate }}

+

{{ 'addon.mod_scorm.gradeforattempt' | translate }} {{attempt.number}}

+

{{ attempt.grade }}

+

{{ 'addon.mod_scorm.cannotcalculategrade' | translate }}

+

{{ 'addon.mod_scorm.offlineattemptnote' | translate }}

+

{{ 'addon.mod_scorm.offlineattemptovermax' | translate }}

-

{{ 'addon.mod_scorm.grademethod' | translate }}

-

{{ scorm.gradeMethodReadable }}

+

{{ 'addon.mod_scorm.grademethod' | translate }}

+

{{ scorm.gradeMethodReadable }}

-

{{ 'addon.mod_scorm.gradereported' | translate }}

-

{{ scorm.grade }}

-

{{ 'addon.mod_scorm.cannotcalculategrade' | translate }}

+

{{ 'addon.mod_scorm.gradereported' | translate }}

+

{{ scorm.grade }}

+

{{ 'addon.mod_scorm.cannotcalculategrade' | translate }}

-

{{ 'core.lastsync' | translate }}

+

{{ 'core.lastsync' | translate }}

{{ syncTime }}

@@ -130,7 +130,7 @@
-

{{ 'addon.mod_scorm.mode' | translate }}

+

{{ 'addon.mod_scorm.mode' | translate }}

{{ 'addon.mod_scorm.browse' | translate }}