[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/ Untabified and cleaned up some templates. There are several more in

Stephan Richter srichter at cosmos.phy.tufts.edu
Tue Mar 8 20:46:15 EST 2005


Log message for revision 29420:
  Untabified and cleaned up some templates. There are several more in 
  skintools; I will do those later.
  

Changed:
  U   Zope3/trunk/src/zope/app/boston/README.txt
  U   Zope3/trunk/src/zope/app/boston/browser/template.pt
  U   Zope3/trunk/src/zope/app/boston/browser/widget_macros.pt
  U   Zope3/trunk/src/zope/app/boston/slots/addbox_layout.pt
  U   Zope3/trunk/src/zope/app/boston/slots/tooltipbox_layout.pt
  U   Zope3/trunk/src/zope/app/boston/slots/zmicookietreebox_layout.pt
  U   Zope3/trunk/src/zope/app/skintools/addbox/browser/addbox.pt
  U   Zope3/trunk/src/zope/app/skintools/addbox/browser/addbox_layout.pt

-=-
Modified: Zope3/trunk/src/zope/app/boston/README.txt
===================================================================
--- Zope3/trunk/src/zope/app/boston/README.txt	2005-03-09 01:45:19 UTC (rev 29419)
+++ Zope3/trunk/src/zope/app/boston/README.txt	2005-03-09 01:46:14 UTC (rev 29420)
@@ -1,28 +1,29 @@
-======
-README
-======
+===================
+The Boston ZMI Skin
+===================
 
 The Boston skin is experimental work right now. Feel free to write comments,
 ideas and wishes to the zope3-dev mailinglist. 
 
-We will try different concepts on this skin. The main target whould be to get a 
-open customizable skin where can be used as a ZMI Rotterdam replacement 
-used by deveopers. 
+We will try different concepts on this skin. The main target whould be to get
+a open customizable skin that can be used as a Rotterdam
+alternative/replacement by deveopers.
 
 Requirements
 -------------
 
-  - Offer a concept for register aditional javascripts
+  - Offer a concept for registering aditional javascripts
 
-  - Offer a concept for register additional CSS style sheets
+  - Offer a concept for registering additional CSS style sheets
 
-  - Offer a concept for register own boxes under the navigation
+  - Offer a concept for registering own boxes under the navigation
   
-  - Works in newer browser on each plattform, this are linux, windows, mac
+  - Works in newer browser on each plattform, especially linux, windows, mac
 
-  - Works in newest version of the following browsers, IE, firefox(gecko),
-    Safari
+  - Works in newest version of the following browsers: IE, firefox (gecko),
+    Safari (KHTML/KJS)
 
+
 Dont's
 ------
 
@@ -30,12 +31,13 @@
     support the plattform and browsers described above.
 
   - Must not support accessibility requirments. It's not a enduser skin.
-    Please tell me if somebody need this. Id so, we can implement a own ZMI skin
-    for supporting fully accessibility support.
+    Please let me know, if somebody needs this. If so, we can implement a
+    seperate ZMI skin for supporting fully accessibility support.
 
-btw
----
 
-  Different ideas of the Boston skin where born on the IRC with Stefan Richter.
-  It's usual to name a skin like the town where the skin was born. We decide to 
-  name it Boston because Stefan lives there.
+Miscellaneous
+-------------
+
+  Different ideas of the Boston skin where born on the IRC with Stephan
+  Richter.  It's usual to name a skin like the town where the skin was
+  born. We decide to name it Boston because Stephan lives there.

Modified: Zope3/trunk/src/zope/app/boston/browser/template.pt
===================================================================
--- Zope3/trunk/src/zope/app/boston/browser/template.pt	2005-03-09 01:45:19 UTC (rev 29419)
+++ Zope3/trunk/src/zope/app/boston/browser/template.pt	2005-03-09 01:46:14 UTC (rev 29420)
@@ -1,26 +1,31 @@
 <metal:block define-macro="page"><metal:block define-slot="doctype"><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"></metal:block>
 
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" i18n:domain="zope">
+<html xmlns="http://www.w3.org/1999/xhtml" 
+      xml:lang="en" lang="en" 
+      i18n:domain="zope">
 <head>
   <title metal:define-slot="title"
-         tal:content="string:Tiks: ${context/zope:title_or_name}">Tiks: title</title>
+         tal:content="string:Zope 3: ${context/zope:title_or_name}">
+    Zope 3: title
+  </title>
   
   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 
   <!-- move this javascript to a pagelet -->
-	<script type="text/javascript" src="boston.js"
-          tal:attributes="src string:${context/++resource++boston.js}" >
-  </script>
+  <script type="text/javascript" src="boston.js"
+          tal:attributes="src string:${context/++resource++boston.js}" />
 
-  <style type="text/css" media="all" tal:content="string: @import url(${context/++resource++skin.css});">
+  <style type="text/css" media="all" 
+         tal:content="string: @import url(${context/++resource++skin.css});">
     @import url(skin.css);
   </style>
 
   <!-- move this styles sheet to a pagelet -->
-  <style type="text/css" media="all" tal:content="string: @import url(${context/++resource++widget.css});">
+  <style type="text/css" media="all" 
+         tal:content="string: @import url(${context/++resource++widget.css});">
     @import url(widget.css);
   </style>
-	
+        
   <link rel="icon" type="image/png" 
         tal:attributes="href context/++resource++favicon.png" />
 
@@ -30,19 +35,19 @@
   <metal:block define-slot="ecmascript_slot" />  
 
   <!-- head pagelets -->
-	<metal:block tal:repeat="pagelets pagelets:zope.app.boston.slots.IHead">
+  <metal:block tal:repeat="pagelets pagelets:zope.app.boston.slots.IHead">
     <tal:block metal:use-macro="pagelets" />
-	</metal:block>
-	
+  </metal:block>
+        
   <!-- css slot -->
-	<metal:block tal:repeat="pagelets pagelets:zope.app.boston.slots.ICSS">
+  <metal:block tal:repeat="pagelets pagelets:zope.app.boston.slots.ICSS">
     <tal:block metal:use-macro="pagelets" />
-	</metal:block>
-	
+  </metal:block>
+        
   <!-- javascripts slot -->
-	<metal:block tal:repeat="pagelets pagelets:zope.app.boston.slots.IJavaScript">
+  <metal:block tal:repeat="pagelets pagelets:zope.app.boston.slots.IJavaScript">
     <tal:block metal:use-macro="pagelets" />
-	</metal:block>
+  </metal:block>
 </head>
 
 <body tal:define="global rooturl request/getApplicationURL;
@@ -50,14 +55,14 @@
 
   <table id="layout">
     <tr class="menu">
-    	<td colspan="2">
+      <td colspan="2">
 
-			  <!-- toolbar slot (zmi_action) -->
-				<metal:block tal:repeat="pagelets pagelets:zope.app.boston.slots.IToolBar">
-					<tal:block metal:use-macro="pagelets" />
-				</metal:block>
+        <!-- toolbar slot (zmi_action) -->
+        <tal:block repeat="pagelets pagelets:zope.app.boston.slots.IToolBar">
+          <metal:block use-macro="pagelets" />
+        </tal:block>
 
-				<div id="userdetails">
+        <div id="userdetails">
           <metal:block define-macro="logged_user">
             <span tal:omit-tag="" i18n:translate="">User:</span>
             <tal:block replace="request/principal/title">User</tal:block>
@@ -68,74 +73,83 @@
              i18n:translate="">[Logout]</a>
           <a href="" 
              tal:attributes="href string:@@login.html?nextURL=${request/URL}"
-             tal:condition="python: not hasattr(view.request.principal, 'getLogin')"
+             tal:condition="python: not hasattr(view.request.principal, 
+                                                'getLogin')"
              i18n:translate="">[Login]</a>
         </div>
-			</td>
-		</tr>
+      </td>
+    </tr>
     <tr class="head">
-      <td class="logo"><img tal:attributes="src context/++resource++logo.gif" width="107" height="38" /></td>
+      <td class="logo">
+        <img width="107" height="38"
+             tal:attributes="src context/++resource++logo.gif" />
+      </td>
       <td>
         <div id="breadcrumbs" metal:define-macro="breadcrumbs">
           <span tal:omit-tag="" i18n:translate="">Location:&nbsp;</span>
           <tal:block repeat="breadcrumb context/@@absolute_url/breadcrumbs">
             <a href=""
                tal:condition="repeat/breadcrumb/start"
-               tal:attributes="href string:${breadcrumb/url}/@@SelectedManagementView.html"
+               tal:attributes="href 
+                    string:${breadcrumb/url}/@@SelectedManagementView.html"
                i18n:translate="">[top]</a>
             <a href=""
                tal:condition="not:repeat/breadcrumb/start"
                tal:content="string:${breadcrumb/name}"
-               tal:attributes="href string:${breadcrumb/url}/@@SelectedManagementView.html"
+               tal:attributes="href 
+                    string:${breadcrumb/url}/@@SelectedManagementView.html"
                >breadcrumb item</a>
-            / </tal:block>
+            / 
+          </tal:block>
         </div>
       </td>
     </tr>
