[Zope-CVS] CVS: Products/QueueCatalog/dtml - add.dtml:1.1 edit.dtml:1.1 queue.dtml:1.1
Jens Vagelpohl
jens@zope.com
Tue, 6 Aug 2002 12:55:34 -0400
Update of /cvs-repository/Products/QueueCatalog/dtml
In directory cvs.zope.org:/tmp/cvs-serv17740/dtml
Added Files:
add.dtml edit.dtml queue.dtml
Log Message:
- changed package structure to conform to the current standards
- updated and expanded ZMI screens
- changed some names so they are more obvious
=== Added File Products/QueueCatalog/dtml/add.dtml ===
<dtml-var manage_page_header>
<dtml-var "manage_form_title(this(), _,
form_title='Add ZCatalog Queue',
help_product='QueueCatalog',
help_topic='QueueCatalog-Add.stx'
)">
<p class="form-help">
Add a new ZCatalog Queue with this form.
</p>
<form action="manage_addQueueCatalog" method="POST">
<table cellspacing="0" cellpadding="3">
<tr>
<td align="left" valign="top"><div class="form-label">
ID
</div></td>
<td align="left" valign="top" colspan="3">
<input type="text" name="id" size="40" />
</td>
</tr>
<tr>
<td align="left" valign="top"><div class="form-optional">
Title
</div></td>
<td align="left" valign="top" colspan="3">
<input type="text" name="title" size="40" />
</td>
</tr>
<tr>
<td align="left" valign="top"><div class="form-label">
Catalog Instance
</div></td>
<td align="left" valign="top"><div class="form-element">
<select name="location">
<dtml-in expr="superValues(['ZCatalog'])">
<dtml-let cat_path="'/%s' % absolute_url(1)">
<option value="&dtml-cat_path;">
&dtml-title; (&dtml-cat_path;)
</option>
</dtml-let>
</dtml-in>
</select>
</div></td>
</tr>
<tr>
<td> </td>
<td colspan="3">
<br>
<input type="SUBMIT" value=" Add ">
</td>
</tr>
</table>
</form>
<dtml-var manage_page_footer>
=== Added File Products/QueueCatalog/dtml/edit.dtml ===
<dtml-var manage_page_header>
<dtml-var manage_tabs>
<p class="form-help">
Edit the properties of this ZCatalog Queue on this form
</p>
<form action="manage_edit">
<table cellspacing="0" cellpadding="3">
<tr>
<td align="left" valign="top"><div class="form-optional">
Title
</div></td>
<td align="left" valign="top" colspan="3">
<input type="text" name="title" size="40"
value="&dtml.missing-title;" />
</td>
</tr>
<tr>
<td align="left" valign="top"><div class="form-label">
Catalog Instance
</div></td>
<td align="left" valign="top"><div class="form-element">
<select name="location">
<dtml-in expr="superValues(['ZCatalog'])">
<dtml-let cat_path="'/%s' % absolute_url(1)"
sel="cat_path == manage_getLocation() and 'selected' or ''">
<option value="&dtml-cat_path;" &dtml-sel;>
&dtml-title; (&dtml-cat_path;)
</option>
</dtml-let>
</dtml-in>
</select>
</div></td>
</tr>
<tr>
<td> </td>
<td colspan="3">
<br>
<input type="SUBMIT" value=" Change ">
</td>
</tr>
</table>
</form>
<dtml-var manage_page_footer>
=== Added File Products/QueueCatalog/dtml/queue.dtml ===
<dtml-var manage_page_header>
<dtml-var manage_tabs>
<p class="form-help">
This form shows the number ot items in the queue and allows
the user to process all queued items immediately.
</p>
<dtml-let q_size=manage_size>
<dtml-if "q_size > 0">
<p><b>&dtml-q_size; items queued.</b></p>
<form action="manage_process">
<input type="submit" value=" Process Queue " />
</form>
<dtml-else>
<p><b>The queue is currently empty.</b></p>
</dtml-if>
</dtml-let>
<dtml-var manage_page_footer>