Permalink
Browse files

ENHANCEMENT Added visual elements to aid in the usability of the Widg…

…etAreaEditor

MINOR Added better help text underneath "Available Widgets" and "Widgets currently used" (from r97602)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102733 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information...
1 parent ca2cfe1 commit addd1dea0ca693e1477372c05efcebc42e4f013d @chillu chillu committed Apr 13, 2010
View
@@ -55,12 +55,13 @@ div.availableWidgets div.Widget h3 {
color: #fff;
line-height: 1.8;
text-indent: 5px;
- background: #000 url(../images/textures/obar-18.gif);
margin: 0;
}
div.usedWidgets div.Widget h3 {
cursor: move;
+ background: #000 url(../images/handled-bg.png) right top;
}
div.availableWidgets div.Widget h3 {
cursor: pointer;
+ background: #000 url(../images/add-bg.png) right top;
}
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -2,7 +2,7 @@
<input type="hidden" id="$Name" name="$IdxField" value="$Value" />
<div class="availableWidgetsHolder">
<h2><% _t('AVAILABLE', 'Available Widgets') %></h2>
- <p>&nbsp;</p>
+ <p><% _t('AVAILWIDGETS', 'Click a widget title below to use it on this page.') %></p>
<div class="availableWidgets" id="availableWidgets-$Name">
<% if AvailableWidgets %>
<% control AvailableWidgets %>
@@ -17,7 +17,7 @@
</div>
<div class="usedWidgetsHolder">
<h2><% _t('INUSE', 'Widgets currently used') %></h2>
- <p><% _t('TOADD', 'To add widgets, click one on the left to add it here') %></p>
+ <p><% _t('TOSORT', 'To sort currently used widgets on this page, drag them up and down.') %></p>
<div class="usedWidgets" id="usedWidgets-$Name">
<% if UsedWidgets %>

0 comments on commit addd1de

Please sign in to comment.