[Zope-CVS] CVS: ZopeProducts/RotterdamSprint - template.pt:1.9

Jan-Wijbrand Kolman jw@infrae.com
Wed, 4 Dec 2002 10:22:41 -0500


Update of /cvs-repository/ZopeProducts/RotterdamSprint
In directory cvs.zope.org:/tmp/cvs-serv22043

Modified Files:
	template.pt 
Log Message:
fine tuning the slote definition

=== ZopeProducts/RotterdamSprint/template.pt 1.8 => 1.9 ===
--- ZopeProducts/RotterdamSprint/template.pt:1.8	Wed Dec  4 09:05:12 2002
+++ ZopeProducts/RotterdamSprint/template.pt	Wed Dec  4 10:22:40 2002
@@ -4,16 +4,19 @@
   xmlns="http://www.w3.org/1999/xhtml"
   xml:lang="en"
   lang="en" >
-  <head metal:define-macro="head">
+  <head>
     <title metal:define-slot="title">Z3 UI</title>
-
     <style type="text/css" media="all"
       tal:content="string:
         @import url(${context/++resource++zope3.css});">
-@import url(zope3.css);
+      @import url(zope3.css);
     </style>
 
-<script type="text/javascript" src="xmltree.js"></script>
+    <metal:block define-slot="style_slot" />
+
+    <metal:block define-slot="ecmascript_slot" />
+
+    <script type="text/javascript" src="xmltree.js"></script>
 
   </head>
   <body onload="loadtree();">
@@ -33,8 +36,6 @@
         </metal:block>
     </div>
 
-
-
     <div id="navigators">
 
       <div class="box" id="navigationTree">
@@ -60,9 +61,7 @@
     </div>
 
 
-    <div id="content"
-         metal:define-slot="body">
-
+    <div id="content">
       <div class="itemViews" metal:define-macro="zmi_tabs">
         <tal:block repeat="view views/standard_macros/getZMIViews">
           <a href="" tal:attributes="href view/action" tal:content="view/title">
@@ -71,6 +70,7 @@
         </tal:block>
       </div>
 
+      <metal:block define-slot="body">
       <div class="item">
 
         <table class="listing">
@@ -90,14 +90,12 @@
             </tr>
           </tbody>
         </table>
-
-
       </div>
 
       <div id="messages">
         Status and error messages
       </div>
-
+      </metal:block>
     </div>