[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/ZMI/Browser/ZopeTop/www - dialog_macros.pt:1.1 view_macros.pt:1.1 widget_macros.pt:1.1

Sidnei da Silva sidnei@x3ng.com.br
Wed, 23 Oct 2002 12:41:22 -0400


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

Added Files:
	dialog_macros.pt view_macros.pt widget_macros.pt 
Log Message:
Ops, forgot to add those files

=== Added File Zope3/lib/python/Zope/App/ZMI/Browser/ZopeTop/www/dialog_macros.pt ===
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
         "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html metal:define-macro="dialog">
<head metal:use-macro="views/standard_macros/head" />

<body>
  <span metal:use-macro="views/standard_macros/breadcrumbs" />

  <div metal:define-slot="body">
     <p>Body here</p>
  </div>

  <div metal:use-macro="views/standard_macros/footer" />
</body>
</html>



=== Added File Zope3/lib/python/Zope/App/ZMI/Browser/ZopeTop/www/view_macros.pt ===
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html metal:define-macro="page">
<head metal:define-macro="head">
<title 
    metal:define-slot="title"
    tal:content="options/getTitle|view/getTitle|context/getTitle|default"
    >Zope</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link href="zopetopBasic.css" rel="stylesheet" type="text/css"
        tal:attributes="href context/++resource++zopetopBasic.css" />
<link href="zopetopWidgets.css" rel="stylesheet" type="text/css"
        tal:attributes="href context/++resource++zopetopWidgets.css" />
<link href="zopetopStructure.css" rel="stylesheet" type="text/css"
        tal:attributes="href context/++resource++zopetopStructure.css" />
<div metal:define-slot="headers">
</div>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr> 
    <td background="bg_top.jpg"
        tal:attributes="background context/++resource++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 context/++resource++zope3logo.jpg" /></td>
          <td>
            <table border="0" align="right" cellpadding="0" cellspacing="0">
              <tr> 
                <td><span metal:use-macro="views/standard_macros/logged_user">Logged in as user</span></td>
                <td>&nbsp;<img src="spacer1.gif" alt="" width="2" height="25"
                               tal:attributes="src context/++resource++spacer1.gif" 
                  />&nbsp;</td>
                <td><select name="select">
                    <option value="1">Zope Quick Start</option>
                  </select></td>
                <td>&nbsp;
                  <input name="Go" type="submit" id="Go" value="Go" />
                  &nbsp;</td>
              </tr>
            </table>
          </td>
        </tr>
      </table></td>
  </tr>
  <tr> 
    <td background="bg_bar.jpg"
         tal:attributes="background context/++resource++bg_bar.jpg"> 
      <span metal:use-macro="views/standard_macros/services_bar" />
    </td>
  </tr>
  <tr> 
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td width="176" align="center" valign="top"> 
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td background="bg_root_folder.jpg"
                    tal:attributes="background context/++resource++bg_root_folder.jpg"
                  ><img src="bg_root_folder.jpg" width="176" height="16" 
                       tal:attributes="src context/++resource++bg_root_folder.jpg"
                /></td>
              </tr>
            </table>
	    <span metal:use-macro="views/standard_macros/explorer_box" />
            <img src="spacer3.gif" width="176" height="12"
                 tal:attributes="src context/++resource++spacer3.gif"/> 
            <span metal:use-macro="views/standard_macros/views_box" />

            <img src="spacer3.gif" width="176" height="12"
             tal:attributes="src context/++resource++spacer3.gif"/> </td>
          <td width="1" class="darker"> <img src="x.gif" 
            alt="" width="1" height="400"
             tal:attributes="src context/++resource++x.gif"/></td>
          <td valign="top" class="hilite">
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td background="bg_content.jpg"
                    tal:attributes="background context/++resource++bg_content.jpg">
                <img
                    src="bg_content.jpg" width="15" height="6" 
                    tal:attributes="src context/++resource++bg_content.jpg"/></td>
              </tr>
            </table>
            <table width="100%" border="0" align="center" cellpadding="0" cellspacing="10">
              <tr> 
                <td class="background">
		  <span metal:use-macro="views/standard_macros/content_header_bar" />
		</td>
              </tr>
              <tr> 
                <td> <span metal:define-slot="body"> 
                  <div align="center"> 
                    <select name="select2">
                      <option value="1">Select type to add...</option>
                    </select>
                    <input name="Add" type="submit" id="Add" value="Add" />
                  </div>
                  <div align="center"> 
                    <input name="Rename" type="submit" id="Rename" value="Rename" />
                    <input name="Cut" type="submit" id="Cut" value="Cut" />
                    <input name="Copy" type="submit" id="Copy" value="Copy" />
                    <input name="Paste" type="submit" id="Paste" value="Paste" />
                    <input name="Delete" type="submit" id="Delete" value="Delete" />
                    <input name="Import" type="submit" id="Import" value="Import" />
                    <input name="Export" type="submit" id="Export" value="Export" />
                    <input name="All" type="submit" id="All" value="All" />
                    <input name="None" type="submit" id="None" value="None" />
                  </div>
                  <table width="100%" border="0" cellpadding="2" cellspacing="1" class="listing">
                    <thead>
                    </thead>
                    <th colspan="2">Type</th>
                    <th>Name</th>
                    <th>Size</th>
                    <th>Last Modified</th>
                    <tr> 
                      <td width="30"> <input type="checkbox" name="checkbox" value="checkbox" /> 
                      </td>
                      <td width="30"> <img src="control_panels_folder.gif" width="25" height="25"
                 tal:attributes="src context/++resource++control_panels_folder.gif"/> </td>
                      <td>Control Panel </td>
                      <td>&nbsp; </td>
                      <td>18/06/2002@10:53 PM BRT </td>
                    </tr>
                  </table>
                  <div align="center"> 
                    <input name="Rename" type="submit" id="Rename" value="Rename" />
                    <input name="Cut" type="submit" id="Cut" value="Cut" />
                    <input name="Copy" type="submit" id="Copy" value="Copy" />
                    <input name="Paste" type="submit" id="Paste" value="Paste" />
                    <input name="Delete" type="submit" id="Delete" value="Delete" />
                    <input name="Import" type="submit" id="Import" value="Import" />
                    <input name="Export" type="submit" id="Export" value="Export" />
                    <input name="All" type="submit" id="All" value="All" />
                    <input name="None" type="submit" id="None" value="None" />
                  </div>
                  </span> </td>
              </tr>
	      <tr>
		<td>
		  <div metal:use-macro="views/standard_macros/footer">
		    footer
		  </div>
		</td>
	      </tr>

            </table></td>
        </tr>
      </table></td>
  </tr>
</table>
</body>
</html>


=== Added File Zope3/lib/python/Zope/App/ZMI/Browser/ZopeTop/www/widget_macros.pt ===
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<link href="zopetopBasic.css" rel="stylesheet" type="text/css" />
<link href="zopetopStructure.css" rel="stylesheet" type="text/css" />
<link href="zopetopWidgets.css" rel="stylesheet" type="text/css" />
</head>
<body>


<span metal:define-macro="logged_user"
   >Logged in as <span tal:replace="request/user/getTitle"
   >dtremea</span></span>

<table metal:define-macro="services_bar" border="0" cellspacing="0" cellpadding="0">
  <tr tal:on-error="string: No services available">
    <td>&nbsp;
      <img src="service_manager.gif" alt="Sort" 
      tal:attributes="src context/++resource++service_manager.gif"/>
    </td>
    <td>
      <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 context/++resource++spacer2.gif"/>
    </td>
    <td><img src="user_accounts.gif" width="22" height="28"
      tal:attributes="src context/++resource++user_accounts.gif"/>
    </td>
    <td nowrap="nowrap">User Accounts
    </td>
    <td><img src="spacer2.gif" width="15" height="28"
      tal:attributes="src context/++resource++spacer2.gif"/>
    </td>
    <td><img src="control_panels.gif" width="24" height="28"
      tal:attributes="src context/++resource++control_panels.gif"/>
    </td>
    <td nowrap="nowrap">Control Panels
    </td>
    <td><img src="spacer2.gif" width="15" height="28"
      tal:attributes="src context/++resource++spacer2.gif"/>
    </td>
    <td><img src="system_security.gif" width="23" height="28"
      tal:attributes="src context/++resource++system_security.gif"/>
    </td>
    <td nowrap="nowrap">System Security
    </td>
    <td><img src="spacer2.gif" width="15" height="28"
      tal:attributes="src context/++resource++spacer2.gif"/>
    </td>
    <td><img src="add_more.gif" width="26" height="28"
      tal:attributes="src context/++resource++add_more.gif"/>
    </td>
    <td nowrap="nowrap">Add More
    </td>
  </tr>
</table>

<table metal:define-macro="explorer_box" align="center" class="box" width="150">
  <thead>
    <tr> 
      <th align="center" >Root Folder</th>
      <th class="empty">&nbsp;</th>
    </tr>
    </thead>
    <tbody>
    <tr> 
      <td colspan="2" class="odd"><a href="#"><img src="plus.gif" width="19" height="25"
	tal:attributes="src context/++resource++plus.gif"/><img
	src="closed_folder.gif" width="26" height="25"
	tal:attributes="src context/++resource++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 context/++resource++plus.gif"/><img 
	src="closed_folder.gif" width="26" height="25"
	tal:attributes="src context/++resource++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 context/++resource++minus.gif"/><img 
	src="closed_folder.gif" width="26" height="25"
	tal:attributes="src context/++resource++closed_folder.gif"
	/>Folder Name</a>
      </td>
    </tr>
    </tbody>
  </table>

  <table metal:define-macro="views_box" align="center" class="box" width="150">
    <thead>
      <tr> 
	  <th align="center">Views</th>
	<th class="empty">&nbsp;</th>
      </tr>
      </thead>
      <tbody>
      <tr tal:repeat="view views/ZMIUtility/getZMIViews"> 
	<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/title">Contents</span></a>
	</td>
      </tr>
      </tbody>
    </table>

<table metal:define-macro="content_header_bar" width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr> 
    <td width="26"> <img src="closed_folder.gif" width="26" height="25"
      tal:attributes="src context/++resource++closed_folder.gif"/>
    </td>
    <td width="95">Folder at </td>
    <td><span
      metal:define-macro="breadcrumbs"
	  tal:omit-tag=""
      tal:repeat="breadcrumb context/@@absolute_url/breadcrumbs"> <a href="" 
      tal:attributes="href breadcrumb/url"
      tal:content="string:${breadcrumb/name}/"
      >name</a></span></td>
    <td width="45" align="right">Help </td>
    <td width="25"> <img src="help.gif" width="25" height="25"
      tal:attributes="src context/++resource++help.gif"/>
    </td>
  </tr>
</table>

<div metal:define-macro="footer">
  <p>Powered by Zope</p>
</div>
		    
</body>
</html>