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

Theme Boost: Improve visibility of maintenance warning

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.4
    • 3.3
    • Themes
    • MOODLE_33_STABLE
    • MOODLE_34_STABLE
    • MDL-59418-master
    • Hide
      1. Login into Moodle
      2. Turn on the maintenance mode via cli on the server:

        sudo -u apache php admin/cli/maintenance.php --enablelater=1
        

      3. Refresh the Moodle site, smallen the window size to smartphone size and open the nav drawer menu.
      4. See the result:
      • Without patch: See that the warning warning will be covered in parts by the nav drawer menu
      • With patch: See that the warning will be displayed above the nav drawer menu and will be also full width on larger browser window sizes.
         
      Show
      Login into Moodle Turn on the maintenance mode via cli on the server: sudo -u apache php admin/cli/maintenance.php --enablelater=1 Refresh the Moodle site, smallen the window size to smartphone size and open the nav drawer menu. See the result: Without patch: See that the warning warning will be covered in parts by the nav drawer menu With patch: See that the warning will be displayed above the nav drawer menu and will be also full width on larger browser window sizes.  

      Currently the maintenance warning in Boost is covered by the opened nav-drawer menu on small screens:
       

      I would propose to increase the z-index and stretch the warning to 100% page width to get it even more eye catching:

      Comment to my attached patch:
      I did override the renderer to be able to change the Bootstrap class from m-a-1 to m-b-1.
      I needed to do this because the warning should cover the full width of the page (for better visibility) and with m-a-1 there would be still a margin on the right.
      The other solution within the CSS would be so set margin: 0 !important and I did not want to do this.

            kosswa Kathrin Osswald
            kosswa Kathrin Osswald
            Ryan Wyllie Ryan Wyllie
            Dan Poltawski Dan Poltawski
            John Okely John Okely
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.