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

Make the login page into a renderer

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.5
    • None
    • HTML and CSS, Themes
    • 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

              Unassigned Unassigned
              bawjaws David Scotson
              Amy Groshek, David Scotson, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona), Huong Nguyen, Bas Brands, Mathew May
              Votes:
              24 Vote for this issue
              Watchers:
              16 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: