Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-37264 META: Standardize classnames and layout to facilitate theming
  3. MDL-37273

Establish universal alert classes and consolidate existing alert applications to use these new classes

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 2.5
    • Themes
    • MOODLE_25_STABLE

      These elements were identified and organized by David Scotson, and their first listing can be found here: https://moodle.org/mod/forum/discuss.php?d=216519 The content types are based on components in Twitter Bootstrap. In each case, we should implement a single class, and if possible eliminate unnecessary extra classes and IDs.

      ====Alert====
      The following elements all present alert-type elements. DS chose to associate them with Bootstrap's alert class, which can be viewed here: http://twitter.github.com/bootstrap/components.html#alerts

      #page-admin-roles-assign h2 + .box.generalbox,
      div.notifysuccess,
      div.notifyproblem,
      body.admin div.info,
      div.box.copyright,
      body.pagelayout-report div.info,
      div.redirectmessage,
      div.adminwarning,
      div.forumnodiscuss,
      div#notice p,
      div.performanceinfo.pageinfo,
      div.noticebox,
      div#helppopupbox,
      div.releasenoteslink,
      .errorbox

      ====Error Alert====
      The following elements all present error alert-type elements. DS chose to associate them with Bootstrap's alert-error class, which can be viewed here: http://twitter.github.com/bootstrap/components.html#alerts

      #page-admin-roles-assign h2 + .box.generalbox,
      div.notifyproblem,
      .errorbox

      ====Info Alert====
      The following elements all present info alert-type elements. DS chose to associate them with Bootstrap's alert-info class, which can be viewed here: http://twitter.github.com/bootstrap/components.html#alerts

      body.admin div.info,
      div.box.copyright,
      div#helppopupbox,
      div.redirectmessage,
      body.pagelayout-report div.info,
      div.releasenoteslink,
      div.performanceinfo.pageinfo

      We should probably establish alert classes for these three alert types, and implement these classes in place of the various markup identified above.

            Unassigned Unassigned
            agroshek Amy Groshek (Inactive)
            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.