[Zope3-checkins] CVS: Zope3/src/zope/app/browser/skins/rotterdam - template.pt:1.16

Stephan Richter srichter@cbu.edu
Tue, 1 Apr 2003 23:39:01 -0500


Update of /cvs-repository/Zope3/src/zope/app/browser/skins/rotterdam
In directory cvs.zope.org:/tmp/cvs-serv15973/src/zope/app/browser/skins/rotterdam

Modified Files:
	template.pt 
Log Message:
Okay, I correctly indented the file, after being frustrated trying to fix
the OnlineHelp box...I really do not like that DIV stuff...


=== Zope3/src/zope/app/browser/skins/rotterdam/template.pt 1.15 => 1.16 ===
--- Zope3/src/zope/app/browser/skins/rotterdam/template.pt:1.15	Mon Mar 10 06:24:53 2003
+++ Zope3/src/zope/app/browser/skins/rotterdam/template.pt	Tue Apr  1 23:39:00 2003
@@ -1,20 +1,25 @@
-<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>
+<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">
+    xml:lang="en"
+    lang="en">
 
-<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});"
+               "string: @import url(${context/++resource++zope3.css});"
            >
       @import url(zope3.css);
     </style>
-	
+        
     <meta http-equiv="Content-Type"
           content="text/html;charset=utf-8" />
 
@@ -23,54 +28,41 @@
     <metal:block define-slot="ecmascript_slot" />
 
     <script type="text/javascript" src="xmltree.js" 
-            tal:attributes="src string:${context/++resource++xmltree.js}"></script>
-</head>
+            tal:attributes="src string:${context/++resource++xmltree.js}" />
+  </head>
 
-<body onload="loadtree('');"
-        tal:define="rooturl     request/getApplicationURL;
-                    thisbaseurl request/URL/-1;
-                    "
-        tal:attributes="
-          onload string:loadtree('${rooturl}/', '${thisbaseurl}/');
-          " 
-        >
+  <body onload="loadtree('');"
+      tal:define="rooturl     request/getApplicationURL;
+                  thisbaseurl request/URL/-1;"
+      tal:attributes="
+          onload string:loadtree('${rooturl}/', '${thisbaseurl}/');">
 
     <div id="global">
-        <img tal:attributes="src context/++resource++zope3logo.gif" />
+      <img tal:attributes="src context/++resource++zope3logo.gif" />
     </div>
 
-
     <div id="personal">
-
-  		<div id="userDetails">
-
+      <div id="userDetails">
         <metal:block define-macro="logged_user">
           User:
           <tal:block replace="request/user/getTitle">
             User
           </tal:block>
-        </metal:block>
-  		
-  		</div>
-
+        </metal:block>  
+      </div>
       [Personalized Elements]
-
     </div>
 
     <div id="navigators">
-
       <div class="box" id="navigationTree">
-
         <h4>Navigation</h4>
-
         <div 
-          xmlns="http://www.zope.org/zope3xmltree"
-          id="navtreecontents" 
-          class="body" 
-          onclick="treeclicked(event);" 
-          >Loading...
+            xmlns="http://www.zope.org/zope3xmltree"
+            id="navtreecontents" 
+            class="body" 
+            onclick="treeclicked(event);" 
+            >Loading...
         </div>
-
       </div>
 
       <div class="box" id="commonTasks"
@@ -78,13 +70,9 @@
            tal:condition="view/strip|nothing">
 
         <h4>Common Tasks</h4>
-
         <div class="body">
-
-              <span tal:replace="structure view" />
-
+          span tal:replace="structure view" />
         </div>
-
       </div>
 
     </div>
@@ -92,24 +80,18 @@
 
     <div id="workspace">
 
-        <div class="itemViews"
-             metal:define-slot="tabs">
-
+      <div class="itemViews"
+           metal:define-slot="tabs">
         <tal:block repeat="view context/@@view_get_menu/zmi_views">
-
           <a href="" 
             tal:attributes="href view/action;
                             class view/selected;" 
             tal:content="view/title">
-
             label
-
           </a>
-
         </tal:block>
-
       </div>
-			
+                        
       <div id="actions"
           tal:define="actions context/@@view_get_menu/zmi_actions"
           tal:condition="actions"
@@ -121,11 +103,11 @@
               Action name
           </a>&nbsp;
       </div>
-			
+                        
       <div id="viewspace">
 
         <div id="breadcrumbs"
-         metal:define-macro="breadcrumbs"
+             metal:define-macro="breadcrumbs"
          > Location:&nbsp;<tal:block
              repeat="breadcrumb context/@@absolute_url/breadcrumbs"
             ><a href=""
@@ -140,106 +122,104 @@
                    tal:attributes="
                    href string:${breadcrumb/url}/@@SelectedManagementView.html"
                     >breadcrumb item</a> / </tal:block>
-  		  </div>
-		
-      <div metal:define-slot="message" id="message">
-
-      </div>
-
-      <div id="content">
-      <metal:block 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>
-      </metal:block>
-      </div>
-
-      <div id="context_information">
+        </div>
+                
+        <div metal:define-slot="message" id="message">
+        </div>
 
-      <div id="helpers">
+        <div id="content">
+          <metal:block 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>
+          </metal:block>
+        </div>
 
-        <div class="box" id="itemHelp" tal:condition="pagetip|nothing">
+        <div id="context_information">
+     
+          <div id="helpers">
+     
+            <div class="box" id="itemHelp" tal:condition="pagetip|nothing">
+              <h4>Tip</h4>
+              <div class="body">
+                <div class="content odd">
+                  <metal:block define-slot="pagetip" 
+                               tal:replace="pagetip">
+                    A short tip goes here              
+                  </metal:block>
+                </div>
+              </div>
+            </div>
 
-          <h4>Tip</h4>
+            <div class="box" id="help" 
+                tal:define="results view/@@find_help_topics|nothing"
+                tal:condition="results">
+              <h4>Online Help</h4>
+              <div class="body">
+                <a href="#" 
+                    tal:repeat="entry results"
+                            tal:attributes="href entry/url">
+                  <div tal:define="oddrow repeat/entry/odd"
+                      tal:attributes="class python:oddrow and 'even' or 'odd'"
+                      tal:content="entry/topic/title">Topic Title
+                  </div>
+                </a>
+              </div>
+            </div>
 
-          <div class="body">
+            <div class="spacer">
+              &nbsp;
+            </div>
 
-            <div class="content odd">
+      	  </div>
 
-              <metal:block define-slot="pagetip" tal:replace="pagetip">
-                A short tip goes here              
-              </metal:block>
+          <div id="inspectors">
 
+            <div class="box" id="metadata"
+                tal:define="view context/@@MetaDataBox|nothing"
+                tal:condition="view/strip|nothing">
+
+              <h4>Metadata</h4>
+
+              <div class="body">
+                                        
+                <div class="content" tal:content="structure view">
+                  Some metadata
+                </div>
+          
+              </div>
             </div>
-
           </div>
 
-        </div>
-
-      </div>
+        </div>      
 
-      <div id="inspectors">
-
-       <div class="box" id="metadata"
-	  tal:define="view context/@@MetaDataBox|nothing"
-	  tal:condition="view/strip|nothing">
-
-          <h4>Metadata</h4>
-
-          <div class="body">
-					
-	  <div class="content" tal:content="structure view">
-	  Some metadata
-	  </div>
-	  
-	</div>
-       </div>
-     </div>
-    </div>      
-
-    <div class="spacer">
+        <div class="spacer">
 	  &nbsp;
-    </div>
-
-   </div>
-
-   <div class="box" id="help" 
-	  tal:define="results view/@@find_help_topics|nothing"
-	  tal:condition="results">
-	  <h4>Online Help</h4>
-          <div class="body">
-            <a href="#" 
-                tal:repeat="entry results"
-		            tal:attributes="href entry/url">
-              <div tal:define="oddrow repeat/entry/odd"
-                  tal:attributes="class python:oddrow and 'even' or 'odd'"
-                  tal:content="entry/topic/title">Topic Title
-              </div>
-            </a>
-	  </div>
         </div>
 
+      </div>
     </div>
+
     <div id="footer"
       metal:define-macro="footer">
     </div>
-   <div id="logger" />
 
-</body>
+    <div id="logger" />
+
+  </body>
 
 </html>