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:
12: <p>Title:<br/>
13: <input tal:attributes="value python:getattr(here,'title','')" name="title"/>
14: </p>
15: <p>Default language:<br/>
16: <input tal:attributes="value python:getattr(here,'lang','en')" name="lang"/>
17: </p>
18:
19: <p>Cone Service URL:<br/>
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"/>
27: </p>
28: <!--
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>
35: -->
36:
37:
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:
50: <p class="form-label">Autocommit</p>
51: <p>
52: <input type="checkbox" name="autocommit" tal:attributes="checked here/autocommit | nothing"/> autocommit (don't use when you want transactions)
53: </p>
54: <input type="submit">
55: </form>
56: </div>
57: </body>
58: </html>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>