annotate zpt/editZDBInterfaceFolder.zpt @ 20:0e87d5d80709

nicer edit pages.
author casties
date Fri, 11 Jan 2013 19:14:07 +0100
parents 87087f4f4059
children 7ee835840724
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
d70e57193731 new executeZSQL method that returns Zope Results.
casties
parents:
diff changeset
1 <div tal:replace="structure here/manage_page_header">Header</div>
20
0e87d5d80709 nicer edit pages.
casties
parents: 9
diff changeset
2 <!-- ZOPE management tabs -->
0e87d5d80709 nicer edit pages.
casties
parents: 9
diff changeset
3 <h2 tal:define="manage_tabs_message options/manage_tabs_message | nothing"
0e87d5d80709 nicer edit pages.
casties
parents: 9
diff changeset
4 tal:replace="structure here/manage_tabs">Tabs</h2>
0e87d5d80709 nicer edit pages.
casties
parents: 9
diff changeset
5 <!-- end of ZOPE management tabs -->
3
d70e57193731 new executeZSQL method that returns Zope Results.
casties
parents:
diff changeset
6 <form method="post" action="manage_editZDBInterfaceFolder">
d70e57193731 new executeZSQL method that returns Zope Results.
casties
parents:
diff changeset
7 <p class="form-label">Title</p>
d70e57193731 new executeZSQL method that returns Zope Results.
casties
parents:
diff changeset
8 <p class="form-element"><input size="80" name="title" tal:attributes="value here/title"/></p>
d70e57193731 new executeZSQL method that returns Zope Results.
casties
parents:
diff changeset
9 <p class="form-label">Connection ID</p>
d70e57193731 new executeZSQL method that returns Zope Results.
casties
parents:
diff changeset
10 <p>
d70e57193731 new executeZSQL method that returns Zope Results.
casties
parents:
diff changeset
11 <select name="connection_id">
8
17b19345d011 added autocommit option.
casties
parents: 3
diff changeset
12 <tal:block tal:repeat="id here/getConnectionIDs">
17b19345d011 added autocommit option.
casties
parents: 3
diff changeset
13 <option tal:condition="python:getattr(here,'connection_id','')==id[1]" tal:attributes="value python:id[1]" selected tal:content="python:id[0]"/>
17b19345d011 added autocommit option.
casties
parents: 3
diff changeset
14 <option tal:condition="not:python:getattr(here,'connection_id','')==id[1]" tal:attributes="value python:id[1]" tal:content="python:id[0]"/>
3
d70e57193731 new executeZSQL method that returns Zope Results.
casties
parents:
diff changeset
15 </tal:block>
d70e57193731 new executeZSQL method that returns Zope Results.
casties
parents:
diff changeset
16 </select>
d70e57193731 new executeZSQL method that returns Zope Results.
casties
parents:
diff changeset
17 </p>
8
17b19345d011 added autocommit option.
casties
parents: 3
diff changeset
18 <p class="form-label">Autocommit</p>
17b19345d011 added autocommit option.
casties
parents: 3
diff changeset
19 <p>
17b19345d011 added autocommit option.
casties
parents: 3
diff changeset
20 <input type="checkbox" name="autocommit" tal:attributes="checked here/autocommit"/> autocommit (don't use when you want transactions)
17b19345d011 added autocommit option.
casties
parents: 3
diff changeset
21 </p>
9
87087f4f4059 fixed bug with default sort order.
root@xserve09.mpiwg-berlin.mpg.de
parents: 8
diff changeset
22 <p class="form-label">Default search mode</p>
87087f4f4059 fixed bug with default sort order.
root@xserve09.mpiwg-berlin.mpg.de
parents: 8
diff changeset
23 <p>
87087f4f4059 fixed bug with default sort order.
root@xserve09.mpiwg-berlin.mpg.de
parents: 8
diff changeset
24 <select name="default_search">
87087f4f4059 fixed bug with default sort order.
root@xserve09.mpiwg-berlin.mpg.de
parents: 8
diff changeset
25 <option tal:repeat="ds python:['bw','ct','eq']" tal:attributes="value ds; selected python:getattr(here,'default_search','')==ds" tal:content="ds"/>
87087f4f4059 fixed bug with default sort order.
root@xserve09.mpiwg-berlin.mpg.de
parents: 8
diff changeset
26 </select>
87087f4f4059 fixed bug with default sort order.
root@xserve09.mpiwg-berlin.mpg.de
parents: 8
diff changeset
27 </p>
3
d70e57193731 new executeZSQL method that returns Zope Results.
casties
parents:
diff changeset
28 <p><input type="submit" value="Change" /></p>
d70e57193731 new executeZSQL method that returns Zope Results.
casties
parents:
diff changeset
29 </form>