File:  [Repository] / OSA_system2 / zpt / addMetadataMappingForm.zpt
Revision 1.2: download - view: text, annotated - select for diffs - revision graph
Thu Mar 3 20:41:00 2005 UTC (19 years, 2 months ago) by dwinter
Branches: MAIN
CVS tags: HEAD
major new version

<html>
  <body>
    <h2> Add a Metadata Mapping folder</h2>
    <form name="form" action="manage_addMetadataMapping" method="post">
      <b> ID: </b><input type="text" name="idOfObject"><br><br>
      <b> Title (=Reference Type): </b><input type="text" name="titleOfObject"><br><br>
      <ul>
	<li> <b>Tag-Name:</b> Should be lower case only, must only contain letters A-z, Numbers or _ (author, number_of_pages, ...)
	<li> <b>Label: </b> Human readable name for displaying purposes (Author, Number of Pages, ...)
        <li> <b>Explanation:</b> Should contain a help text, what and how to enter in this field. Can contain HTML tags.
     </ul>
      <table border=1>
	<tr>
	  <td>
	    Generic Name
	  </td>
	  <td>
	    <b>Tag-Name</b>
	  </td>
	  <td>
	    <b>Label</b>
	  </td>
	  <td>
	    <b>Explanation</b>
	  </td>
  	  <td>	  
	    <b>Optional</b>
	  </td>
  	  <td>	  
	    <b>Required</b>
	  </td>
  	  <td>	  
	    <b>Valuelist</b>
	  </td>
	
	</tr>
      <tr tal:repeat="field here/getFields">
	<td valign="top">
	  <b tal:content="field"/>
	</td>
	<td valign="top">
	  <input type="text" tal:attributes="name field" size=20>
	</td>
	<td valign="top">
	  <input type="text" tal:attributes="name python:'label_'+field" size=20>
	</td>
	<td valign="top">
	  <textarea rows="10" cols="40" tal:attributes="name python:'explanation_'+field" size=20></textarea>
	</td>
	<td valign="top">
	  <input type="radio" tal:attributes="name python:'status_'+field" value="optional" checked>
	</td>
	<td valign="top">	
	  <input type="radio" tal:attributes="name python:'status_'+field" value="required">
	</td>
	<td valign="top">
	  <textarea rows="10" cols="15" tal:attributes="name python:'values_'+field" size=20></textarea>
	</td>
      </tr>
      </table>
      <input type="submit" value="Add"><br><br>
    </form>
  </body>
</html>

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