File:  [Repository] / MPIWGWeb / zpt / changeMPIWGRootForm.zpt
Revision 1.2.2.5: download - view: text, annotated - select for diffs - revision graph
Mon Jan 9 10:36:48 2012 UTC (12 years, 4 months ago) by dwinter
Branches: r2
changed cache for harvest to zeo

<html>
<head>
   <title>The title</title>
</head>
<body>

<div>

<h1>Change MPIWGRoot</h1>
<form method="post" action="changeMPIWGRoot">

<p>Title:<br/>
<input tal:attributes="value python:getattr(here,'title','')" name="title"/>
</p>
<p>Default language:<br/>
<input tal:attributes="value python:getattr(here,'lang','en')" name="lang"/>
</p>

<p>Cone Service URL:<br/>
<input size="100" tal:attributes="value python:getattr(here,'coneServiceURL','http://virtuoso.mpiwg-berlin.mpg.de:8080/MetaDataManagerRestlet/cone/')" name="coneServiceURL"/>
</p>
<p>Harvester ZEO server:<br/>
<input tal:attributes="value python:here.getHarvestCacheServer()" name="harvestServer"/>
</p>
<p>Harvester ZEO server port:<br/>
<input tal:attributes="value python:here.getHarvestCachePort()" name="harvestPort"/>
</p>
<!--
<p>Discipline list (seperated by CR)<br>
<textarea name="disciplineList" cols=50 rows=20  tal:content="python:getattr(here,'disciplineList','')" ></textarea>
</p>
<p>Themes List (seperated by CR)<br>
<textarea name="themesList" cols=50 rows=20 tal:content="python:getattr(here,'themesList','')"></textarea>
</p>
-->


<p>
<div class="form-element">
    
    <select name="connection_id">
     
     <tal:block tal:repeat="id python:here.SQLConnectionIDs()[0]">
                <option  tal:condition="python:getattr(here,'connection_id','')==id"  tal:attributes="value id" selected tal:content="id"/>
                <option  tal:condition="not:python:getattr(here,'connection_id','')==id"  tal:attributes="value id" tal:content="id"/>
            </tal:block>
    </select>
    </div>

    <p class="form-label">Autocommit</p>
    <p>
      <input type="checkbox" name="autocommit" tal:attributes="checked here/autocommit | nothing"/> autocommit (don't use when you want transactions)
    </p>
<input type="submit">
</form>
</div>
</body>
</html>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>