MDL-38661 Course: Add JS category expander.
authorAndrew Robert Nicols <andrew.nicols@luns.net.uk>
Tue, 12 Mar 2013 11:27:45 +0000 (11:27 +0000)
committerMarina Glancy <marina@moodle.com>
Fri, 6 Sep 2013 00:05:36 +0000 (10:05 +1000)
commit53c1b936e5ef81cf4c4e6f3442e6330118524f9f
tree3bf67ac9196aa7cec67987c4060351e34e0571ab
parentb69ec2889e8bde55288a61e978790ac0c3f1d45e
MDL-38661 Course: Add JS category expander.

This adds a category expanded which:
* fetches child content in a category tree if it has not already been loaded;
* toggles relevant classes on the category node to show and hide child content; and
* applies appropriate animations to improve user experience.
18 files changed:
course/category.ajax.php [new file with mode: 0644]
course/renderer.php
course/yui/build/moodle-course-categoryexpander/moodle-course-categoryexpander-debug.js [new file with mode: 0644]
course/yui/build/moodle-course-categoryexpander/moodle-course-categoryexpander-min.js [new file with mode: 0644]
course/yui/build/moodle-course-categoryexpander/moodle-course-categoryexpander.js [new file with mode: 0644]
course/yui/src/categoryexpander/build.json [new file with mode: 0644]
course/yui/src/categoryexpander/js/categoryexpander.js [new file with mode: 0644]
course/yui/src/categoryexpander/meta/categoryexpander.json [new file with mode: 0644]
theme/base/style/core.css
theme/base/style/course.css
theme/bootstrapbase/less/moodle/core.less
theme/bootstrapbase/less/moodle/course.less
theme/bootstrapbase/less/moodle/forms.less
theme/bootstrapbase/style/moodle.css
theme/canvas/style/course.css
theme/formal_white/style/course.css
theme/magazine/style/core.css
theme/standard/style/course.css