Skip to content

A developer theme for working on Moodle 2.4/5 renderers that output Bootstrap 3 compatible HTML

Notifications You must be signed in to change notification settings

ds125v/moodle-theme_bootstrap_renderers

Repository files navigation

moodle-theme_bootstrap_renderers

A developer theme for working on Moodle 2.4/5 renderers that output Bootstrap 3 compatible HTML.

Currently aiming to have something usable by end-users by this summer (June 2013). If you want something with the Bootstrap look to use right now check out the Bootstrap theme by Bas Brands](http://basbrands.nl/2012/10/01/moodle-bootstrap-theme/).

TODO #1 (stuff I'm in the process of doing, but would welcome help with)

  • go through every finished renderer.php to check for changes and updates to the core renderer in the 2.3 -> 2.4/5 transition and update as appropriate (2.4 done)
  • go through every renderer.php in Moodle (starting with outputrenderers.php) and rewrite to match Bootstrap expectations (see list_renderers.txt)
  • file an enhancement request about classes in Moodle that clash with Bootstrap (see /styles/undo.css)
  • figure out how to switch off CSS coming from modules (current plan: delete almost all non-bootstrap ids and classes), maybe can be done in the pre-processor?
  • figure out how to switch off YUI CSS (at least the 3.5.1 stuff, might need some of the YUI2 stuff e.g. for date selector) (this might become an option in 2.5)
  • write up testing and contribution guidelines (just started testing.txt)
  • create an appropriate editor.css file for TinyMCE from Bootstrap css.
  • see if we can pass any Selenium/Behat tests Moodle has, and investigate running them on Travis CI.
  • add option for CDN hosting of JQuery and Bootstrap (with local fallback).

TODO #2 (stuff I'm secretly hoping someone else will do, to save me the bother)

  • set it up so the RTL fork of Bootstrap gets pulled in when required (needs updated for Bootstrap 3)
  • make sure any future forms library (currently under discussion) fits the needs of Bootstrap
  • find out if anyone's doing work on a Zurb Foundation theme and see if we can work together: http://foundation.zurb.com/
  • restyle the TinyMCE editor interface using Bootstrap (this looks quite easy once you find where the CSS lives)
  • find a simpler editor that is Bootstrap aware and plug it into Moodle e.g. (bootstrap-wysihtml5)[http://jhollingworth.github.com/bootstrap-wysihtml5/]
  • restyle the Moodle gadgets UI components (file picker, activity chooser etc.) with Bootstrap

Current Build Status

Build Status

About

A developer theme for working on Moodle 2.4/5 renderers that output Bootstrap 3 compatible HTML

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published