Moodle

Add move cursor to Blocks title div

Details

  • Type: Improvement Improvement
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 1.7
  • Fix Version/s: None
  • Component/s: Accessibility
  • Labels:
    None
  • Affected Branches:
    MOODLE_17_STABLE

Description

In Moodle 1.7 it is possible for a teacher, in edit mode, to drag and drop the blocks. I suggest that it would improve the interface accessibility if, when moving the mouse over a block's title div, the default cursor changed to "move" cursor, to indicate this drag and drop potentiality.
This could be done in file \blocks\moodleblock.class.php, around line 262, by adding this:
$title = '<div class="title" style="cursor: move;">';
It might even be better to add the "move" cursor to the whole of the block, but I don't know how to do it.

Joseph

PS The same result would be achieved by adding the following to the theme's css:
.editing .sideblock .header {
cursor:move;
}
However, it would mean the theme would not be backward-compatible with Moodle versions previous 1.7

Activity

Hide
Nick Freear added a comment -

Hi Joseph,

Are you referring to the AJAX-Topics course format? http://docs.moodle.org/en/Roadmap#Version_1.7_-_Expected_September_2006

I haven't had time to look at this yet, and unfortunately am still busy, but it sounds like a great idea.

Thanks

Nick

Show
Nick Freear added a comment - Hi Joseph, Are you referring to the AJAX-Topics course format? http://docs.moodle.org/en/Roadmap#Version_1.7_-_Expected_September_2006 I haven't had time to look at this yet, and unfortunately am still busy, but it sounds like a great idea. Thanks Nick
Hide
Joseph Rézeau added a comment -

Hi Nick > Are you referring to the AJAX-Topics course format?

Yes, of course. Hope you can integrate my idea into the blocks moving feature.

Joseph

Show
Joseph Rézeau added a comment - Hi Nick > Are you referring to the AJAX-Topics course format? Yes, of course. Hope you can integrate my idea into the blocks moving feature. Joseph

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated: