annotate zpt/editZDBInterfaceFolder.zpt @ 16:5b99c04c567c

fix for psycopg 2.4 Column type.
author casties
date Wed, 22 Feb 2012 18:53:05 +0100
parents 87087f4f4059
children 0e87d5d80709
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>
d70e57193731 new executeZSQL method that returns Zope Results.
casties
parents:
diff changeset
2 <h2>Edit a ZDB interface folder</h2>
d70e57193731 new executeZSQL method that returns Zope Results.
casties
parents:
diff changeset
3 <form method="post" action="manage_editZDBInterfaceFolder">
d70e57193731 new executeZSQL method that returns Zope Results.
casties
parents:
diff changeset
4 <p class="form-label">Title</p>
d70e57193731 new executeZSQL method that returns Zope Results.
casties
parents:
diff changeset
5 <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
6 <p class="form-label">Connection ID</p>
d70e57193731 new executeZSQL method that returns Zope Results.
casties
parents:
diff changeset
7 <p>
d70e57193731 new executeZSQL method that returns Zope Results.
casties
parents:
diff changeset
8 <select name="connection_id">
8
17b19345d011 added autocommit option.
casties
parents: 3
diff changeset
9 <tal:block tal:repeat="id here/getConnectionIDs">
17b19345d011 added autocommit option.
casties
parents: 3
diff changeset
10 <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
11 <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
12 </tal:block>
d70e57193731 new executeZSQL method that returns Zope Results.
casties
parents:
diff changeset
13 </select>
d70e57193731 new executeZSQL method that returns Zope Results.
casties
parents:
diff changeset
14 </p>
8
17b19345d011 added autocommit option.
casties
parents: 3
diff changeset
15 <p class="form-label">Autocommit</p>
17b19345d011 added autocommit option.
casties
parents: 3
diff changeset
16 <p>
17b19345d011 added autocommit option.
casties
parents: 3
diff changeset
17 <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
18 </p>
9
87087f4f4059 fixed bug with default sort order.
root@xserve09.mpiwg-berlin.mpg.de
parents: 8
diff changeset
19 <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
20 <p>
87087f4f4059 fixed bug with default sort order.
root@xserve09.mpiwg-berlin.mpg.de
parents: 8
diff changeset
21 <select name="default_search">
87087f4f4059 fixed bug with default sort order.
root@xserve09.mpiwg-berlin.mpg.de
parents: 8
diff changeset
22 <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
23 </select>
87087f4f4059 fixed bug with default sort order.
root@xserve09.mpiwg-berlin.mpg.de
parents: 8
diff changeset
24 </p>
3
d70e57193731 new executeZSQL method that returns Zope Results.
casties
parents:
diff changeset
25 <p><input type="submit" value="Change" /></p>
d70e57193731 new executeZSQL method that returns Zope Results.
casties
parents:
diff changeset
26 </form>