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 tal:attributes="value python:getattr(here,'coneServiceURL','http://virtuoso.mpiwg-berlin.mpg.de:8080/MetaDataManagerRestlet/cone/')" name="coneServiceURL"/>
21: </p>
22: <!--
23: <p>Discipline list (seperated by CR)<br>
24: <textarea name="disciplineList" cols=50 rows=20 tal:content="python:getattr(here,'disciplineList','')" ></textarea>
25: </p>
26: <p>Themes List (seperated by CR)<br>
27: <textarea name="themesList" cols=50 rows=20 tal:content="python:getattr(here,'themesList','')"></textarea>
28: </p>
29: -->
30:
31:
32: <p>
33: <div class="form-element">
34:
35: <select name="connection_id">
36:
37: <tal:block tal:repeat="id python:here.SQLConnectionIDs()[0]">
38: <option tal:condition="python:getattr(here,'connection_id','')==id" tal:attributes="value id" selected tal:content="id"/>
39: <option tal:condition="not:python:getattr(here,'connection_id','')==id" tal:attributes="value id" tal:content="id"/>
40: </tal:block>
41: </select>
42: </div>
43:
44: <p class="form-label">Autocommit</p>
45: <p>
46: <input type="checkbox" name="autocommit" tal:attributes="checked here/autocommit | nothing"/> autocommit (don't use when you want transactions)
47: </p>
48: <input type="submit">
49: </form>
50: </div>
51: </body>
52: </html>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>