ZoomQuiet avatar ZoomQuiet committed 34169ad

appended .leo notes+

Comments (0)

Files changed (5)

src/5_webmala/web3/main.py

     'phone',
     'email',
     'address']
-    #if 'keytext' not in bottle.request.GET:
-    #    return bottle.template('search')
-    #else:
-    #    return db
     has_keywd='keytext' in bottle.request.GET
     if has_keywd:
         keywd=bottle.request.GET['keytext']

src/5_webmala/web3/project.leo

 http://wiki.woodpecker.org.cn/moin/LeoEnvironment</t>
 <t tx="su.20110423194205.2556">@language python
 @tabwidth -4
+#-*- coding:utf-8 -*-
+
 @others
+
 </t>
-<t tx="su.20110423194205.2557">#-*- coding:utf-8 -*-
-try:
+<t tx="su.20110423194205.2557">try:
     import CPickle as pickle
 except:
     import pickle
 <t tx="su.20110423194205.2567">&lt;hr/&gt;
 created by QidongSu
 &lt;br/&gt;
-powerded by &lt;a href="http://www.python.org/"&gt;Python&lt;/a&gt;;&lt;a href="http://webpages.charter.net/edreamleo/front.html"&gt;Leo&lt;/a&gt;;&lt;a href="http://bottlepy.org/"&gt;Bottle&lt;/a&gt;
+powerded by &lt;a href="http://www.python.org/"&gt;Python&lt;/a&gt;
+;&lt;a href="http://webpages.charter.net/edreamleo/front.html"&gt;Leo&lt;/a&gt;
+;&lt;a href="http://bottlepy.org/"&gt;Bottle&lt;/a&gt;
+;&lt;a href="http://www.makotemplates.org/"&gt;Mako&lt;/a&gt;
 &lt;/body&gt;
 &lt;/html&gt;</t>
 <t tx="su.20110423194205.2570">  &lt;form name="add" id="add"  method="post"&gt; 
     'phone',
     'email',
     'address']
-    #if 'keytext' not in bottle.request.GET:
-    #    return bottle.template('search')
-    #else:
-    #    return db
     has_keywd='keytext' in bottle.request.GET
     if has_keywd:
         keywd=bottle.request.GET['keytext']

src/5_webmala/web3/textdb.py

 #-*- coding:utf-8 -*-
+
 try:
     import CPickle as pickle
 except:
     f=file('data.tdb','w')
     pickle.dump(db, f)
     f.close()
+

src/5_webmala/web3/views/add.tpl

 <hr/>
 created by QidongSu
 <br/>
-powerded by <a href="http://www.python.org/">Python</a>;<a href="http://webpages.charter.net/edreamleo/front.html">Leo</a>;<a href="http://bottlepy.org/">Bottle</a>
+powerded by <a href="http://www.python.org/">Python</a>
+;<a href="http://webpages.charter.net/edreamleo/front.html">Leo</a>
+;<a href="http://bottlepy.org/">Bottle</a>
+;<a href="http://www.makotemplates.org/">Mako</a>
 </body>
 </html>

src/5_webmala/web3/views/view.tpl

 <hr/>
 created by QidongSu
 <br/>
-powerded by <a href="http://www.python.org/">Python</a>;<a href="http://webpages.charter.net/edreamleo/front.html">Leo</a>;<a href="http://bottlepy.org/">Bottle</a>
+powerded by <a href="http://www.python.org/">Python</a>
+;<a href="http://webpages.charter.net/edreamleo/front.html">Leo</a>
+;<a href="http://bottlepy.org/">Bottle</a>
+;<a href="http://www.makotemplates.org/">Mako</a>
 </body>
 </html>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.