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

Consistently use pagelayout ('course', 'incourse', 'admin', etc.)

    XMLWordPrintable

    Details

    • Type: Epic
    • Status: Closed
    • Priority: Minor
    • Resolution: Inactive
    • Affects Version/s: 2.8
    • Fix Version/s: None
    • Component/s: Course, Themes
    • Labels:
    • Affected Branches:
      MOODLE_28_STABLE
    • Epic Name:
      Pagelayout consistency

      Description

      There was an attempt to address pagelayout in issue MDL-47033 but the problem is much wider than it looked.

      Even though this issue is marked as 'Bug', it should go in master branch only since it affects themes.

      In order to test the linked issues setup the custom theme (or patch the bootstrapbase) to use visibly different layouts 'course', 'incourse', 'admin', etc. This can be done as simple as this custom CSS:

      body.pagelayout-course { background-color: red; }
      body.pagelayout-incourse { background-color: green; }
      body.pagelayout-admin { background-color: yellow; }
      body.pagelayout-mydashboard { background-color: magenta; }
      

      Now make sure that:

      • only main course page is red (view section-per-page is red also)
      • pages that are linked from Course navigation are green
      • pages that are linked from Coruse administration are yellow
      • magenta seems to be used on "My home", "My private files", "My badges", etc.

      There may be some exceptions, also white background will mean some other layout

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              marina Marina Glancy
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Bas Brands
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: