155 lines
5.7 KiB
XML
155 lines
5.7 KiB
XML
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
|
|
xmlns:tal="http://xml.zope.org/namespaces/tal"
|
|
xmlns:metal="http://xml.zope.org/namespaces/metal"
|
|
xmlns:i18n="http://xml.zope.org/namespaces/i18n"
|
|
lang="en"
|
|
metal:use-macro="context/prefs_main_template/macros/master"
|
|
i18n:domain="plone">
|
|
|
|
<body>
|
|
|
|
<div metal:fill-slot="prefs_configlet_main">
|
|
|
|
<h1 class="documentFirstHeading"
|
|
i18n:translate="heading_tabellio_settings">Tabellio settings</h1>
|
|
|
|
<a href=""
|
|
class="link-parent"
|
|
tal:attributes="href string:${portal_url}/plone_control_panel"
|
|
i18n:translate="label_up_to_plone_setup">
|
|
Up to Site Setup
|
|
</a>
|
|
|
|
<p>
|
|
Use this control panel to configure Tabellio.
|
|
</p>
|
|
|
|
<dl class="enableFormTabbing">
|
|
<dt id="fieldsetlegend-basic">Location settings</dt>
|
|
<dd id="fieldset-basic">
|
|
|
|
<form
|
|
name="basic"
|
|
method="post"
|
|
class="enableUnloadProtection"
|
|
tal:attributes="action request/URL"
|
|
tal:define="errors view/errors">
|
|
|
|
<div
|
|
tal:define="error errors/deputiesPath | nothing;
|
|
deputiesPath python:request.get('deputiesPath', view.settings.deputiesPath)"
|
|
tal:attributes="class python:'field error' if error else 'field'">
|
|
|
|
<label for="deputiesPath" i18n:translate="label_deputies_path">Deputies</label>
|
|
<div tal:content="error" tal:condition="error" />
|
|
<input
|
|
name="deputiesPath"
|
|
id="deputiesPath"
|
|
type="text"
|
|
size="80"
|
|
tal:attributes="value deputiesPath"
|
|
/>
|
|
</div>
|
|
|
|
<div
|
|
tal:define="error errors/ministriesPath | nothing;
|
|
ministriesPath python:request.get('ministriesPath', view.settings.ministriesPath)"
|
|
tal:attributes="class python:'field error' if error else 'field'">
|
|
|
|
<label for="ministriesPath" i18n:translate="label_ministries_path">Ministries</label>
|
|
<div tal:content="error" tal:condition="error" />
|
|
<input
|
|
name="ministriesPath"
|
|
id="ministriesPath"
|
|
type="text"
|
|
size="80"
|
|
tal:attributes="value ministriesPath"
|
|
/>
|
|
</div>
|
|
|
|
<div
|
|
tal:define="error errors/documentsPath | nothing;
|
|
documentsPath python:request.get('documentsPath', view.settings.documentsPath)"
|
|
tal:attributes="class python:'field error' if error else 'field'">
|
|
<label for="documentsPath" i18n:translate="label_documents_path">Documents</label>
|
|
<div tal:content="error" tal:condition="error" />
|
|
<input
|
|
name="documentsPath"
|
|
id="documentsPath"
|
|
type="text"
|
|
size="80"
|
|
tal:attributes="value documentsPath"
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
tal:define="error errors/dossiersPath | nothing;
|
|
dossiersPath python:request.get('dossiersPath', view.settings.dossiersPath)"
|
|
tal:attributes="class python:'field error' if error else 'field'">
|
|
<label for="dossiersPath" i18n:translate="label_dossiers_path">Dossiers</label>
|
|
<div tal:content="error" tal:condition="error" />
|
|
<input
|
|
name="dossiersPath"
|
|
id="dossiersPath"
|
|
type="text"
|
|
size="80"
|
|
tal:attributes="value dossiersPath"
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
tal:define="error errors/polgroupsPath | nothing;
|
|
polgroupsPath python:request.get('polgroupsPath', view.settings.polgroupsPath)"
|
|
tal:attributes="class python:'field error' if error else 'field'">
|
|
|
|
<label for="polgroupsPath" i18n:translate="label_polgroups_path">Political Groups</label>
|
|
<div tal:content="error" tal:condition="error" />
|
|
<input
|
|
name="polgroupsPath"
|
|
id="polgroupsPath"
|
|
type="text"
|
|
size="80"
|
|
tal:attributes="value polgroupsPath"
|
|
/>
|
|
</div>
|
|
|
|
<div class="formControls">
|
|
<input
|
|
type="submit"
|
|
name="form.button.LocationsSave"
|
|
class="context"
|
|
value="Save"
|
|
i18n:attributes="value" />
|
|
|
|
<input
|
|
type="submit"
|
|
name="form.button.Cancel"
|
|
class="context"
|
|
value="Cancel"
|
|
i18n:attributes="value" />
|
|
</div>
|
|
|
|
<input tal:replace="structure context/@@authenticator/authenticator" />
|
|
|
|
</form>
|
|
|
|
</dd>
|
|
|
|
<dt id="fieldsetlegend-advanced">Other settings</dt>
|
|
<dd id="fieldset-other">
|
|
|
|
<p>
|
|
...
|
|
</p>
|
|
|
|
</dd>
|
|
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|