80180 Commits

Author SHA1 Message Date
Damyon Wiese
4691b2d08e MDL-55417 theme_noname: Update mform templates to re-use javascript
Use an amd module instead of repeating JS in the templates.

Part of MDL-55071
2016-09-23 10:53:30 +01:00
Damyon Wiese
344321e1ef MDL-55417 forms: Clean up form element template patch
Use a trait and a base mustache template for all form elements to reduce code
duplication and increase standardisation.

Part of MDL-55071
2016-09-23 10:53:30 +01:00
Damyon Wiese
91bda4cd45 MDL-55417 forms: Render form elements with a template
This change allows form elements to be overridden with a mustache template.
The template can even listen for form validation errors and supply the JS to
change the look of the form element when there is/isn't a validation error.

Initial support is for all core form elements including:

text, select, selectyesno and checkboxes, groups, dateselector, datetimeselector,
autocomplete, modvisible, advcheckbox, button, duration, filemanager, filepicker, editor, static, grading,
warning, textarea, password, url, submit, questioncategory, recaptcha.

Part of MDL-55071
2016-09-23 10:53:30 +01:00
Damyon Wiese
ef18a21f93 MDL-55563 theme_noname: Added a bootswatch importer and 3 default bootswatches
Part of MDL-55071
2016-09-23 10:53:30 +01:00
Damyon Wiese
75d6a7d318 MDL-55517 theme_noname: Tweak the size of the username/passwords
They looked a bit to large on smaller screen sizes.

Also removed trailing whitespace from the template.

Part of MDL-55071
2016-09-23 10:53:30 +01:00
Frederic Massart
386f269fae MDL-55517 theme_noname: Style the login page
Part of MDL-55071
2016-09-23 10:53:30 +01:00
Frederic Massart
1fe8e35f54 MDL-55517 login: Converting login page to use renderer/renderable
Part of MDL-55071
2016-09-23 10:53:30 +01:00
Didier 'OdyX' Raboud
23ef5a971c MDL-55517 login: Rework the login/index.php through a mustache template
Part of MDL-55071
2016-09-23 10:53:30 +01:00
Damyon Wiese
400274bc61 MDL-55561 theme_noname: Fix bad padding in settings and nav block
Part of MDL-55071
2016-09-23 10:53:30 +01:00
Frederic Massart
d48dbde977 MDL-55384 theme_noname: Admin settings to customise the theme
Part of MDL-55071
2016-09-23 10:53:30 +01:00
Ryan Wyllie
6bde9450b8 MDL-55384 theme_noname: Support tabs in theme settings
Part of MDL-55071
2016-09-23 10:53:30 +01:00
Frederic Massart
d6d695b809 MDL-55381 theme_noname: Auto prefix CSS
Part of MDL-55071
2016-09-23 10:53:30 +01:00
Frederic Massart
99a6118f28 MDL-55381 output: Themes can post process CSS using a CSS tree object
Part of MDL-55071
2016-09-23 10:53:30 +01:00
Frederic Massart
515ceadddd MDL-55381 php-css-parser: Patch for Sabberworm/PHP-CSS-Parser#115
REMOVE ME ONCE Sabberworm/PHP-CSS-Parser#115 is merged

Part of MDL-55071
2016-09-23 10:53:30 +01:00
Frederic Massart
66bb9eadfe MDL-55497 mod_forum: Converted quick forum search to a renderable
Part of MDL-55071
2016-09-23 10:53:29 +01:00
Frederic Massart
d7c657528a MDL-55479 output: Single button uses templates
Part of MDL-55071
2016-09-23 10:53:29 +01:00
Frederic Massart
f1b34660ed MDL-55495 output: Make url_select a templatable
Part of MDL-55071
2016-09-23 10:53:29 +01:00
Damyon Wiese
8a47abcd8a MDL-55496 theme_noname: Limit the number of pagination pages
The pagination bar is not usable showing > 10 links forwards and backwards.

Part of MDL-55071
2016-09-23 10:53:29 +01:00
Frederic Massart
b0da86e03b MDL-55496 output: Make paging_bar a templatable
Part of MDL-55071
2016-09-23 10:53:29 +01:00
Frederic Massart
270dd87113 MDL-55474 block_search_forums: Convert search form to templates
Part of MDL-55071
2016-09-23 10:53:29 +01:00
Damyon Wiese
9727e142b6 MDL-55388 theme_noname: Define the purpose of bootstrap-rtl.scss
Add a comment explaining what the bootstrap-rtl.scss file is for (and what it is not for).

