[Zope-CVS] CVS: Products/CompositePage - slot.py:1.7 transformers.py:1.6

Shane Hathaway shane at zope.com
Mon Dec 22 15:21:44 EST 2003


Update of /cvs-repository/Products/CompositePage
In directory cvs.zope.org:/tmp/cvs-serv6015

Modified Files:
	slot.py transformers.py 
Log Message:
Used a simpler method of generating element grips


=== Products/CompositePage/slot.py 1.6 => 1.7 ===
--- Products/CompositePage/slot.py:1.6	Mon Dec 22 12:28:10 2003
+++ Products/CompositePage/slot.py	Mon Dec 22 15:21:14 2003
@@ -44,8 +44,7 @@
 
 
 EDIT_TAG = '''<div class="slot_element" source_path="%s">
-<div class="slot_element_header"></div>
-<div class="slot_element_body">%s</div>
+%s
 </div>'''
 
 # VIEW_TAG includes a <div> just to ensure that the element is


=== Products/CompositePage/transformers.py 1.5 => 1.6 ===
--- Products/CompositePage/transformers.py:1.5	Mon Dec 22 12:28:10 2003
+++ Products/CompositePage/transformers.py	Mon Dec 22 15:21:14 2003
@@ -64,12 +64,11 @@
     edit_js = RawFile("edit.js", "text/javascript", _common)
     pdstyles_css = RawFile("pdstyles.css", "text/css", _common)
     editstyles_css = InterpolatedFile("editstyles.css", "text/css", _common)
-    grip_horizontal = RawFile("grip_horizontal.gif", "image/gif", _common)
-    grip_horizontal_active = RawFile("grip_horizontal_active.gif",
-                                     "image/gif", _common)
-    grip_vertical = RawFile("grip_vertical.gif", "image/gif", _common)
-    grip_vertical_active = RawFile("grip_vertical_active.gif",
-                                   "image/gif", _common)
+    target_image = RawFile("target.gif", "image/gif", _common)
+    target_image_hover = RawFile("target_hover.gif", "image/gif", _common)
+    target_image_active = RawFile("target_active.gif", "image/gif", _common)
+    element_image = RawFile("element.gif", "image/gif", _common)
+    element_image_active = RawFile("element_active.gif", "image/gif", _common)
 
     header_templates = (PageTemplateFile("header.pt", _common),)
     top_templates = ()




More information about the Zope-CVS mailing list