Note:

This site is no longer used and is in read-only mode. Instead please go to our new Moodle Developer Resource site.

Student projects/Admin page cleanup/Admin block

From MoodleDocs


Warning: This page is no longer in use. The information contained on the page should NOT be seen as relevant or reliable.


As part of the Student projects/Admin page cleanup project, I'm redesigning the admin block that appears on the main page and course pages. The new block interfaces with the OO hierarchy and uses JavaScript to make folders collapsible. It remains compatible with non-JavaScript browsers.

Latest Version

The code for the latest version of the new admin block is available here.

Demo

Try out the block at this Moodle installation. To login as a creator, use username creator password rotaerc. To login as a student, use username student password tneduts. Sorry, no admin login will be posted here!

Issues Remaining

  • I have to double-check how to get the icons to interface properly with the different themes.
  • Possibly switch to using <li> tags instead of (or with) spans