|
|
| version 1.1, 2003/11/25 11:19:47 | version 1.3, 2004/01/27 13:33:27 |
|---|---|
| Line 1 | Line 1 |
| <html> | <html> |
| <body> | <body> |
| <h2>Change collection</h2> | <h2>Change Resource</h2> |
| <form name="form" action="changeECHO_resource"> | <form name="form" action="changeECHO_resource"> |
| <table> | |
| <tr><td><b> Title: </b></td><td><input type="text" name="title" tal:attributes="value here/title"></td></tr> | |
| <tr><td><b> Label: </b></td><td><input type="text" name="label" tal:attributes="value here/label"></td></tr> | |
| <tr><td><b> Link: </b></td><td><input type="text" name="link" tal:attributes="value here/link"></td></tr> | |
| <tr><td><b> MetaLink: </b></td><td><input type="text" name="metalink" tal:attributes="value here/metalink"></td></tr> | |
| <tr><td><b> Weight </b></td><td><input type="text" name="weight" tal:attributes="value here/weight"></td></tr> | |
| <tr><td><b> Description:</b></td><td><textarea name="description" tal:content="here/description"></textarea></td></tr> | |
| <tr><td><b> Content-Type: </b></td><td><input type="text" name="content_type" tal:attributes="value here/content_type"></td></tr> | |
| <tr><td><b> Responsible: </b></td><td><input type="text" name="responsible" tal:attributes="value here/responsible"></td></tr> | |
| </table> | |
| <b> Title: </b><input type="text" name="title" tal:attributes="value here/title"><br> | |
| <b> Label: </b><input type="text" name="label" tal:attributes="value here/label"><br> | |
| <b> Link: </b><input type="text" name="link" tal:attributes="value here/link"><br> | |
| <b> MetaLink: </b><input type="text" name="metalink" tal:attributes="value here/metalink"><br> | |
| <b> Weight </b><input type="text" name="weight" tal:attributes="value here/weight"><br> | |
| <b> Description:</b><textarea name="description" tal:content="here/description"></textarea><br> | |
| <b> Content-Type: </b><input type="text" name="content_type" tal:attributes="value here/content_type"><br><br> | |
| <b> Responsible: </b><input type="text" name="responsible" tal:attributes="value here/responsible"><br><br> | |
| <h3>Scientific Information</h3> | |
| <b> Source-Type: </b><input type="text" name="source_type" tal:attributes="value python:here.scientific_Information.source_type"><br> | |
| <b> Period: </b><input type="text" name="period" tal:attributes="value here/scientific_Information/get_period"><br> | |
| <h4>Classification</h4> | |
| <b> Context: </b><input type="text" name="context" tal:attributes="value python:here.scientific_Information.scientific_Classification.get_context()"><br> | |
| <b> Science: </b><input type="text" name="science" tal:attributes="value python:here.scientific_Information.scientific_Classification.get_science()"><br> | |
| <b> Practice: </b><input type="text" name="practice" tal:attributes="value python:here.scientific_Information.scientific_Classification.get_practice()"><br> | |
| <h4>Coords</h4> | <h4>Coords</h4> |
| <table> | <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> | <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> |
| </table> | </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" tal:content="viewClass" checked/> | |
| <input tal:condition="not:python:here.getViewClassification()==viewClass" type="radio" name="viewClassification" tal:attributes="value viewClass" tal:content="viewClass"/> | |
| </p> | |
| <b> Credits:</b><br> | <b> Credits:</b><br> |
| <div tal:repeat="item here/partners/getPartners"> | <div tal:repeat="item here/partners/getPartners"> |
| <div tal:condition="python:item.getId() in here.credits"> | <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" tal:content="item/title" checked/> |
| </div> | </div> |
| <div tal:condition="not:python:item.getId() in here.credits"> | <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:content="item/title"/> |
| </div> | </div> |
| </div> | </div> |
| <input type="submit" value="Change"><br><br> | <input type="submit" value="Change"><br><br> |
| <h3>Scientific Information</h3> | |
| <table> | |
| <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> | |
| <tr><td><b> Period: </b></td><td><input type="text" name="period" tal:attributes="value here/scientific_Information/get_period"></td></tr> | |
| <h4>Classification</h4> | |
| <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> | |
| <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> | |
| <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> | |
| </table> | |
| <input type="submit" value="Change"><br><br> | |
| </form> | </form> |
| </body> | </body> |
| </html> | </html> |