[Zope-CVS] CVS: Products/CompositePage/common - bottom.pt:1.4.2.1
edit.js:1.7.2.1 header.pt:1.2.2.1
Shane Hathaway
shane at zope.com
Fri Feb 20 12:00:18 EST 2004
Update of /cvs-repository/Products/CompositePage/common
In directory cvs.zope.org:/tmp/cvs-serv23783/common
Modified Files:
Tag: composite-flat-ui-branch
bottom.pt edit.js header.pt
Log Message:
Started a branch for the work on a manual page composition UI.
Replaced the concept of a transformer with a "design UI". Also
added functionality for listing what slots a template uses.
=== Products/CompositePage/common/bottom.pt 1.4 => 1.4.2.1 ===
--- Products/CompositePage/common/bottom.pt:1.4 Mon Dec 29 11:47:46 2003
+++ Products/CompositePage/common/bottom.pt Fri Feb 20 11:59:47 2004
@@ -2,7 +2,7 @@
<div id="drag-feedback-box"></div>
<img id="slot-element-grip" class="slot-element-grip"
width="16" height="16" tal:define="url
- string:${options/transformer/absolute_url}/element_image"
+ string:${options/ui/absolute_url}/element_image"
tal:attributes="src url" />
<form action="moveAndDelete" name="modify_composites" method="POST"
=== Products/CompositePage/common/edit.js 1.7 => 1.7.2.1 ===
--- Products/CompositePage/common/edit.js:1.7 Mon Dec 29 11:47:46 2003
+++ Products/CompositePage/common/edit.js Fri Feb 20 11:59:47 2004
@@ -66,7 +66,7 @@
function composite_change_view(elems) {
var url, sources;
sources = composite_getsources(elems);
- url = transformer_url + "/changeViewForm?paths=" + sources;
+ url = ui_url + "/changeViewForm?paths=" + sources;
window.open(url, '', 'width=320, height=400, resizable, scrollbars, status');
}
=== Products/CompositePage/common/header.pt 1.2 => 1.2.2.1 ===
--- Products/CompositePage/common/header.pt:1.2 Thu Oct 9 17:29:16 2003
+++ Products/CompositePage/common/header.pt Fri Feb 20 11:59:47 2004
@@ -1,5 +1,5 @@
<!-- common/header.pt -->
-<tal:block tal:define="url options/transformer/absolute_url">
+<tal:block tal:define="url options/ui/absolute_url">
<link rel="stylesheet" type="text/css"
tal:attributes="href string:${url}/pdstyles_css" />
<link rel="stylesheet" type="text/css"
@@ -9,6 +9,6 @@
<script type="text/javascript"
tal:attributes="src string:${url}/edit_js"></script>
<script type="text/javascript" tal:content="structure string:
-var transformer_url = '${url}';
+var ui_url = '${url}';
"></script>
</tal:block>
More information about the Zope-CVS
mailing list