Part of MDL-55071
2016-09-23 10:53:29 +01:00
Frederic Massart
92e32fc45c MDL-55388 theme_noname: Adjustments for RTL
Part of MDL-55071
2016-09-23 10:53:29 +01:00
Frederic Massart
11efad5ccc MDL-55473 theme_noname: Use template for admin search form
Part of MDL-55071
2016-09-23 10:53:29 +01:00
Frederic Massart
bf7f35e945 MDL-55463 output: Make single select a templatable
Part of MDL-55071
2016-09-23 10:53:29 +01:00
Frederic Massart
b42cf867d6 MDL-55377 output: Minor fixes for RTL installation
Part of MDL-55071
2016-09-23 10:53:29 +01:00
Frederic Massart
69b06947d6 MDL-55377 output: Minor adjustments for automatic RTL support
Part of MDL-55071
2016-09-23 10:53:29 +01:00
Frederic Massart
d99949ab66 MDL-55377 theme_bootstrapbase: Adapt for RTL auto flipping
Part of MDL-55071
2016-09-23 10:53:08 +01:00
Damyon Wiese
b7e95263fd MDL-55462 output: Make help_icon templatable
Render it with a template in the new theme.

Part of MDL-55071
2016-09-23 10:49:50 +01:00
Damyon Wiese
a26d57e414 MDL-55471 javascript: Fix conflict between bootstrapbase and bootstrap4
Part of MDL-55071
2016-09-23 10:49:50 +01:00
Damyon Wiese
13d07a01b0 MDL-55416 theme_noname: Bootstrap alpha3 support
Part of MDL-55071
2016-09-23 10:49:50 +01:00
Frederic Massart
da92b73840 MDL-55416 theme_noname: Fixes for Bootstrap 4 alpha 3
Part of MDL-55071
2016-09-23 10:49:50 +01:00
Frederic Massart
ed7844b5f4 MDL-55224 theme_noname: RTL adjustments for auto-flipping era
Part of MDL-55071
2016-09-23 10:49:49 +01:00
Frederic Massart
1d987cae5f MDL-55224 output: Support automatic flipping to RTL styles
Part of MDL-55071
2016-09-23 10:49:49 +01:00
Frederic Massart
fbe18cc022 MDL-55224 core: Import PHP-CSS-Parser into core
Part of MDL-55071
2016-09-23 10:49:49 +01:00
Frederic Massart
e86eb6b80d MDL-55224 core: Import RTLCSS-PHP into core
Part of MDL-55071
2016-09-23 10:49:49 +01:00
Damyon Wiese
ac4a389eb8 MDL-55414 theme_noname: Update preferences page to template
Part of MDL-55071
2016-09-23 10:49:49 +01:00
Damyon Wiese
3f0544b839 MDL-55413 theme_noname: action-menu conversion
Convert action-menus to templates using bootstrap4 markup.
Includes changes to iconsmall/smallicon.

Part of MDL-55071
2016-09-23 10:49:49 +01:00
Frederic Massart
da4d9eb7be MDL-55412 theme_noname: Render tabs using bootstrap classes
Part of MDL-55071
2016-09-23 10:49:49 +01:00
Frederic Massart
11268ae1c4 MDL-55412 output: Make tabtree and tabobject templatables
Part of MDL-55071
2016-09-23 10:49:49 +01:00
Frederic Massart
65b8336ed3 MDL-55286 theme: Support compiling SCSS on-demand from a theme
Part of MDL-55071
2016-09-23 10:49:49 +01:00
Frederic Massart
321c986c86 MDL-55285 core: Include library scssphp in core
Part of MDL-55071
2016-09-23 10:49:49 +01:00
Damyon Wiese
88af020839 MDL-55411 theme_noname: Style the filepicker for bootstrap 4
Uses templates.

Part of MDL-55071
2016-09-23 10:49:49 +01:00
Damyon Wiese
f130c411d9 MDL-55410 theme_noname: Convert custom menu renderer to render bootstrap4 menus.
Part of MDL-55071
2016-09-23 10:49:49 +01:00
Damyon Wiese
bbe79e0e37 MDL-55409 theme_noname: Add better default button styles
Part of MDL-55071
2016-09-23 10:49:49 +01:00
Damyon Wiese
25f908968c MDL-55408 theme_noname: Add more styles for bootstrap modals
Part of MDL-55071
2016-09-23 10:49:49 +01:00
Damyon Wiese
d7fbf722c7 MDL-55407 theme_noname: Remove styling and JS from blocks
Also:
Remove styles for the dock.
Remove drag and drop for blocks.
Blocks spacing improvements
After looking for a while - the blocks need some separation, so using .card now.
Adjusted the block column sizes as well.

Part of MDL-55071
2016-09-23 10:49:48 +01:00
Damyon Wiese
d2645a6a64 MDL-55403 theme_noname: Add bootstrap4 js to moodle
Part of MDL-55071
2016-09-23 10:49:48 +01:00
Damyon Wiese
536f046033 MDL-55402 theme_noname: Convert bootstrapbase to bs4
All moodle less files are converted to sass with layouts etc
written as mustache templates.

Bootstrap 4 sass files are imported to scss/bootstrap.

Part of MDL-55071
2016-09-23 10:49:48 +01:00
Frederic Massart
3ba0023871 MDL-55401 theme_noname: Scaffolding
Part of MDL-55071
2016-09-23 10:49:48 +01:00
Eloy Lafuente (stronk7)
26162efe4a weekly release 3.2dev 2016-09-23 10:01:31 +02:00