Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-62757

Validate boost presets before allowing to pick and use them

    XMLWordPrintable

Details

    • MOODLE_35_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE
    • MOODLE_39_STABLE
    • MDL-62757-master
    • Hide
      1. Login as admin.
      2. Navigate to Site Administration > Appearance > Themes > Boost
      3. Upload the 3 Boost presets attached to this issue.
      4. Save changes
      5. Choose the "Litera" template in field "Theme Preset"
      6. Reload the page
      7. Verify you see some theme changes
      8. Choose the "Yeti" template in field "Theme Preset"
      9. You should receive a notification the preset did not compile.
      10. Navigate to Site Administration > Appearance > Themes > Boost again
      11. Verify the "Litera" template is still the chosen template.
      Show
      Login as admin. Navigate to Site Administration > Appearance > Themes > Boost Upload the 3 Boost presets attached to this issue. Save changes Choose the "Litera" template in field "Theme Preset" Reload the page Verify you see some theme changes Choose the "Yeti" template in field "Theme Preset" You should receive a notification the preset did not compile. Navigate to Site Administration > Appearance > Themes > Boost again Verify the "Litera" template is still the chosen template.
    • Moppies Moodle 3.8 Sprint 5, Moppies Moodle 3.8 Sprint 6, Moppies Kanban

    Description

      With the upgrade to Bootstrap 4 Stable preset files have changed. Older presets or presets using the wrong variables cause the CSS compiler to fail and leave Moodle unstyled

      Attachments

        1. yeti.scss
          10 kB
        2. merged.png
          merged.png
          841 kB
        3. lumen.scss
          19 kB
        4. litera.scss
          7 kB
        5. Confirmed fixed.png
          Confirmed fixed.png
          182 kB

        Activity

          People

            basbrands Bas Brands
            basbrands Bas Brands
            Ferran Recio Ferran Recio
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Gladys Basiana Gladys Basiana
            Huong Nguyen, Bas Brands, Mathew May
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              15/Jun/20

              Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 18 minutes
                1d 18m