[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/ZMI/www - standard_macros.pt:1.5.2.6

Stephan Richter srichter@cbu.edu
Tue, 18 Jun 2002 16:50:15 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/App/ZMI/www
In directory cvs.zope.org:/tmp/cvs-serv12567/lib/python/Zope/App/ZMI/www

Modified Files:
      Tag: sidnei-zopetop-branch
	standard_macros.pt 
Log Message:
Made some stuff prettier...just a small milestone checkin.


=== Zope3/lib/python/Zope/App/ZMI/www/standard_macros.pt 1.5.2.5 => 1.5.2.6 ===
   <tr> 
     <td background="bg_top.jpg"
-        tal:attributes="background string:/@@/bg_top.jpg"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
+        tal:attributes="background string:/@@/bg_top.jpg"> 
+      <table width="100%" border="0" cellspacing="0" cellpadding="0">
         <tr> 
-          <td><img src="zope3logo.jpg" width="366" height="37" alt="Zope 3 Logo"
-               tal:attributes="src string:/@@/zope3logo.jpg" /></td>
-          <td><table border="0" align="right" cellpadding="0" cellspacing="0">
+          <td><img src="zope3logo.jpg" width="366" height="37" 
+                   alt="Zope 3 Logo"
+                   tal:attributes="src string:/@@/zope3logo.jpg" /></td>
+          <td>
+            <table border="0" align="right" cellpadding="0" cellspacing="0">
               <tr> 
                 <td><span>Logged in as dtremea</span></td>
                 <td>&nbsp;<img src="spacer1.gif" alt="" width="2" height="25"
-                               tal:attributes="src string:/@@/spacer1.gif" />&nbsp;</td>
+                               tal:attributes="src string:/@@/spacer1.gif" 
+                  />&nbsp;</td>
                 <td><select name="select">
                     <option value="1">Zope Quick Start</option>
                   </select></td>
@@ -35,14 +39,25 @@
                   <input name="Go" type="submit" id="Go" value="Go" />
                   &nbsp;</td>
               </tr>
-            </table></td>
+            </table>
+          </td>
         </tr>
       </table></td>
   </tr>
   <tr> 
     <td background="bg_bar.jpg"
-         tal:attributes="background string:/@@/bg_bar.jpg"> <table border="0" cellspacing="0" cellpadding="0">
-        <tr> 
+         tal:attributes="background string:/@@/bg_bar.jpg"> 
+      <table border="0" cellspacing="0" cellpadding="0">
+        <tr tal:on-error="string: No services available">
+	  <td>
+	    <img src="/@@/service_manager.gif" alt="Sort" border="0"/>
+	      <a href="./++etc++Services/"
+	         tal:condition="context/hasServiceManager">Services</a>
+	      <a href="@@addServiceManager.html" 
+	        tal:condition="not: context/hasServiceManager">Allow Services</a>
+          </td>     
+          <td><img src="spacer2.gif" width="15" height="28"
+                   tal:attributes="src string:/@@/spacer2.gif"/></td>
           <td><img src="new_folder.gif" width="28" height="28"
                    tal:attributes="src string:/@@/new_folder.gif" /></td>
           <td nowrap="nowrap">New Folder</td>
@@ -86,11 +101,12 @@
             <table width="100%" border="0" cellspacing="0" cellpadding="0">
               <tr> 
                 <td background="bg_root_folder.jpg"
-                    tal:attributes="background string:/@@/bg_root_folder.jpg"><img src="bg_root_folder.jpg" 
-					width="176" height="16" tal:attributes="src string:/@@/bg_root_folder.jpg"/></td>
+                    tal:attributes="background string:/@@/bg_root_folder.jpg"
+                  ><img src="bg_root_folder.jpg" width="176" height="16" 
+                       tal:attributes="src string:/@@/bg_root_folder.jpg"
+                /></td>
               </tr>
-            </table>
-            <table align="center" class="box">
+            </table><table align="center" class="box" width="150">
               <thead>
                 <tr> 
                   <th align="center" >Root Folder</th>
@@ -99,27 +115,34 @@
               </thead>
               <tbody>
                 <tr> 
-                  <td colspan="2" class="odd"><a href="#"><img src="plus.gif" width="19" height="25"
-                            tal:attributes="src string:/@@/plus.gif"/><img src="closed_folder.gif" width="26" height="25"
-                            tal:attributes="src string:/@@/closed_folder.gif"/>Folder 
-                    Name</a></td>
+                  <td colspan="2" class="odd"><a href="#"
+                    ><img src="plus.gif" width="19" height="25"
+                      tal:attributes="src string:/@@/plus.gif"/>
+                    <img src="closed_folder.gif" width="26" height="25"
+                        tal:attributes="src string:/@@/closed_folder.gif"/>
+                      Folder Name</a></td>
                 </tr>
                 <tr> 
-                  <td colspan="2" class="odd"><a href="#"><img src="plus.gif" width="19" height="25"
-                            tal:attributes="src string:/@@/plus.gif"/><img src="closed_folder.gif" width="26" height="25"
-                            tal:attributes="src string:/@@/closed_folder.gif"/>Folder 
-                    Name</a></td>
+                  <td colspan="2" class="odd"><a href="#"><img src="plus.gif" 
+                      width="19" height="25"
+                      tal:attributes="src string:/@@/plus.gif"/><img 
+                      src="closed_folder.gif" width="26" height="25"
+                      tal:attributes="src string:/@@/closed_folder.gif"
+                     />Folder Name</a></td>
                 </tr>
                 <tr> 
-                  <td colspan="2" class="even"><a href="#"><img src="minus.gif" width="19" height="25"
-                            tal:attributes="src string:/@@/minus.gif"/><img src="closed_folder.gif" width="26" height="25"
-                            tal:attributes="src string:/@@/closed_folder.gif"/>Folder 
-                    Name</a></td>
+                  <td colspan="2" class="even"><a 
+                    href="#"><img src="minus.gif" width="19" height="25"
+                            tal:attributes="src string:/@@/minus.gif"/><img 
+                            src="closed_folder.gif" width="26" height="25"
+                            tal:attributes="src string:/@@/closed_folder.gif"
+                    />Folder Name</a></td>
                 </tr>
               </tbody>
             </table>
             <img src="spacer3.gif" width="176" height="12"
-                 tal:attributes="src string:/@@/spacer3.gif"/> <table align="center" class="box">
+                 tal:attributes="src string:/@@/spacer3.gif"/> 
+             <table align="center" class="box" width="150">
               <thead>
                 <tr> 
                   <th align="center">Actions</th>
@@ -128,23 +151,29 @@
               </thead>
               <tbody>
                 <tr tal:repeat="view views/ZMIUtility/getZMIViews"> 
-                  <td colspan="2"> <a href="" tal:attributes="href view/action"> 
-                    <img src="closed_folder.gif" width="25" height="25"
-                         tal:attributes="src view/icon|string:/@@/closed_folder.gif" /> 
-                    <span tal:content="view/label">Contents</span></a></td>
+                  <td colspan="2"> <a href="" 
+                    tal:attributes="href view/action">
+                    <span style="color: #E9A90F; font-size: 15px;
+                      font-weight: bold;">&raquo;</span> 
+                    <span tal:content="view/label">Contents</span></a>
+                  </td>
                 </tr>
               </tbody>
             </table>
+
             <img src="spacer3.gif" width="176" height="12"
              tal:attributes="src string:/@@/spacer3.gif"/> </td>
-          <td width="1" bgcolor="#7B7AC6"> <img src="x.gif" alt="" width="1" height="400"
+          <td width="1" bgcolor="#7B7AC6"> <img src="x.gif" 
+            alt="" width="1" height="400"
              tal:attributes="src string:/@@/x.gif"/></td>
           <td valign="top" bgcolor="#DFDEFF">
             <table width="100%" border="0" cellspacing="0" cellpadding="0">
               <tr> 
                 <td background="bg_content.jpg"
-                    tal:attributes="background string:/@@/bg_content.jpg"> <img src="bg_content.jpg" width="15" height="6" 
-                       tal:attributes="src string:/@@/bg_content.jpg"/></td>
+                    tal:attributes="background string:/@@/bg_content.jpg">
+                <img
+                    src="bg_content.jpg" width="15" height="6" 
+                    tal:attributes="src string:/@@/bg_content.jpg"/></td>
               </tr>
             </table>
             <table width="100%" border="0" align="center" cellpadding="0" cellspacing="10">