1800 Commits

Author SHA1 Message Date
Dongsheng Cai
d3eb3b2951 "MDL-21170, improve filemanger style" 2010-03-29 07:13:55 +00:00
Dongsheng Cai
c794595d5f "MDL-21943, fixed paging class name" 2010-03-29 05:29:53 +00:00
Dongsheng Cai
b1d124d1df "MDL-21943, remove hard-coded style" 2010-03-29 04:06:13 +00:00
Sam Hemelryk
2c778befcc themes MDL-21862 Removed unwanted border on standard theme's fstatic element from mforms 2010-03-25 08:01:18 +00:00
Sam Hemelryk
83d629cebc themes MDL-21862 Add support into standard theme to resize block regions if there are no blocks due to docking. 2010-03-25 07:46:13 +00:00
Sam Hemelryk
90723839ca themes MDL-21862 Implements base theme and standard theme.
Very big theme changes, standardold theme has been split into two themes base and standard. Base theme contains only CSS that is absolutly required (e.g. layout, white space rules, specific widths) and standard (which now looks like standardwhite) contains all the frills.
The following noteable changes have also been made:
  * Plugin CSS has been pushed back into the plugin directories as styles.css files.
  * Install_print_header has been corrected.
  * Redundant or deprecated rules have been removed.
  * Several minor class changes throughout Moodle.
  * CSS is now single line rules not multiline indented.
  * Installs with theme=standardold automatically switch to standard.
  * body classes / id now have prefixes to make it clearer what they are and avoid conflicts.
Also worth noting:
  * There is still alot of tweaking that is required to get everything looking as it is supposed to, please be patient or better yet help out.
  * I am currently working on the documentation for the themes system... it will be here soon.
2010-03-25 06:38:21 +00:00
David Mudrak
16be897441 MDL-21652 html_table rendering refactored
* class html_component does not exist any more
* class html_table rendered via html_writer::table()
* html_table, html_table_row and html_table_cell have public $attributes property to set their CSS classes
* dropped rotateheaders feature, should be added again after more research of possible ways (<svg> is not nice IMHO)
* dropped possibility to define CSS classes for table heading, body and footer - can be easily done and better done using just table class and context
2010-03-20 22:15:54 +00:00
Dongsheng Cai
7695110029 "MDL-19118, improve comments block" 2010-03-18 09:42:30 +00:00
Tim Hunt
990650f94c quiz: MDL-16478 Allow different open/close dates, etc. for individual students or groups.
This was implemented by Matt Petro of the University of Wisconsin - Madison Engineering
School and Math Department. Many thanks. Reviewed by and committed by Tim Hunt.

This adds a new Overrides tab to the UI, with sub-tabs Group overrides and User overrides.
Each of those lists all the overrides that currently exist, and lets you manage them and
create more.

When a quiz is being attempted, the override that applies to the current user is combined
with the current quiz settings loaded from the quiz table (normally called $quiz).
If there are both user and group overrides, then just the specific user override is used (more specific).
If the user is in several groups, then the overrides are combined to give the most permissive set of options.

