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, 4 months ago) by dwinter
Branches: MAIN
CVS tags: HEAD
major new version

    1: <html>
    2:   <body>
    3:     <h2> Add a Metadata Mapping folder</h2>
    4:     <form name="form" action="manage_addMetadataMapping" method="post">
    5:       <b> ID: </b><input type="text" name="idOfObject"><br><br>
    6:       <b> Title (=Reference Type): </b><input type="text" name="titleOfObject"><br><br>
    7:       <ul>
    8: 	<li> <b>Tag-Name:</b> Should be lower case only, must only contain letters A-z, Numbers or _ (author, number_of_pages, ...)
    9: 	<li> <b>Label: </b> Human readable name for displaying purposes (Author, Number of Pages, ...)
   10:         <li> <b>Explanation:</b> Should contain a help text, what and how to enter in this field. Can contain HTML tags.
   11:      </ul>
   12:       <table border=1>
   13: 	<tr>
   14: 	  <td>
   15: 	    Generic Name
   16: 	  </td>
   17: 	  <td>
   18: 	    <b>Tag-Name</b>
   19: 	  </td>
   20: 	  <td>
   21: 	    <b>Label</b>
   22: 	  </td>
   23: 	  <td>
   24: 	    <b>Explanation</b>
   25: 	  </td>
   26:   	  <td>	  
   27: 	    <b>Optional</b>
   28: 	  </td>
   29:   	  <td>	  
   30: 	    <b>Required</b>
   31: 	  </td>
   32:   	  <td>	  
   33: 	    <b>Valuelist</b>
   34: 	  </td>
   35: 	
   36: 	</tr>
   37:       <tr tal:repeat="field here/getFields">
   38: 	<td valign="top">
   39: 	  <b tal:content="field"/>
   40: 	</td>
   41: 	<td valign="top">
   42: 	  <input type="text" tal:attributes="name field" size=20>
   43: 	</td>
   44: 	<td valign="top">
   45: 	  <input type="text" tal:attributes="name python:'label_'+field" size=20>
   46: 	</td>
   47: 	<td valign="top">
   48: 	  <textarea rows="10" cols="40" tal:attributes="name python:'explanation_'+field" size=20></textarea>
   49: 	</td>
   50: 	<td valign="top">
   51: 	  <input type="radio" tal:attributes="name python:'status_'+field" value="optional" checked>
   52: 	</td>
   53: 	<td valign="top">	
   54: 	  <input type="radio" tal:attributes="name python:'status_'+field" value="required">
   55: 	</td>
   56: 	<td valign="top">
   57: 	  <textarea rows="10" cols="15" tal:attributes="name python:'values_'+field" size=20></textarea>
   58: 	</td>
   59:       </tr>
   60:       </table>
   61:       <input type="submit" value="Add"><br><br>
   62:     </form>
   63:   </body>
   64: </html>

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