Annotation of ECHO_content/zpt/ChangeECHO_Collection.zpt, revision 1.15

1.1       dwinter     1: <html>
                      2:   <body>
1.14      dwinter     3:     <h2>Change collection <span tal:replace="here/getId"/></h2>
1.1       dwinter     4:     <form name="form" action="changeECHO_collection">
                      5:       <table>
1.9       dwinter     6:       <tr><td><b> Title: </b></td><td><input type="text" name="title" tal:attributes="value here/title" size="90"></td></tr>
                      7:       <tr><td><b> Label: </b></td><td><input type="text" name="label" tal:attributes="value here/label" size="90"></td></tr>
                      8:       <tr><td><b> imageTag: </b></td><td><input type="text" name="imageTag" tal:attributes="value python:here.getImageTag()" size="90"></td></tr>
1.1       dwinter     9:       <tr><td><b> Weight for sorting: </b></td><td><input type="text" name="weight" tal:attributes="value here/weight"></td></tr>
                     10:      
                     11:       <tr><td><b> Description:</b></td><td><textarea name="description" cols=80 rows=10 tal:content="here/description"></textarea></td></tr>
                     12:      <tr><td><b> Sortfield: </b></td><td><input type="text" name="sortfield" tal:attributes="value here/sortfield"></td></tr>
                     13:       
1.11      dwinter    14:       <tr><td> <i>Content-Type:</i> </td><td><select name="contentType" tal:content="structure python:here.contentTypeSelector_HTML(selected=getattr(here,'contentType',''))"/></td></tr>
1.6       dwinter    15: 
1.1       dwinter    16:       <tr><td><b> Responsible: </b></td><td><input type="text" name="responsible" tal:attributes="value here/responsible"></td></tr>
1.7       dwinter    17:       <tr><td><i>Secondary Link:</i> </td><td><input type="text" name="secondaryLink" value="weight" size=100 tal:attributes="value here/getSecondaryLink"></td></tr>
                     18:       <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>
1.8       dwinter    19:       <tr><td><i>Background color:</i> </td><td><input type="text" name="bgcolour"  tal:attributes="value here/getBgcolour" size=100></td></tr>     
1.11      dwinter    20:       <tr><td><i>Location at MainPage:</i> </td><td>
1.12      dwinter    21:      <tal:block tal:condition="python:getattr(here,'location','')=='bottom'">
                     22:        <input type="radio" name="location"  value="top">top<input type="radio" name="location"  value="bottom" checked>bottom
1.11      dwinter    23:           </tal:block>
1.12      dwinter    24:       <tal:block tal:condition="not:python:getattr(here,'location','')=='bottom'">
                     25:        <input type="radio" name="location"  value="top" checked>top<input type="radio" name="location"  value="bottom">bottom
1.11      dwinter    26:           </tal:block>
                     27:       </td></tr>     
1.15    ! dwinter    28:       <tr><td><i>Clickable also if selected:<i> 
        !            29:        <input tal:condition="python:getattr(here,'isAlwaysClickable',None)" type="checkbox" name="isAlwaysClickable"  checked value="yes">
        !            30:        <input tal:condition="not:python:getattr(here,'isAlwaysClickable',None)" type="checkbox" name="isAlwaysClickable"  value="yes">
        !            31:       </td></tr>
1.1       dwinter    32: </table>
                     33: 
                     34:    <h4>Coords</h4>           
                     35:       <table>
                     36:       <tr tal:repeat="coord python:here.getCoords()"><td><b> Coords: </b></td><td><input type="text" name="coords" tal:attributes="value coord"></td></tr>
                     37: </table>
1.10      dwinter    38: 
                     39: <h4>View Type</h4>
                     40: <p tal:repeat="viewClass here/viewClassificationList">
                     41: <input tal:condition="python:here.getViewClassification()==viewClass" type="radio" name="viewClassification" tal:attributes="value viewClass" checked/>
                     42: <input tal:condition="not:python:here.getViewClassification()==viewClass" type="radio" name="viewClassification" tal:attributes="value viewClass"/>
                     43: <span tal:content="viewClass"/><br/>
                     44: </p>
                     45: 
1.13      jdamerow   46: <h3> Partners:</h3>
1.1       dwinter    47:       
                     48:       <div tal:repeat="item here/partners/getPartners">
                     49:    
                     50:    <div tal:condition="python:item.getId() in here.getCredits()">
                     51:      
                     52:      <input type="checkbox" name="credits" tal:attributes="value item/id" tal:content="item/title" checked/>
                     53:    </div>
                     54:    <div tal:condition="not:python:item.getId() in here.getCredits()">
                     55:        <input type="checkbox" name="credits" tal:attributes="value item/id" tal:content="item/title"/>
                     56:    </div>
                     57: 
                     58:       </div>
                     59:       <input type="submit" value="change"><br><br>
                     60:        </form>
                     61:    </body>
                     62: </html>

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