[Zope-CVS] CVS: Products/FileCacheManager/www - addFCM.zpt:1.2

Jens Vagelpohl jens at dataflake.org
Fri Aug 13 04:41:21 EDT 2004


Update of /cvs-repository/Products/FileCacheManager/www
In directory cvs.zope.org:/tmp/cvs-serv20921/www

Modified Files:
	addFCM.zpt 
Log Message:
- Add form cleanup
- Help screeen for add form
- Add ability to set a title from the add form
- Tests for the instantiation (not tested yet, other stuff fails)


=== Products/FileCacheManager/www/addFCM.zpt 1.1.1.1 => 1.2 ===
--- Products/FileCacheManager/www/addFCM.zpt:1.1.1.1	Sun Mar 21 19:15:32 2004
+++ Products/FileCacheManager/www/addFCM.zpt	Fri Aug 13 04:41:20 2004
@@ -1,35 +1,42 @@
 <h1 tal:replace="structure here/manage_page_header">Header</h1>
 
-<h2 tal:define="form_title string:Add FileCacheManager"
+<h2 tal:define="form_title string:Add FileCacheManager;
+                help_product string:FileCacheManager;
+                help_topic string:Add.stx"
     tal:replace="structure here/manage_form_title">Form Title</h2>
 
 <p class="form-help">
-FileCacheManager allows you to cache stuff on the fs.
+  The FileCacheManager allows you to cache content on the server file system,
+  similar to the way other caches such as Squid do.
 </p>
 
 <form action="manage_addFileCacheManager" method="post">
-<table cellspacing="0" cellpadding="2" border="0">
-  <tr>
-    <td align="left" valign="top">
-    <div class="form-label">
-    Id
-    </div>
-    </td>
-    <td align="left" valign="top">
-    <input type="text" name="id" 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>
+  <table cellspacing="0" cellpadding="2" border="0">
+
+    <tr>
+      <td align="left" valign="top" class="form-label"> Id </td>
+      <td align="left" valign="top" class="form-element">
+        <input type="text" name="id" size="40" />
+      </td>
+    </tr>
+
+    <tr>
+      <td align="left" valign="top" class="form-optional"> Title </td>
+      <td align="left" valign="top" class="form-element">
+        <input type="text" name="title" size="40" />
+      </td>
+    </tr>
+
+    <tr>
+      <td align="left" valign="top"> </td>
+      <td align="left" valign="top" class="form-element">
+        <br />
+        <input class="form-element" type="submit" name="submit" 
+               value=" Add " /> 
+      </td>
+    </tr>
+
+  </table>
 </form>
 
 <h1 tal:replace="structure here/manage_page_footer">Footer</h1>



More information about the Zope-CVS mailing list