[Zope-CVS] CVS: Packages/HTMLStructure/tests - doc.html:1.1

Evan Simpson evan@zope.com
Mon, 28 Jan 2002 14:25:02 -0500


Update of /cvs-repository/Packages/HTMLStructure/tests
In directory cvs.zope.org:/tmp/cvs-serv28646/tests

Added Files:
	doc.html 
Log Message:
Refactored, added sample HTML for tests.


=== Added File Packages/HTMLStructure/tests/doc.html ===
<html xmlns:tal="http://xml.zope.org/namespaces/tal"
      xmlns:metal="http://xml.zope.org/namespaces/metal"
      metal:define-macro="master">
<head>
<title tal:content="string:Zope | ${here/Title}">Zope | Document</title>
<meta http-equiv="Content-Type" content="text/html;">

<link rel="stylesheet" href="zopecom.css" type="text/css"
      tal:attributes="href here/zopecom.css/absolute_url">
</head>
<body topmargin="0" leftmargin="0" marginheight="0" marginwidth="0" bgcolor="#FFFFFF">
	<div metal:use-macro="container/template_parts.zpt/macros/topbar">
<table width="100%" border="0" cellpadding="4" cellspacing="0" class="topbar">
  <tr> 
    <td width="1%"><a href="http://www.zope.com"><img src="ImageAssets/zope_logo.gif" width="125" height="50" border="0"></a>
    </td>
    <td valign="bottom" align="right"> 
      <p>&nbsp;</p>
      <table width="100%" border="0" cellspacing="2" cellpadding="2">
        <tr align="right"> 
          <td class="topbar"><a href="/Corporate">About Us</a>| <a href="/Solutions">Solutions</a>| 
            <a href="/Services">Services</a>| <a href="/Services/Training">Training</a>| <a href="/Products">Products</a>| 
            <a href="/ZopeClientList">Customers</a>| <a href="/CaseStudies">Case Studies</a>| 
            <a href="/Demos">Demos</a>| <a href="/News">News</a>| <a href="/Developers">Developers</a></td>
        </tr>
      </table>
	  </td>
  </tr>
</table>
</div>
<table width="100%" border="0" cellpadding="4" height="100%" cellspacing="0">
  <tr> 
    <td valign="top" width="1%" background-repeat: bgcolor="#CCCCCC" style="background-image: url(../ImageAssets/backgrounds/bigz.gif); background-repeat: no-repeat ;">      <br>
      
	<div metal:define-slot="linkbox"><div
    metal:use-macro="container/template_parts.zpt/macros/linkbox">
      <table cellpadding="4" cellspacing="0" border="0" width="100%" class="actionsbox">
        <tr> 
          <th><span tal:content="here/Title">Stuff</span></th>
        </tr>
        <tbody tal:repeat="content here/listContents"> 
        <tr tal:condition="python:content.getId() != 'default.html'"> 
          <td> <a href="/CDA/Site/0,2097,1-1-1329-2056,00.html"
                  tal:attributes="href content/absolute_url"
                  tal:content="content/Title">Content</a></td>
        </tr>
        </tbody> 
      </table>
</div></div>
      <span tal:replace="structure here/actions_box"
            tal:condition="python:request.AUTHENTICATED_USER.has_role('Manager')"> 
      Actions Box (if authenticated) </span> <br>
      <img src="../ImageAssets/spacer.gif" width="165" height="10"></td>
    <td valign="top" align="center"> <br>
      <table width="95%" border="0" cellpadding="4" cellspacing="0" class="breadcrumbs">
        <tr> 
          <td><span tal:content="structure here/zc_breadcrumbs">YOU ARE HERE</span></td>
        </tr>
      </table>
      <br>
      <table width="95%" border="0" cellpadding="4" cellspacing="0">
        <tr> 
          <td> 
            <!-- begin main slot -->
            <div metal:define-slot="main"> 
              <div> 
                <h1>Title</h1>
              </div>
              <!-- description -->
              <div> Description </div>
              <!-- end discription -->
              <!-- body -->
              <div>Body....</div>
              <!-- end body -->
            </div>
            <!-- end main slot -->
          </td>
        </tr>
      </table>
    </td>
    <td valign="top" width="1%" align="center"> <br>
     <div metal:define-slot="right_sidebar"> 
     <table width="98%" border="0" cellpadding="4" cellspacing="0" class="quotebox">
        <tr> 
          <td tal:define="quo here/getQuote"> 
            <div> <span tal:content="quo/Quote">Quote Here I am a sailor of the 
              sea of the web.</span> <br><br>
              &nbsp;-&nbsp; 
              <span tal:content="string:${quo/Name}, ${quo/Company}">Name, Company</span> </div>
          </td>
        </tr>
      </table>
   </div>
      <br>
      <img src="../ImageAssets/spacer.gif" width="150" height="10"> </td>
  </tr>
</table>
<table width="100%" border="0" cellpadding="4" cellspacing="0" class="topbar">
  <tr> 
    <td align="center"> 
      <p>Copyright &copy;2001 Zope Corporation. All rights reserved.<br>
        <a href="Legal/"
           tal:attributes="href here/Legal/absolute_url">Legal</a> 
        | <a href="mailto:webmaster@zope.com">Contact</a></p>
    </td>
  </tr>
</table>
</body>
</html>