[Zope-Checkins] CVS: Zope/lib/python/Shared/DC/ZRDB/dtml - customDefaultZPTReport.dtml:1.1 searchAdd.dtml:1.3 customDefaultReport.dtml:1.3

Michel Pelletier michel@zope.com
Wed, 31 Oct 2001 13:49:58 -0500


Update of /cvs-repository/Zope/lib/python/Shared/DC/ZRDB/dtml
In directory cvs.zope.org:/tmp/cvs-serv27799/dtml

Modified Files:
	searchAdd.dtml customDefaultReport.dtml 
Added Files:
	customDefaultZPTReport.dtml 
Log Message:
added ZPT search interface

=== Added File Zope/lib/python/Shared/DC/ZRDB/dtml/customDefaultZPTReport.dtml ===
<html>
  <body tal:define="results  here/%(id)s;
                    start python:path('request/start') or 0;
                    batch python:modules['ZTUtils'].Batch(results, 
                                                          size=20, 
                                                          start=start);
                    previous python:batch.previous;
                    next python:batch.next">

  <p>
    <a tal:condition="previous"
       tal:attributes="href string:${request/URL0}?start:int=${previous/first}"
       href="previous_url">previous</a>
    <a tal:condition="next"
       tal:attributes="href string:${request/URL0}?start:int=${next/first}"
       href="next_url">next</a>
  </p>

  %(else no_table)[<table border>
        %(heading)s
      %(else)]
 
  <div tal:repeat="result batch" >
  
    %(row)s

  </div>

      %(else no_table)[</table>%(else)]

  <p>
    <a tal:condition="previous"
       tal:attributes="href string:${request/URL0}?start:int=${previous/first}"
       href="previous_url">previous</a>
    <a tal:condition="next"
       tal:attributes="href string:${request/URL0}?start:int=${next/first}"
       href="next_url">next</a>
  </p>

  </body>
</html>


=== Zope/lib/python/Shared/DC/ZRDB/dtml/searchAdd.dtml 1.2 => 1.3 ===
   <td align="left" valign="top">
   <div class="form-element">
+  <input class="form-element" type="radio" name="object_type" 
+   value="dtml_methods">Generate DTML Methods
+  </div>
+  </td>
+</tr>
+<tr>
+  <td align="left" valign="top">
+  </td>
+  <td align="left" valign="top">
+  <div class="form-element">
+  <input class="form-element" type="radio" name="object_type" 
+   value="page_templates">Generate Page Templates
+  </div>
+  </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>


=== Zope/lib/python/Shared/DC/ZRDB/dtml/customDefaultReport.dtml 1.2 => 1.3 ===
+<dtml-in %(id)s size=20 start=query_start>
    <dtml-if sequence-start>
 
       <dtml-if previous-sequence>