80378 Commits

Author SHA1 Message Date
Frederic Massart
113efed5b0 MDL-51948 admin: Make admin settings RTL friendly
Part of MDL-55071
2016-09-23 10:54:22 +01:00
Frederic Massart
a47e73ff7c MDL-55594 output: Adding template name to filenotfound exception
Part of MDL-55071
2016-09-23 10:53:57 +01:00
Frederic Massart
10deddd34e MDL-55594 mod_forum: Convert 'big' search form to templates
Part of MDL-55071
2016-09-23 10:53:56 +01:00
Frederic Massart
14395f9789 MDL-55594 output: Adding template for html_writer::select_time
Part of MDL-55071
2016-09-23 10:53:56 +01:00
Damyon Wiese
d893a4111e MDL-55700 theme_noname: Allow text nodes in breadcrumb
The new theme was showing all nodes in the breadcrumb as links even when there is no
valid link.

Part of MDL-55071
2016-09-23 10:53:56 +01:00
Damyon Wiese
b4e5fcf5e2 MDL-55711 theme_noname: CSS fix for settings block
Make the branches and leaves line up.

Part of MDL-55071
2016-09-23 10:53:56 +01:00
Frederic Massart
a84eadb88e MDL-55701 output: Adding core template for help_icon
We didn't intend to do this, but as I made the mistake of extending
core/help_icon in a core template without realising that it
works solely because I had that template in the new theme, I
decided to add this template to core too.

Part of MDL-55071
2016-09-23 10:53:56 +01:00
Andrew Nicols
ecfad63d28 MDL-55696 output: Correct handling of url_select nothingvalue
Part of MDL-55071
2016-09-23 10:53:56 +01:00
Damyon Wiese
126e1b2436 MDL-55658 theme_noname: Move the footer out of the content region
So it can be 100% wide.

Part of MDL-55071
2016-09-23 10:53:56 +01:00
Damyon Wiese
d6f2ce1486 MDL-55656 theme_noname: Include advanced and required field markup
The new form elements were not including the markup for advanced
and required fields. I used an <abbr> tag in the label to give
and accessible indication of the advanced and required fields.

Part of MDL-55071
2016-09-23 10:53:56 +01:00
Damyon Wiese
072364df0f MDL-55607 theme_noname: Remove icon styles - We only need .icon everywhere.
Part of MDL-55071
2016-09-23 10:53:56 +01:00
Frederic Massart
c1d6e95b52 MDL-55584 theme_noname: Patching for better feel in grades
Part of MDL-55071
2016-09-23 10:53:56 +01:00
Frederic Massart
d68a9ece86 MDL-55584 core_grades: Convert part of set-up screen to template
Part of MDL-55071
2016-09-23 10:53:56 +01:00
Frederic Massart
ec3857fee2 MDL-55584 gradereport_singleview: Convert some elements to template
Part of MDL-55071
2016-09-23 10:53:56 +01:00
Frederic Massart
376e14fa34 MDL-55564 theme_noname: Use alert-danger rather than alert-error
Part of MDL-55071
2016-09-23 10:53:56 +01:00
Frederic Massart
2c773bb359 MDL-55564 theme_noname: Override admin setting templates
Part of MDL-55071
2016-09-23 10:53:56 +01:00
Frederic Massart
df7602298a MDL-55564 core_admin: Convert admin settings to use templates
Part of MDL-55071
2016-09-23 10:53:56 +01:00
Frederic Massart
58357d41af MDL-55564 output: Single select label wasn't translated
Part of MDL-55071
2016-09-23 10:53:56 +01:00
Frederic Massart
cd7a164bdf MDL-55564 output: Use template for password autofill hack
Part of MDL-55071
2016-09-23 10:53:55 +01:00
Frederic Massart
d3c35f934a MDL-55399 theme: Update upgrade.txt to reflect API changes
Part of MDL-55071
2016-09-23 10:53:55 +01:00
Frederic Massart
bffc0ef1f9 MDL-55508 theme_noname: Fix styling of the assignment grading interface
Part of MDL-55071
2016-09-23 10:53:31 +01:00
Damyon Wiese
ce18fb1e86 MDL-55417 forms: Change iscancel property to issecondary for submit buttons
This is more future proof for the template.

Part of MDL-55071
2016-09-23 10:53:31 +01:00
Damyon Wiese
7e2cd5b84e MDL-55417 forms: Improve some of the new templates for form elements
Also - un-deprecate selectwithlink (Fred convinced me).

Part of MDL-55071
2016-09-23 10:53:30 +01:00
Damyon Wiese
97a00c9b8e MDL-55417 forms: Keep the JS for autocomplete in the template
Part of MDL-55071
2016-09-23 10:53:30 +01:00
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