There is one new database table quiz_overrides, to store the overrides.
2010-03-08 16:01:38 +00:00
Petr Skoda
01a2ce80ec MDL-21710, MDL-21711 new permissions evaluation and overriding UI 2010-03-07 09:28:54 +00:00
Sam Hemelryk
25a102a9f2 theme-anomaly MDL-20175 Updated renderer after recent changes 2010-03-04 07:15:55 +00:00
Sam Hemelryk
46de77b6b7 navigation MDL-21543 Moved block docking icons next to the show-hide block icon 2010-02-24 08:12:17 +00:00
Sam Hemelryk
c24895978f group MDL-21533 Replaced overlib usage within Group with YUI3 equivilant JavaScript code 2010-02-24 03:57:36 +00:00
Petr Skoda
26acc814eb MDL-20204 fixed html-writer::tag() parameter order to match the rest of the api 2010-02-18 18:15:56 +00:00
Sam Hemelryk
d896fd51ba themes MDL-21589 Added a CSS rule to correct the show advanced buttons in themes the make base their parent rather than standardold 2010-02-18 09:29:39 +00:00
Sam Hemelryk
5f34a2a3d6 theme-anomaly MDL-20175 Fixed regressions after recent block changes 2010-02-18 07:48:22 +00:00
Penny Leach
b257d7c411 mnet MDL-21278 print a list of potential idps on the login page with links
this adds a new contract auth plugin method (implemented as empty in the base class)
2010-02-18 01:30:13 +00:00
Petr Skoda
c09e1a2cb7 MDL-21557 potential fix for IE CSS issues in debug mode 2010-02-08 16:50:12 +00:00
Petr Skoda
baeb20bba3 MDL-21400 thems and JS now using the same script naming convention and parameter style 2010-02-07 13:08:46 +00:00
Petr Skoda
35eafad0ec MDL-21400 fixed borked yui CSS when image contained "_" 2010-02-06 19:41:20 +00:00
Sam Hemelryk
60e1930096 theme-anomaly MDL-20175 Mega theme changes for anomaly
* Changed layout from tables to the 3 divs (2,1,3)
* Cleaned up the all of the images, remade where required with optimised palettes
* Rewrote CSS, this is ongoing process with changes required in both base and anomaly
* Customised the dock to fit with the theme
* Implemented a custom renderer to achieve rounded corners in IE + Opera (CSS otherwise)
2010-02-05 08:38:02 +00:00
Sam Hemelryk
53fc3e7040 javascript MDL-21503 Removed use of the global Y from dock, navigation and calendar
Also included in this patch the ability to switch the dock from the left to right side of the screen.
Altered js_object_init to deliver Y like js_init_call does now.
Several minor tweaks made to the dock and navigation as well at the same time.
2010-02-05 06:36:09 +00:00
Petr Skoda
76c0123b0e MDL-21400 completion manual toggle ajax converted to YUI3, simplified a bit, replaced textual feedback with standard ajax progress indicator spinning icon (fully themable) 2010-02-04 22:41:49 +00:00
jerome mouneyrac
d40fdeba8c webservice MDL-20803 updated the css, kudo to Sam H. Javascript been fixed by other fix. 2010-01-29 05:42:18 +00:00
Petr Skoda
2d65597b6c MDL-21403 removing ->asap() used for flicker-lessremoval of go button, no use .hiddenifjs class instead 2010-01-26 09:32:21 +00:00
Sam Hemelryk
1ce15fdac8 navigation MDL-21366 Converted dock and navigation to YUI3 modules and added some supporting structures to outputcomponents and ajaxlib 2010-01-21 08:38:50 +00:00
Martin Dougiamas
ed9421fee7 theme/standardold MDL-20790 renamed layout from module -> incourse 2010-01-18 05:58:04 +00:00
Sam Hemelryk
d2c394f3c3 javascript-dock MDL-21329 Added $CFG->allowblockstodock(true by default) and $THEME->enable_dock (false by default)
Also moved blocks/blocks.js to javascript-static,js so there is one less file to load
2010-01-14 06:56:12 +00:00
Sam Hemelryk
9d89733132 javascript-dock MDL-21329 Several major changes to the underlying navigation and dock code
The following changes have been made in this commit:
1. Renamed the side bar thing to dock, this is consistent through all code/css now.
2. Converted everything to YUI 3 except the panel which docked items are shown in, this iwll be converted once YUI 3 overlay is no longer beta.
3 Redisigned the dock, all blocks can now make use of it, and theme code within JS can override it so they can make it look as they want.
More changes are coming
2010-01-14 05:35:23 +00:00
Moodle HQ git importer
07e1428995 Fixing drift between CVS and git - removing legacy themes 2010-01-13 11:25:15 +00:00
Petr Skoda
086c0cc135 MDL-21149 more info for theme designers 2010-01-12 17:35:10 +00:00
Petr Skoda
218671eb69 MDL-21149 more anomaly update info 2010-01-12 17:29:00 +00:00
Petr Skoda
3d38a00bc8 MDL-21149 renamed 'standard' theme to 'standardold' - this should finally make clear that new themes should not be based on legacy standard theme; all new core themes will be based on fresh new minimalistic 'base' theme, highly customised abnd experimentatl themes do not have to use base at all 2010-01-12 17:26:46 +00:00
Petr Skoda
b1f8c27b60 MDL-20785 removing all old themes from CVS because the current mix of new and old themes is extremely confusing for theme developers, sorry - if somebody needs the original code please use CVS attick or git; please note themes like customcorners (yes withouth the underscore!) and chameleon might make it back later before the beta phase 2010-01-12 17:10:42 +00:00
Petr Skoda
04c0140811 MDL-21244 added new option for footer JS from themes as requested by Urs 2010-01-05 23:22:16 +00:00
Petr Skoda
e10f304d19 MDL-21252 home-grown CSS minimisation 2010-01-05 21:45:51 +00:00
Petr Skoda
7c986f04e3 MDL-21241 theme CSS and JS gzip compression + some more fixes 2010-01-05 20:18:15 +00:00
Petr Skoda
c724f835ca MDL-21242 moving yui2 skin away from theme CSS, this improves browser caching and finally we may load skin from the internet too 2010-01-05 17:29:43 +00:00
Petr Skoda
2574fae6ef MDL-21123 moved javascript for navigation bar - testing of themes JS and it may need to use different tricks in other themes with CSS column layouts 2010-01-04 23:51:48 +00:00
Petr Skoda
5c2ed7e215 MDL-21198 $OUTPUT->single_button() resurrection, hopefully much easier to use than $OUTPUT->button(); fixed some regressions and code style improvements 2010-01-03 15:46:14 +00:00
David Mudrak
94846b2673 Preventing assignment CSS from influencing other modules
This was discovered during workshop testing. User pictures were all
displayed in size 35x35px regardless their size setting. This was caused
by mod/assignment standard theme.
2010-01-02 22:54:13 +00:00
Petr Skoda
00db2a3551 MDL-20204 just a little blue theme experiment for testing of theme development process ;-) 2009-12-29 22:11:52 +00:00
Petr Skoda
c43adfe9da MDL-20204 just a little blue theme experiment for testing of theme development process ;-) 2009-12-29 22:11:52 +00:00
Petr Skoda
244a32c617 MDL-21119 lang menu and login info now handled by themes 2009-12-29 17:26:29 +00:00
Petr Skoda
b195b44339 MDL-21193 improved error messages in combo loader 2009-12-29 12:39:11 +00:00
Petr Skoda
a4738eb361 MDL-21193 improved error messages in combo loader 2009-12-29 12:38:50 +00:00
Petr Skoda
d6b64d1583 MDL-21208 THEME_DESIGNER_CACHE_LIFETIME control option added 2009-12-29 12:14:42 +00:00
Petr Skoda
7829cf7955 MDL-21208 major perf improvement for theme designer mode - now partially cached too ;-) 2009-12-29 12:04:31 +00:00
Petr Skoda
13ea159e9c MDL-21208 longer image caching in theme designer mode (performance) 2009-12-29 11:05:25 +00:00
Petr Skoda
945f19f77d MDL-21193 finally fixed YUI3 laoding - now fully cached and working - yay! 2009-12-28 23:08:55 +00:00