view zpt/AddVLP_resourceForm.zpt @ 1:c6ed58ab0786 default tip

ignore Eclipse files.
author casties
date Wed, 17 Apr 2013 16:17:49 +0200
parents 88009fd07d31
children
line wrap: on
line source

<html>
  <body>
    <h2>Add a new Ressource (Virtual Laboratory)</h2>
    <form name="form" action="manage_addVLP_resource">
    <table>
    
      <tr><td> ID: </td><td><input type="text" name="id" size=50></td></tr>
      <tr><td> Title: </td><td><input type="text" name="title" size=50></td></tr>
      <tr><td> Label: </td><td><input type="text" name="label" size=50></td></tr>
      <tr><td> Weigth: </td><td><input type="text" name="weight" size=50></td></tr>
      <tr><td> Description:</td><td><textarea cols=30 rows=10 name="description"></textarea></td></tr>
      <tr><td> <i>Content-Type:</i> </td><td><select name="contentType" tal:content="structure python:here.contentTypeSelector_HTML()"/></td></tr>
      <tr><td> <i>Rendering-Type:</i> </td><td><select name="renderingType" tal:content="structure python:here.renderingTypeSelector_HTML()"/></td></tr>
	<tr><td><b> ResourceID<br> (link or resourceID required): </b></td><td><input type="text" name="resourceID" size=80></td></tr>
	<tr><td><b> Link (if no ressourceID): </b></td><td><input type="text" name="link" size=80></td></tr>
	<tr><td><i> MetaLink (if no ressource ID): </i></td><td><input type="text" name="metalink" size=80></td></tr>


      <tr><td> Responsible: </td><td><input type="text" name="responsible" size=50></td></tr>
    </table>

      <h3> Partner:</h3>
      <p tal:repeat="item here/getPartners">
      <input type="checkbox" name="credits" tal:attributes="value item/id"/><span tal:replace="item/title"/>
      </p>
       <h4>Coordinates</h4>
      <table>
      <tr><td> Coord1: </td><td><input type="text" name="coords" size=50></td></tr>
      <tr><td> Coord2: </td><td><input type="text" name="coords" size=50></td></tr>
      <tr><td> Coord3: </td><td><input type="text" name="coords" size=50></td></tr>
      <tr><td> Coord4: </td><td><input type="text" name="coords" size=50></td></tr>
      </table>
      <input type="submit" value="Add">
    </form>
  </body>
</html>