Annotation of MPIWGWeb/zpt/changeMPIWGRootForm.zpt, revision 1.2.2.5
1.1 dwinter 1: <html>
2: <head>
3: <title>The title</title>
4: </head>
5: <body>
6:
7: <div>
8:
9: <h1>Change MPIWGRoot</h1>
10: <form method="post" action="changeMPIWGRoot">
11:
1.2.2.1 casties 12: <p>Title:<br/>
1.1 dwinter 13: <input tal:attributes="value python:getattr(here,'title','')" name="title"/>
1.2.2.1 casties 14: </p>
15: <p>Default language:<br/>
16: <input tal:attributes="value python:getattr(here,'lang','en')" name="lang"/>
17: </p>
1.2.2.4 dwinter 18:
19: <p>Cone Service URL:<br/>
1.2.2.5 ! dwinter 20: <input size="100" tal:attributes="value python:getattr(here,'coneServiceURL','http://virtuoso.mpiwg-berlin.mpg.de:8080/MetaDataManagerRestlet/cone/')" name="coneServiceURL"/>
! 21: </p>
! 22: <p>Harvester ZEO server:<br/>
! 23: <input tal:attributes="value python:here.getHarvestCacheServer()" name="harvestServer"/>
! 24: </p>
! 25: <p>Harvester ZEO server port:<br/>
! 26: <input tal:attributes="value python:here.getHarvestCachePort()" name="harvestPort"/>
1.2.2.4 dwinter 27: </p>
28: <!--
1.1 dwinter 29: <p>Discipline list (seperated by CR)<br>
30: <textarea name="disciplineList" cols=50 rows=20 tal:content="python:getattr(here,'disciplineList','')" ></textarea>
31: </p>
32: <p>Themes List (seperated by CR)<br>
33: <textarea name="themesList" cols=50 rows=20 tal:content="python:getattr(here,'themesList','')"></textarea>
34: </p>
1.2.2.4 dwinter 35: -->
36:
37:
1.2 dwinter 38: <p>
39: <div class="form-element">
40:
41: <select name="connection_id">
42:
43: <tal:block tal:repeat="id python:here.SQLConnectionIDs()[0]">
44: <option tal:condition="python:getattr(here,'connection_id','')==id" tal:attributes="value id" selected tal:content="id"/>
45: <option tal:condition="not:python:getattr(here,'connection_id','')==id" tal:attributes="value id" tal:content="id"/>
46: </tal:block>
47: </select>
48: </div>
49:
1.2.2.2 casties 50: <p class="form-label">Autocommit</p>
51: <p>
1.2.2.3 casties 52: <input type="checkbox" name="autocommit" tal:attributes="checked here/autocommit | nothing"/> autocommit (don't use when you want transactions)
1.2.2.2 casties 53: </p>
1.1 dwinter 54: <input type="submit">
55: </form>
56: </div>
57: </body>
58: </html>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>