-		<tr>
-			<td id="navigation">
-				<div id="slotbox">
-					<metal:block tal:repeat="pagelet pagelets:zope.app.boston.slots.ILeft">
-						<tal:block metal:use-macro="pagelet" />
-					</metal:block>
-				</div>
-			</td>
-			<td id="content">
-				<div id="zmiviews">
-					<div metal:define-slot="tabs" tal:condition="python:macroname == 'view'">
-						<span tal:repeat="view context/@@view_get_menu/zmi_views">
-							<a href=""
-									tal:attributes="href view/action;
-																	class view/selected;"
-									tal:content="view/title"
-									i18n:translate="">label</a>
-						</span>
-					</div> 
-      	</div> 
-      	<div metal:define-slot="message" id="message"></div>
-				<div id="body" metal:define-slot="body">
-					<table class="listing">
-						<thead>
-							<th>Test</th>
-							<th>Another</th>
-						</thead>
-							<tbody>
-								<tr>
-									<td>content</td>
-									<td>thingy</td>
-								</tr>
-								<tr class="even">
-									<td>more</td>
-									<td>data</td>
-								</tr>
-							</tbody>
-						</table>
-					</div>
-				<div id="footer" metal:define-macro="footer" />
-				<div id="logger" />
-			</td>
-		</tr>
-	</table>
+    <tr>
+      <td id="navigation">
+        <div id="slotbox">
+          <tal:block repeat="pagelet pagelets:zope.app.boston.slots.ILeft">
+            <metal:block use-macro="pagelet" />
+          </tal:block>
+        </div>
+      </td>
+      <td id="content">
+        <div id="zmiviews">
+          <div metal:define-slot="tabs" 
+               tal:condition="python:macroname == 'view'">
+            <span tal:repeat="view context/@@view_get_menu/zmi_views">
+              <a href="" 
+                 tal:attributes="href view/action;
+                                 class view/selected;"
+                 tal:content="view/title"
+                 i18n:translate="">label</a>
+            </span>
+          </div> 
+        </div> 
+        <div metal:define-slot="message" id="message" />
+        <div id="body" metal:define-slot="body">
+          <table class="listing">
+            <thead>
+              <th>Test</th>
+              <th>Another</th>
+            </thead>
+            <tbody>
+              <tr>
+                <td>content</td>
+                <td>thingy</td>
+              </tr>
+              <tr class="even">
+                <td>more</td>
+                <td>data</td>
+              </tr>
+            </tbody>
+          </table>
+        </div>
+        <div id="footer" metal:define-macro="footer" />
+        <div id="logger" />
+      </td>
+    </tr>
+  </table>
+
 </body>
 </html>
 </metal:block>

Modified: Zope3/trunk/src/zope/app/boston/browser/widget_macros.pt
===================================================================
--- Zope3/trunk/src/zope/app/boston/browser/widget_macros.pt	2005-03-09 01:45:19 UTC (rev 29419)
+++ Zope3/trunk/src/zope/app/boston/browser/widget_macros.pt	2005-03-09 01:46:14 UTC (rev 29420)
@@ -2,32 +2,33 @@
   <body>
     <metal:block define-macro="widget_rows">
 
-			<table id="widgets" border="0" cellspacing="0" cellpadding="0">
-      	<div class="row" tal:repeat="widget view/widgets">
-       		<metal:block define-macro="widget_row">
-						<tr>
-							<td class="labels">
-								<div class="label">
-									<label for="field.name" title="The widget's hint"
-										tal:attributes="for widget/name; title widget/hint"
-										tal:content="widget/label">The Label</label>
-								</div>
-							</td>
-							<td class="fields">
-								<div class="field" tal:content="structure widget">
-									<input type="text" style="width:100%"/>
-								</div>
-								<div class="error" tal:define="error widget/error"
-														tal:condition="error" tal:content="structure error">
-										The Error
-								</div>
-							</td>
-						</tr>
+      <table id="widgets" border="0" cellspacing="0" cellpadding="0">
+        <div class="row" tal:repeat="widget view/widgets">
+          <metal:block define-macro="widget_row">
+            <tr>
+              <td class="labels">
+                <div class="label">
+                  <label for="field.name" title="The widget's hint"
+                       tal:attributes="for widget/name; title widget/hint"
+                       tal:content="widget/label">The Label</label>
+                </div>
+              </td>
+              <td class="fields">
+                <div class="field" tal:content="structure widget">
+                  <input type="text" style="width:100%" />
+                </div>
+                <div class="error" 
+                     tal:define="error widget/error"
+                     tal:condition="error" 
+                     tal:content="structure error">
+                  The Error
+                </div>
+              </td>
+            </tr>
+          </metal:block>
+        </div>
+      </table>
 
