Annotation of ECHO_content/ChangeECHO_resource.zpt, revision 1.3

1.1       casties     1: <html>
                      2:   <body>
1.2       dwinter     3:     <h2>Change Resource</h2>
1.1       casties     4:     <form name="form" action="changeECHO_resource">
1.2       dwinter     5:       <table>
                      6:       <tr><td><b> Title: </b></td><td><input type="text" name="title" tal:attributes="value here/title"></td></tr>
                      7:       <tr><td><b> Label: </b></td><td><input type="text" name="label" tal:attributes="value here/label"></td></tr>
                      8:       <tr><td><b> Link: </b></td><td><input type="text" name="link" tal:attributes="value here/link"></td></tr>
                      9:       <tr><td><b> MetaLink: </b></td><td><input type="text" name="metalink" tal:attributes="value here/metalink"></td></tr>
                     10:       <tr><td><b> Weight </b></td><td><input type="text" name="weight" tal:attributes="value here/weight"></td></tr>
                     11: 
                     12:       <tr><td><b> Description:</b></td><td><textarea name="description" tal:content="here/description"></textarea></td></tr>
                     13:       <tr><td><b> Content-Type: </b></td><td><input type="text" name="content_type" tal:attributes="value here/content_type"></td></tr>
                     14:       <tr><td><b> Responsible: </b></td><td><input type="text" name="responsible" tal:attributes="value here/responsible"></td></tr>
                     15:    </table>
                     16: 
1.1       casties    17:       
                     18:    <h4>Coords</h4>           
                     19:       <table>
1.2       dwinter    20:       <tr tal:repeat="coord python:here.getCoords()"><td><b> Coords: </b></td><td><input type="text" name="coords" tal:attributes="value coord" size=40></td></tr>
1.1       casties    21: </table>
1.2       dwinter    22: <h4>View Type</h4>
                     23: <p tal:repeat="viewClass here/viewClassificationList">
                     24: 
                     25: <input tal:condition="python:here.getViewClassification()==viewClass" type="radio" name="viewClassification" tal:attributes="value viewClass" tal:content="viewClass" checked/>
                     26: 
                     27: <input tal:condition="not:python:here.getViewClassification()==viewClass" type="radio" name="viewClassification" tal:attributes="value viewClass" tal:content="viewClass"/>
                     28: 
                     29: </p>
                     30: 
1.1       casties    31:       <b> Credits:</b><br>        
                     32:       <div tal:repeat="item here/partners/getPartners">
                     33:    
1.3     ! dwinter    34:    <div tal:condition="python:item.getId() in here.getCredits()">
1.1       casties    35:      
                     36:      <input type="checkbox" name="credits" tal:attributes="value item/id" tal:content="item/title" checked/>
                     37:    </div>
1.3     ! dwinter    38:    <div tal:condition="not:python:item.getId() in here.getCredits()">
1.1       casties    39:        <input type="checkbox" name="credits" tal:attributes="value item/id" tal:content="item/title"/>
                     40:    </div>
                     41: 
                     42:       </div>
1.2       dwinter    43: <input type="submit" value="Change"><br><br>
                     44: <h3>Scientific Information</h3>
                     45:    <table>
                     46:       <tr><td><b> Source-Type: </b></td><td><input type="text" name="source_type" tal:attributes="value python:here.scientific_Information.source_type"></td></tr>
                     47:       <tr><td><b> Period: </b></td><td><input type="text" name="period" tal:attributes="value here/scientific_Information/get_period"></td></tr>
                     48:       <h4>Classification</h4>
                     49:       <tr><td><b> Context: </b></td><td><input type="text" name="context" tal:attributes="value python:here.scientific_Information.scientific_Classification.get_context()"></td></tr>
                     50:       <tr><td><b> Science: </b></td><td><input type="text" name="science" tal:attributes="value python:here.scientific_Information.scientific_Classification.get_science()"></td></tr>
                     51:       <tr><td><b> Practice: </b></td><td><input type="text" name="practice" tal:attributes="value python:here.scientific_Information.scientific_Classification.get_practice()"></td></tr>
                     52:    </table>
1.1       casties    53:       <input type="submit" value="Change"><br><br>
                     54:     </form>
                     55:   </body>
                     56: </html>

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