[Zope-Checkins] CVS: Zope/lib/python/Products/PluginIndexes/TopicIndex/dtml - manageTopicIndex.dtml:1.1.2.2
Andreas Jung
andreas@zope.com
Tue, 16 Oct 2001 11:36:57 -0400
Update of /cvs-repository/Zope/lib/python/Products/PluginIndexes/TopicIndex/dtml
In directory cvs.zope.org:/tmp/cvs-serv27676
Modified Files:
Tag: ajung-topicindex
manageTopicIndex.dtml
Log Message:
=== Zope/lib/python/Products/PluginIndexes/TopicIndex/dtml/manageTopicIndex.dtml 1.1.2.1 => 1.1.2.2 ===
<dtml-var manage_tabs>
-<p class="form-help">
-Nothing to manage at this time.
-</p>
+<dtml-var "manage_form_title(this(), _,
+ form_title='Add FilteredSet to TopicIndex',
+ )">
+<form action="&dtml-URL1;/" method="post" enctype="multipart/form-data">
+
+<table cellspacing="0" cellpadding="2" border="1" width="90%" align="center">
+
+<tr>
+ <th colspan="5">
+ Existing FilteredSets
+ </th>
+</tr>
+
+<dtml-if "_.len(filteredSets.values())>0">
+
+ <tr>
+ <th> </th>
+ <th>FilterSet Id</th>
+ <th>FilterSet Type</th>
+ <th>Expression</th>
+ <th># entries</th>
+ </tr>
+
+ <dtml-in expr="filteredSets.values()">
+ <dtml-call "REQUEST.set('fs',_['sequence-item'])">
+ <tr>
+
+ <td align="center">
+ <input type="checkbox" name="filterIds:list" value="<dtml-var "fs.getId()">">
+ </td>
+
+ <td align="center" valign="top">
+ <div class="form-label">
+ <dtml-var getId>
+ </div>
+ </td>
+
+ <td align="center" valign="top">
+ <div class="form-label">
+ <dtml-var getType>
+ </div>
+ </td>
+
+ <td align="left" valign="top">
+ <div class="form-label">
+ <dtml-var getExpression>
+ </div>
+ </td>
+
+ <td align="center" valign="top">
+ <div class="form-label">
+ <dtml-var "_.len(fs.getIds())">
+ </div>
+ </td>
+
+ </tr>
+
+ </dtml-in>
+
+ <tr>
+ <td colspan="5" align="center">
+ <input class="form-element" type="submit" name="manage_delFilteredSet:method"
+ value=" Remove " />
+
+ <input class="form-element" type="submit" name="manage_clearFilteredSet:method"
+ value=" Clear " />
+
+
+ </td>
+ </tr>
+
+<dtml-else>
+ <tr>
+ <td colspan="5" 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">
+ Type of FilteredSet
+ </div>
+ </td>
+ <td align="left" valign="top">
+ <select name="typeFilteredSet">
+ <option value="PythonFilteredSet">PythonFilteredSet
+ </select>
+ </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>