[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/www - folder_add.pt:1.1.2.1 folder_main.pt:1.1.2.2
Tres Seaver
tseaver@zope.com
Tue, 20 Nov 2001 17:54:46 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/www
In directory cvs.zope.org:/tmp/cvs-serv2541/lib/python/Zope/App/OFS/www
Modified Files:
Tag: Zope-3x-branch
folder_main.pt
Added Files:
Tag: Zope-3x-branch
folder_add.pt
Log Message:
- Yeehaw! FolderAdder works!
=== Added File Zope3/lib/python/Zope/App/OFS/www/folder_add.pt ===
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!--
metal:use-macro="presentation/standard_macros/html">
-->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<metallica:block fill-slot="stylesheet">
<link rel="stylesheet" type="text/css"
href="../../ZMI/www/zmi_stylesheet.css" />
<style type="text/css">
.TypeListing {
width: 100%;
}
.Selector {
width: 10px;
}
.TypeIcon {
width: 20px;
}
.TypeName {
text-align: left;
}
.TypeDescription {
text-align: left;
font-style: italic;
}
</style>
</metallica:block>
</head>
<body>
<form action="action.html" method="POST">
<table class="TypeListing">
<caption>Add Content To Folder</caption>
<tr>
<td class="Selector"><br /></td>
<th class="TypeName">Title</th>
</tr>
<!--
** listAddableInfo returns a sequence of mappings, containing:
** 'id' : the ID of the addable type
** 'title' : the title of the addable type
** 'desc' : the description of the addable type
** 'icon' : the absolute URL of the icon, for the addable type
(may be None)
-->
<tbody tal:repeat="info container/listAddableInfo">
<tr>
<td class="Selector">
<input type="radio" name="type_name"
tal:attributes="value info/id" />
</td>
<td class="TypeName">
<img alt="Folder" src="../../ZMI/www/folder_icon.gif"
tal:condition="info/icon"
tal:attributes="src info/icon" />
<span tal:replace="info/title">Folder</span>
</td>
</tr>
<tr>
<td class="Selector"><br /></td>
<td class="TypeDescription" tal:content="info/desc">
Folders are generic containers for content, including other
folders.
</td>
</tr>
</tbody>
<tbody tal:condition="nothing">
<tr>
<td class="Selector">
<input type="radio" name="type_name" value="" />
</td>
<td class="TypeName">
<img alt="Folder" src="../../ZMI/www/document_icon.gif" />
Document
</td>
</tr>
<tr>
<td class="Selector"><br /></td>
<td class="TypeDescription">
Documents are simple textual content.
</td>
</tr>
</tbody>
<tr>
<td><br/></td>
<td><input type="text" name="id" />
<input type="submit" value=" Add " />
</td>
</tr>
</table>
</form>
</body>
</html>
=== Zope3/lib/python/Zope/App/OFS/www/folder_main.pt 1.1.2.1 => 1.1.2.2 ===
<table class="ContentListing">
- <caption>Folder Contents <a href="adders"> Add... </a> </caption>
+ <caption>Folder Contents <a href="adder;view"> Add... </a> </caption>
<tbody>