-					</metal:block>
-				</div>
-			</table>
-
     </metal:block>
   </body>
 </html>

Modified: Zope3/trunk/src/zope/app/boston/slots/addbox_layout.pt
===================================================================
--- Zope3/trunk/src/zope/app/boston/slots/addbox_layout.pt	2005-03-09 01:45:19 UTC (rev 29419)
+++ Zope3/trunk/src/zope/app/boston/slots/addbox_layout.pt	2005-03-09 01:46:14 UTC (rev 29420)
@@ -2,26 +2,25 @@
 <body>
 
 <metal:block define-macro="addbox_layout">
-	<div class="slotbox" id="addbox">
-		<div class="header">
+  <div class="slotbox" id="addbox">
+    <div class="header">
 
-			<img id="arrowAddBox" class="icon" style="cursor:hand" 
-					 onClick="javascript:toggle(document.getElementById('arrowAddBox'), 'addboxToggle')"
-					 border="0" src="collapse.gif" width="16" height="16"
-					 tal:attributes="src context/++resource++collapse.gif">
-	
-			<metal:block define-slot="header">
-				This text will be replace by the content of the pagelet.
-			</metal:block>
-		</div>
-		<div class="toggle body" id="addboxToggle">
-	
-			<metal:block define-slot="body">
-				This text will be replace by the content of the pagelet.
-			</metal:block>
-	
-		</div>
-	</div>
+      <img id="arrowAddBox" class="icon" style="cursor:hand" 
+           onClick="javascript:toggle(document.getElementById('arrowAddBox'), 
+                                      'addboxToggle')"
+           border="0" src="collapse.gif" width="16" height="16"
+           tal:attributes="src context/++resource++collapse.gif" />
+        
+      <metal:block define-slot="header">
+        This text will be replace by the content of the pagelet.
+      </metal:block>
+    </div>
+    <div class="toggle body" id="addboxToggle">
+      <metal:block define-slot="body">
+        This text will be replace by the content of the pagelet.
+      </metal:block>
+    </div>
+  </div>
 </metal:block>
 
 </body>

Modified: Zope3/trunk/src/zope/app/boston/slots/tooltipbox_layout.pt
===================================================================
--- Zope3/trunk/src/zope/app/boston/slots/tooltipbox_layout.pt	2005-03-09 01:45:19 UTC (rev 29419)
+++ Zope3/trunk/src/zope/app/boston/slots/tooltipbox_layout.pt	2005-03-09 01:46:14 UTC (rev 29420)
@@ -2,27 +2,28 @@
 <body>
 
 <metal:block define-macro="tooltipbox_layout">
-	<div class="slotbox" id="tooltipbox">
-		<div class="header"> 
+  <div class="slotbox" id="tooltipbox">
+    <div class="header"> 
 
-			<img id="arrowToolTipBox" class="icon" style="cursor:hand" 
-					 onClick="javascript:toggle(document.getElementById('arrowToolTipBox'), 'tooltipboxToggle')"
-					 border="0" src="collapse.gif" width="16" height="16"
-					 tal:attributes="src context/++resource++collapse.gif">
-	
-			<metal:block define-slot="header">
-				This text will be replace by the content of the pagelet.
-			</metal:block>
-	
-		</div>
-		<div class="toggle body" id="tooltipboxToggle">
-	
-			<metal:block define-slot="body">
-				This text will be replace by the content of the pagelet.
-			</metal:block>
-	
-		</div>
-	</div>
+      <img id="arrowToolTipBox" class="icon" style="cursor:hand" 
+           onClick="javascript:toggle(
+               document.getElementById('arrowToolTipBox'), 'tooltipboxToggle')"
+           border="0" src="collapse.gif" width="16" height="16"
+           tal:attributes="src context/++resource++collapse.gif" />
+
+      <metal:block define-slot="header">
+        This text will be replace by the content of the pagelet.
+      </metal:block>
+        
+    </div>
+    <div class="toggle body" id="tooltipboxToggle">
+        
+      <metal:block define-slot="body">
+        This text will be replace by the content of the pagelet.
+      </metal:block>
+        
+    </div>
+  </div>
 </metal:block>
 
 </body>

