[Zope-CVS] CVS: Products/CompositePage/common - bottom.pt:1.4
edit.js:1.7 editstyles.css:1.6 element.gif:1.2
element_active.gif:NONE
Shane Hathaway
shane at zope.com
Mon Dec 29 11:47:47 EST 2003
Update of /cvs-repository/Products/CompositePage/common
In directory cvs.zope.org:/tmp/cvs-serv29221/common
Modified Files:
bottom.pt edit.js editstyles.css element.gif
Removed Files:
element_active.gif
Log Message:
Used the object icon as the element gripper
=== Products/CompositePage/common/bottom.pt 1.3 => 1.4 ===
--- Products/CompositePage/common/bottom.pt:1.3 Sat Dec 27 23:32:48 2003
+++ Products/CompositePage/common/bottom.pt Mon Dec 29 11:47:46 2003
@@ -1,7 +1,7 @@
<!-- common/bottom.pt -->
<div id="drag-feedback-box"></div>
<img id="slot-element-grip" class="slot-element-grip"
- width="8" height="21" tal:define="url
+ width="16" height="16" tal:define="url
string:${options/transformer/absolute_url}/element_image"
tal:attributes="src url" />
=== Products/CompositePage/common/edit.js 1.6 => 1.7 ===
--- Products/CompositePage/common/edit.js:1.6 Sat Dec 27 23:32:48 2003
+++ Products/CompositePage/common/edit.js Mon Dec 29 11:47:46 2003
@@ -139,8 +139,11 @@
function setUpSlotElement(node) {
var elem = document.getElementById('slot-element-grip');
+ var icon = node.getAttribute('icon');
if (elem) {
elem = elem.cloneNode(true);
+ if (icon)
+ elem.src = icon;
node.insertBefore(elem, node.childNodes[0]);
elem.style.display = 'inline';
}
=== Products/CompositePage/common/editstyles.css 1.5 => 1.6 ===
--- Products/CompositePage/common/editstyles.css:1.5 Fri Dec 26 14:00:33 2003
+++ Products/CompositePage/common/editstyles.css Mon Dec 29 11:47:46 2003
@@ -34,8 +34,14 @@
img.slot-element-grip {
margin: 0px 2px 2px 0px;
border: 1px outset #cccccc;
+ background-color: #cccccc;
float: left;
display: none;
+}
+
+div.slot_element_highlighted img.slot-element-grip {
+ border: 1px outset #777777;
+ background-color: #777777;
}
div.slot_element_highlighted {
=== Products/CompositePage/common/element.gif 1.1 => 1.2 ===
<Binary-ish file>
=== Removed File Products/CompositePage/common/element_active.gif ===
More information about the Zope-CVS
mailing list