Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-3529

Add ability to set the colour of the toggle bar on a per course basis.

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.0.5, 2.1.2, 2.2, 2.3
    • 1.9.14, 2.0.5, 2.1.2, 2.2, 2.3
    • Course format: Topcoll
    • None
    • MOODLE_19_STABLE, MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE
    • MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE

      I have been asked by Leonie Vos (http://moodle.org/user/profile.php?id=1435066) on behalf of a client to add in the functionality where you can set the colour of the toggle and have this stored on a course by course basis rather than editing the css for all courses.

      Therefore a new option on the 'Set Layout' form will need to be added to pick the colour, then store this in the 'format_topcoll_layout' table as a new field, perhaps 'toggle_colour', then when the toggle is rendered by 'format.php' have this value applied to the toggle background.

      Perhaps it might be necessary to specify the foreground colour too.

            gb2048 Gareth J Barnard
            gb2048 Gareth J Barnard
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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