Modified: Zope3/trunk/src/zope/app/boston/slots/zmicookietreebox_layout.pt
===================================================================
--- Zope3/trunk/src/zope/app/boston/slots/zmicookietreebox_layout.pt	2005-03-09 01:45:19 UTC (rev 29419)
+++ Zope3/trunk/src/zope/app/boston/slots/zmicookietreebox_layout.pt	2005-03-09 01:46:14 UTC (rev 29420)
@@ -2,27 +2,28 @@
 <body>
 
 <metal:block define-macro="zmicookietreebox_layout">
-	<div class="slotbox" id="zmicookietreebox">
-		<div class="header"> 
+  <div class="slotbox" id="zmicookietreebox">
+    <div class="header"> 
 
-			<img id="arrowZMICookieTreeBox" class="icon" style="cursor:hand" 
-					 onClick="javascript:toggle(document.getElementById('arrowZMICookieTreeBox'), 'zmicookietreeboxToggle')"
-					 border="0" src="collapse.gif" width="16" height="16"
-					 tal:attributes="src context/++resource++collapse.gif">
+      <img id="arrowZMICookieTreeBox" class="icon" style="cursor:hand" 
+           onClick="javascript:toggle(document.getElementById(
+               'arrowZMICookieTreeBox'), 'zmicookietreeboxToggle')"
+           border="0" src="collapse.gif" width="16" height="16"
+           tal:attributes="src context/++resource++collapse.gif" />
+      
+      <metal:block define-slot="header">
+        This text will be replace by the content of the pagelet.
+      </metal:block>
 	
-			<metal:block define-slot="header">
-				This text will be replace by the content of the pagelet.
-			</metal:block>
+    </div>
+    <div class="toggle treebody" id="zmicookietreeboxToggle">
 	
-		</div>
-		<div class="toggle treebody" id="zmicookietreeboxToggle">
+      <metal:block define-slot="body">
+	This text will be replace by the content of the pagelet.
+      </metal:block>
 	
-			<metal:block define-slot="body">
-				This text will be replace by the content of the pagelet.
-			</metal:block>
-	
-		</div>
-	</div>
+    </div>
+  </div>
 </metal:block>
 
 </body>

Modified: Zope3/trunk/src/zope/app/skintools/addbox/browser/addbox.pt
===================================================================
--- Zope3/trunk/src/zope/app/skintools/addbox/browser/addbox.pt	2005-03-09 01:45:19 UTC (rev 29419)
+++ Zope3/trunk/src/zope/app/skintools/addbox/browser/addbox.pt	2005-03-09 01:46:14 UTC (rev 29420)
@@ -2,55 +2,63 @@
 <body>
 
 <div metal:define-macro="addbox"
-		tal:define="global addingInfo context/@@+/addingInfo"
-		tal:repeat="pagelet pagelets:zope.app.skintools.addbox.IAddBoxLayout"
-		tal:omit-tag="">
+     tal:define="global addingInfo context/@@+/addingInfo"
+     tal:repeat="pagelet pagelets:zope.app.skintools.addbox.IAddBoxLayout"
+     tal:omit-tag="">
 
-	<tal:block metal:use-macro="pagelet">
+  <metal:block use-macro="pagelet">
 
-		<metal:block fill-slot="header">
-			<div class="title" i18n:translate="">Quick add</div>
-		</metal:block>
+    <metal:block fill-slot="header">
+      <div class="title" i18n:translate="">Quick add</div>
+    </metal:block>
 
