Posts made by David Scotson

Moodle in English -> Themes -> Bootstrap 3 progress

by David Scotson -
I thought I'd update on my progress with renderers and styles for Moodle based on Bootstrap 3 (the as yet unfinished next version of the Bootstrap web framework).

The project has the same goals as previous work with the current version of Bootstrap, make Moodle lighter, faster, prettier, more consistent, more usable, more themeable, more mobile-ready, more responsive etc.

You can see some screenshots (mostly using the very handy Totara Element library) running under my current dev theme here:

http://imgur.com/a/IFUlj

The images are big so you might need to click the gear icon in the top-right corner to view the full size image, simply clicking on the image with the magnifying glass icon only makes them marginally larger. I'll attach a few edited highlights below as well.

The code is in github (https://github.com/ds125v/moodle-theme_bootstrap_renderers) and contributions are always welcome, I wouldn't have got this far without the contributions of people that are already too many to name, but thanks to everyone that's reported a bug, answered a question or taught me how to do something cool with Moodle.
Attachment filemanager.png
Average of ratings: -
I don't know if I'd agree that git is 'easy', even after you get used to it, but it is an incredible tool and nearly every week I discover something else amazingly useful that it does and so it certainly makes my life easier overall as a result, so it's well worth sticking through any early learning pains.

Moodle in English -> Glossary -> Some new HTML for Glossary

by David Scotson -
Hi all,

I've been doing some theming work and I've been having a lot of trouble with Glossary, since it's HTML is quite old-fashioned.

I've tried working around it with some very complicated CSS, but it seems it would be easier for me to just rewrite the HTML that the module outputs and get that fed back upstream to core Moodle.

Is anyone else interested (or horrified) by this? I'll probably end up doing it anyway for our own institution, but if anyone else has any specific needs or desires or can help get it pushed back into core then I'd be happy to work with others.

I could probably knock out a few more templates at the same time if that's of any use.
Average of ratings: -
I think those changes in that file were actually just moved from repository/renderer.php, where (I think) the were first added a month before that:

https://github.com/moodle/moodle/commit/b5e7b6385e22d09668397765b08008cf411e1862

Still not sure what they're for, but it seems like these things were more "templatey" in the past and there was all sorts of variables inside {CURLY_BRACKETS} which were supposed to be replaced with appropriate values. Maybe just a remnant of that?
Average of ratings: Useful (1)