File:  [Repository] / ECHO_content / zpt / ChangeECHO_resource.zpt
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Mon Feb 9 11:45:46 2004 UTC (20 years, 5 months ago) by dwinter
Branches: MAIN
CVS tags: HEAD
new structure

    1: <html>
    2:   <body>
    3:     <h2>Change Resource</h2>
    4:     <form name="form" action="changeECHO_resource">
    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: 
   17:       
   18: 	<h4>Coords</h4>           
   19:       <table>
   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>
   21: </table>
   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: 
   31:       <b> Credits:</b><br>	       
   32:       <div tal:repeat="item here/partners/getPartners">
   33: 	
   34: 	<div tal:condition="python:item.getId() in here.getCredits()">
   35: 	  
   36: 	  <input type="checkbox" name="credits" tal:attributes="value item/id" tal:content="item/title" checked/>
   37: 	</div>
   38: 	<div tal:condition="not:python:item.getId() in here.getCredits()">
   39: 		<input type="checkbox" name="credits" tal:attributes="value item/id" tal:content="item/title"/>
   40: 	</div>
   41: 
   42:       </div>
   43: <input type="submit" value="Change"><br><br>
   44: 
   45:     </form>
   46:   </body>
   47: </html>

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