-		<metal:block fill-slot="body" tal:condition="addingInfo">
-			<span tal:repeat="info addingInfo" tal:omit-tag="">
-				<div tal:define="namesRequired context/@@+/nameAllowed;
-								 				oddrow repeat/info/odd;
-						 						has_custom_add_view python:'has_custom_add_view' in info"
-						 tal:attributes="class python:oddrow and 'content even' or 'content odd'"
-						 class="even">
-					<a href="#"
-						tal:define="baseurl python:request.getURL(1)"
-						tal:condition="python: not info['action'].startswith('../')
-																	 and namesRequired and not has_custom_add_view"
-						tal:attributes="href string:${baseurl}/@@contents.html?type_name=${info/action};
-							class info/selected"
-						tal:content="info/title" i18n:translate="">Folder
-					</a>
-					
-					<a href="#"
-						tal:define="baseurl python:request.getURL(1)"
-						tal:condition="python: not info['action'].startswith('../') 
-											 and (has_custom_add_view or not namesRequired)"
-						tal:attributes="
-							href string:${baseurl}/@@+/action.html?type_name=${info/action};
-							class info/selected"
-						tal:content="info/title" i18n:translate="">Folder
-					</a>
-		
-					<a href="#"
-						tal:define="baseurl python:request.getURL(1)"
-						tal:condition="python: info['action'].startswith('../')"
-						tal:attributes="
-							href python: info['action'][3:];
-							class info/selected"
-						tal:content="info/title" i18n:translate="">Folder
-					</a>
-				</div>
+    <metal:block fill-slot="body" tal:condition="addingInfo">
+      <span tal:repeat="info addingInfo" tal:omit-tag="">
+        <div tal:define="
+                    namesRequired context/@@+/nameAllowed;
+                    oddrow repeat/info/odd;
+                    has_custom_add_view python:'has_custom_add_view' in info"
+             tal:attributes="
+                    class python:oddrow and 'content even' or 'content odd'"
+             class="even">
+          <a href="#"
+             tal:define="baseurl python:request.getURL(1)"
+             tal:condition="
+                 python: not info['action'].startswith('../')
+                         and namesRequired and not has_custom_add_view"
+             tal:attributes="href 
+                 string:${baseurl}/@@contents.html?type_name=${info/action};
+                 class info/selected"
+             tal:content="info/title" i18n:translate="">
+            Folder
+          </a>
+                                        
+          <a href="#"
+             tal:define="baseurl python:request.getURL(1)"
+             tal:condition="
+                 python: not info['action'].startswith('../') 
+                         and (has_custom_add_view or not namesRequired)"
+             tal:attributes="href 
+                 string:${baseurl}/@@+/action.html?type_name=${info/action};
+                 class info/selected"
+             tal:content="info/title" i18n:translate="">
+            Folder
+          </a>
+                
+          <a href="#"
+             tal:define="baseurl python:request.getURL(1)"
+             tal:condition="python: info['action'].startswith('../')"
+             tal:attributes="href python: info['action'][3:];
+                             class info/selected"
+             tal:content="info/title" i18n:translate="">
+            Folder
+          </a>
+        </div>
       </span>
-		</metal:block>
-	</tal:block>
+    </metal:block>
 
+  </metal:block>
+
 </div>
 
 </body>

Modified: Zope3/trunk/src/zope/app/skintools/addbox/browser/addbox_layout.pt
===================================================================
--- Zope3/trunk/src/zope/app/skintools/addbox/browser/addbox_layout.pt	2005-03-09 01:45:19 UTC (rev 29419)
+++ Zope3/trunk/src/zope/app/skintools/addbox/browser/addbox_layout.pt	2005-03-09 01:46:14 UTC (rev 29420)
@@ -2,28 +2,29 @@
 <body>
 
 <metal:block define-macro="addbox_layout">
-	<div class="slotbox" id="addbox">
-		<div class="header"> 
-	
-			<metal:block define-slot="header">
-				This text will be replace by the content of the pagelet.
-			</metal:block>
+  <div class="slotbox" id="addbox">
+    <div class="header"> 
+        
+      <metal:block define-slot="header">
+        This text will be replace by the content of the pagelet.
+      </metal:block>
 
-			<span>
-			<img id="arrowAddBox" class="icon" style="cursor:hand" 
-					 onClick="javascript:toggle(document.getElementById('arrowAddBox'), 'adddboxToggle')"
-					 border="0" src="collapse.gif" width="16" height="16"
-					 tal:attributes="src context/++resource++collapse.gif">
-			</span>
-		</div>
-		<div class="toggle body" id="adddboxToggle">
-	
-			<metal:block define-slot="body">
-				This text will be replace by the content of the pagelet.
-			</metal:block>
-	
-		</div>
-	</div>
+      <span>
+        <img id="arrowAddBox" class="icon" style="cursor:hand" 
+             onClick="javascript:toggle(
+                 document.getElementById('arrowAddBox'), 'adddboxToggle')"
+             border="0" src="collapse.gif" width="16" height="16"
+             tal:attributes="src context/++resource++collapse.gif" />
+      </span>
+    </div>
+    <div class="toggle body" id="adddboxToggle">
+        
+      <metal:block define-slot="body">
+        This text will be replace by the content of the pagelet.
+      </metal:block>
+        
+    </div>
+  </div>
 </metal:block>
 
 </body>



More information about the Zope3-Checkins mailing list