version 1.11, 2004/06/07 17:14:23
|
version 1.24, 2011/09/16 10:26:27
|
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</h2> |
|
<form name="form" action="changeECHO_collection"> |
<form name="form" action="changeECHO_collection"> |
<table> |
<table> |
<tr><td><b> Title: </b></td><td><input type="text" name="title" tal:attributes="value here/title" size="90"></td></tr> |
<tr><td><b> Title: </b></td><td><input type="text" name="title" tal:attributes="value here/title" size="90"></td></tr> |
Line 18
|
Line 17
|
<tr><td><i>Title of Secondary Link:</i> </td><td><input type="text" name="secondaryLinkTitle" value="weight" size=100 tal:attributes="value here/getSecondaryLinkTitle"></td></tr> |
<tr><td><i>Title of Secondary Link:</i> </td><td><input type="text" name="secondaryLinkTitle" value="weight" size=100 tal:attributes="value here/getSecondaryLinkTitle"></td></tr> |
<tr><td><i>Background color:</i> </td><td><input type="text" name="bgcolour" tal:attributes="value here/getBgcolour" size=100></td></tr> |
<tr><td><i>Background color:</i> </td><td><input type="text" name="bgcolour" tal:attributes="value here/getBgcolour" size=100></td></tr> |
<tr><td><i>Location at MainPage:</i> </td><td> |
<tr><td><i>Location at MainPage:</i> </td><td> |
<tal:block tal:condition="python:getattr(here,'location','')=='buttom'"> |
<tal:block tal:condition="python:getattr(here,'location','')=='bottom'"> |
<input type="radio" name="location" value="top">top<input type="radio" name="location" value="buttom" checked>buttom |
<input type="radio" name="location" value="top">top<input type="radio" name="location" value="bottom" checked>bottom |
</tal:block> |
</tal:block> |
<tal:block tal:condition="not:python:getattr(here,'location','')=='buttom'"> |
<tal:block tal:condition="not:python:getattr(here,'location','')=='bottom'"> |
<input type="radio" name="location" value="top" checked>top<input type="radio" name="location" value="buttom">buttom |
<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> |
<h3> Partners:</h3> |
<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> Credits:</h3> |
<div tal:repeat="item here/getPartners"> |
|
|
<div tal:repeat="item here/partners/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="python:here.decode(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="python:here.decode(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> |
|