view zpt/changeDocumentViewer.zpt @ 630:25295ceb11b1

updated annotation templates to new digilib-annotator version 1.3.5
author casties
date Thu, 04 Jun 2015 16:23:29 +0200
parents 3f375a048402
children
line wrap: on
line source

<div tal:replace="structure here/manage_page_header">Header</div>
<!-- ZOPE management tabs -->
<h2 tal:define="manage_tabs_message options/manage_tabs_message | nothing"
    tal:replace="structure here/manage_tabs">Tabs</h2>
<!-- end of ZOPE management tabs -->
		<form action="changeDocumentViewer">
		
		<p class="form-optional">Title</p>
        <p class="form-element"><input size="80" tal:attributes="value here/title" name="title"></p>
        <p class="form-text">The image scaler URL and text server URL have to be configured in the <tt>zogilib</tt> and <tt>fulltextclient</tt>
        objects in the <tt>template</tt> folder.</p>
        <p class="form-optional">Thumbnail rows</p>
        <p class="form-element"><input size="3" tal:attributes="value here/thumbrows | default" name="thumbrows"></p>
        <p class="form-optional">Thumbnail columns</p>
        <p class="form-element"><input size="3" tal:attributes="value here/thumbcols | default" name="thumbcols"></p>
        <p class="form-optional">Authorized groups</p>
        <p class="form-element"><input size="80" tal:attributes="value python:','.join(getattr(here,'authgroups', []))" name="authgroups"></p>
        <p class="form-text">Access groups (separated by ',') that are considered local, i.e. when a ressource restricts access
        to one of these groups, local access to the ressource is granted.</p>
        <p class="form-optional">Available Layers</p>
        <p class="form-element"><input size="80" tal:attributes="value here/getAvailableLayersJson | nothing" name="availableLayers"></p>
        <p class="form-text">List of available layers per view mode. JSON, one key per mode, null, or a list of layers per key.
          Leave empty for autoconfiguration.</p>
        <p class="form-optional">Digilib base URL</p>
        <p class="form-element"><input size="80" tal:attributes="value here/digilibBaseUrl | nothing" name="digilibBaseUrl"></p>
        <p class="form-text">Leave empty for autoconfiguration.</p>
		
		<p><input type="submit" value="change"></p>
		</form>
			
<div tal:replace="structure here/manage_page_footer">Footer</div>