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

Make the login page into a renderer

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.5
    • Fix Version/s: None
    • Component/s: HTML and CSS, Themes
    • Labels:
    • Affected Branches:
      MOODLE_25_STABLE

      Description

      Currently the formatting for the login page is contained in a PHP file:

      https://github.com/ds125v/moodle/blob/master/login/index_form.html

      This should be transferred into a renderer class and broken down into individual functions so that themes can control the layout.

      This has various potential benefits e.g. using a responsive grid so that the two columns collapse into a single column on small screens. (This is currently feature is partially emulated by the Bootstrapbase theme: https://github.com/ds125v/moodle/blob/master/theme/bootstrapbase/less/moodle/responsive.less#L40-L83 but a more straightforward approach would be better and allow for more possibilities).

      The login page will often be one of the first things that a Moodle user sees and so is a prime target for branding and customisation.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                bawjaws David Scotson
                Participants:
                Component watchers:
                Amy Groshek, David Scotson, Amaia Anabitarte, Bas Brands, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón, Amaia Anabitarte, Bas Brands, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón
              • Votes:
                24 Vote for this issue
                Watchers:
                16 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: