[Zope-Checkins] CVS: Zope/lib/python/Products/PluginIndexes/TopicIndex/dtml - addFilteredSet.dtml:1.1.2.1
Andreas Jung
andreas@zope.com
Mon, 15 Oct 2001 15:50:31 -0400
Update of /cvs-repository/Zope/lib/python/Products/PluginIndexes/TopicIndex/dtml
In directory cvs.zope.org:/tmp/cvs-serv4131/dtml
Added Files:
Tag: ajung-topicindex
addFilteredSet.dtml
Log Message:
first working prototype
=== Added File Zope/lib/python/Products/PluginIndexes/TopicIndex/dtml/addFilteredSet.dtml ===
<dtml-var manage_page_header>
<dtml-var manage_tabs>
<dtml-var "manage_form_title(this(), _,
form_title='Add FilteredSet to TopicIndex',
)">
<form action="manage_delFilteredSet" method="post" enctype="multipart/form-data">
<table cellspacing="0" cellpadding="2" border="1" width="90%" align="center">
<tr>
<th colspan=3>
Existing FilteredSets
</th>
</tr>
<dtml-if "_.len(filteredSets.values())>0">
<tr>
<th> </th>
<th>FilterSet Id</th>
<th>Expression</th>
</tr>
<dtml-in expr="filteredSets.values()">
<dtml-call "REQUEST.set('fs',_['sequence-item'])">
<tr>
<td>
<input type="checkbox" name="filterIds:list" value="<dtml-var "fs.getId()">">
</td>
<td align="left" valign="top">
<div class="form-label">
<dtml-var "fs.getId()">
</div>
</td>
<td align="left" valign="top">
<div class="form-label">
<dtml-var "fs.getExpression()">
</div>
</td>
</tr>
</dtml-in>
<tr>
<td colspan="3" align="center">
<input class="form-element" type="submit" name="submit"
value=" Delete " />
</td>
</tr>
<dtml-else>
<tr>
<td colspan="3" align="center">
<em>no FilteredSets defined </em>
</td>
</tr>
</dtml-if>
</table>
</form>
<hr>
<form action="manage_addFilteredSet" method="post" enctype="multipart/form-data">
<table cellspacing="0" cellpadding="2" border="0">
<tr>
<td align="left" valign="top">
<div class="form-label">
Id for Filtered set
</div>
</td>
<td align="left" valign="top">
<input type="text" name="filterId" size="40" />
</td>
</tr>
<tr>
<td align="left" valign="top">
<div class="form-label">
Expression
</div>
</td>
<td align="left" valign="top">
<input type="text" name="expr" size="40" />
</td>
</tr>
<tr>
<td align="left" valign="top">
</td>
<td align="left" valign="top">
<div class="form-element">
<input class="form-element" type="submit" name="submit"
value=" Add " />
</div>
</td>
</tr>
</table>
</form>
<dtml-var manage_page_footer>