[Zope3-checkins] CVS: Zope3/src/zope/app/apidoc/classmodule - menu.pt:1.2

Stephan Richter srichter at cosmos.phy.tufts.edu
Sun Mar 28 18:40:01 EST 2004


Update of /cvs-repository/Zope3/src/zope/app/apidoc/classmodule
In directory cvs.zope.org:/tmp/cvs-serv22266/src/zope/app/apidoc/classmodule

Modified Files:
	menu.pt 
Log Message:


We now support a new way of finding classes by partial path names. Entries
that are matched are listed in the menu.




=== Zope3/src/zope/app/apidoc/classmodule/menu.pt 1.1 => 1.2 ===
--- Zope3/src/zope/app/apidoc/classmodule/menu.pt:1.1	Thu Feb 19 15:46:40 2004
+++ Zope3/src/zope/app/apidoc/classmodule/menu.pt	Sun Mar 28 18:40:00 2004
@@ -3,16 +3,29 @@
 
   <div metal:fill-slot="menu" class="small">
 
-    <div>Enter the dotted name (Python path) of the class:</div>
-    <form action="./index.html" target="main">
+    <div tal:define="classes view/findClasses"
+        tal:condition="classes">
+
+        <a href="" target="main"
+           tal:repeat="info classes"
+           tal:attributes="href info/url"
+           tal:content="info/path">
+          /zope/app/Application
+        </a>
+    </div>
+
+    <div>
+      Class Finder: <br/>
+      <i>(Enter partial Python path)</i></div>
+    <form action="menu.html" method="POST">
       <input type="text" name="path" 
              style="font-size: 80%; width=95%" />
-      <input type="submit" name="SUBMIT" value="Show" 
-             style="font-size: 80%; width=95%"/>
+      <input type="submit" name="SUBMIT" value="Find" 
+             style="font-size: 80%"/>
     </form>
 
     <p style="font-size: 120%">
-      <a href="./browser.html" target="main">Browse Zope Source</a>
+      <a href="./index.html" target="main">Browse Zope Source</a>
     </p>
   </div>
 




More information about the Zope3-Checkins mailing list