version 1.14, 2004/06/25 11:02:16
|
version 1.21, 2007/01/23 16:50:11
|
Line 1
|
Line 1
|
<html> |
<h1 tal:replace="structure here/manage_page_header">Header</h1> |
<body> |
|
<h2>Change collection <span tal:replace="here/getId"/></h2> |
<h2>Change collection <span tal:replace="here/getId"/></h2> |
<form name="form" action="changeECHO_collection"> |
<form name="form" action="changeECHO_collection"> |
<table> |
<table> |
Line 25
|
Line 24
|
<input type="radio" name="location" value="top" checked>top<input type="radio" name="location" value="bottom">bottom |
<input type="radio" name="location" value="top" checked>top<input type="radio" name="location" value="bottom">bottom |
</tal:block> |
</tal:block> |
</td></tr> |
</td></tr> |
|
<tr><td><i>Collection can be browsed and is searchable:</i></td> |
|
<td><select name="isVisible:boolean"> |
|
<option tal:condition="python:here.getAttributeIsVisible()" value="True" selected>True</option> |
|
<option tal:condition="not:python:here.getAttributeIsVisible()" value="True">True</option> |
|
<option tal:condition="not:python:here.getAttributeIsVisible()" value="False" selected>False</option> |
|
<option tal:condition="python:here.getAttributeIsVisible()" value="False">False</option> |
|
</select> |
|
</td> |
|
</tr> |
</table> |
</table> |
|
|
<h4>Coords</h4> |
|
<table> |
|
<tr tal:repeat="coord python:here.getCoords()"><td><b> Coords: </b></td><td><input type="text" name="coords" tal:attributes="value coord"></td></tr> |
|
</table> |
|
|
|
<h4>View Type</h4> |
|
<p tal:repeat="viewClass here/viewClassificationList"> |
|
<input tal:condition="python:here.getViewClassification()==viewClass" type="radio" name="viewClassification" tal:attributes="value viewClass" checked/> |
|
<input tal:condition="not:python:here.getViewClassification()==viewClass" type="radio" name="viewClassification" tal:attributes="value viewClass"/> |
|
<span tal:content="viewClass"/><br/> |
|
</p> |
|
|
|
<h3> Partners:</h3> |
<h3> Partners:</h3> |
|
|
<div tal:repeat="item here/partners/getPartners"> |
<div tal:repeat="item here/getPartners"> |
|
|
<div tal:condition="python:item.getId() in here.getCredits()"> |
<div tal:condition="python:item.getId() in here.getCredits()"> |
|
|
<input type="checkbox" name="credits" tal:attributes="value item/id" tal:content="item/title" checked/> |
<input type="checkbox" name="credits" tal:attributes="value item/id" checked/><tal:block tal:content="item/title"/> |
</div> |
</div> |
<div tal:condition="not:python:item.getId() in here.getCredits()"> |
<div tal:condition="not:python:item.getId() in here.getCredits()"> |
<input type="checkbox" name="credits" tal:attributes="value item/id" tal:content="item/title"/> |
<input type="checkbox" name="credits" tal:attributes="value item/id"/><tal:block tal:content="item/title"/> |
</div> |
</div> |
|
|
</div> |
</div> |
|
<h3>Additions for Navigation (all optional)</h3> |
|
<table> |
|
<tr><td><i>Clickable also if selected:<i> |
|
<input tal:condition="python:getattr(here,'isAlwaysClickable',None)" type="checkbox" name="isAlwaysClickable" checked value="yes"> |
|
<input tal:condition="not:python:getattr(here,'isAlwaysClickable',None)" type="checkbox" name="isAlwaysClickable" value="yes"> |
|
</td></tr> |
|
<tr><td> |
|
<i>Prefix for output in navigation</i></td><td><input tal:attributes="value python:getattr(here,'prefix','')" name="prefix" size=20> |
|
</td></tr> |
|
<tr><td> |
|
<i>Suffix for output in navigation</i></td><td><input tal:attributes="value python:getattr(here,'suffix','')" name="suffix" size=20> |
|
</td></tr> |
|
</table> |
<input type="submit" value="change"><br><br> |
<input type="submit" value="change"><br><br> |
</form> |
</form> |
</body> |
<h1 tal:replace="structure here/manage_page_footer">Footer</h1> |
</html> |
|