1
|
1
|
|
2 <div tal:replace="structure here/manage_page_header">Header</div>
|
|
3 <h2>Add a Metadata Mapping</h2>
|
|
4 <form name="form" action="manage_addMetaDataMapping" method="post">
|
|
5 <b> ID: </b><input type="text" name="idOfObject"><br/> <br/> <b>
|
|
6 Title (=Reference Type): </b><input type="text" name="titleOfObject"><br/> <br/>
|
|
7 <ul>
|
|
8 <li><b>Tag-Name:</b> Should be lower case (e.g. author, number-of-pages, ...)</li>
|
|
9 <li><b>Label:</b> Human readable name for displaying purposes (Author, Number of
|
|
10 Pages, ...)</li>
|
|
11 <li><b>Explanation:</b> Should contain a help text, what and how to enter in this
|
|
12 field. Can contain HTML tags.</li>
|
|
13 </ul>
|
|
14 <table border=1>
|
|
15 <tr>
|
|
16 <th>Tag-name</th>
|
|
17 <th>Label</th>
|
|
18 <th>Explanation</th>
|
|
19 <th>Optional</th>
|
|
20 <th>Valuelist</th>
|
|
21 <th>DC-map</th>
|
|
22 </tr>
|
3
|
23 <tr tal:repeat="idx python:range(0,30)">
|
1
|
24 <td valign="top">
|
|
25 <input type="text" tal:attributes="name string:field_$idx" size="10" />
|
|
26 </td>
|
|
27 <td valign="top">
|
|
28 <input type="text" tal:attributes="name string:label_$idx" size="20" />
|
|
29 </td>
|
|
30 <td valign="top">
|
|
31 <textarea rows="10" cols="40" tal:attributes="name string:explanation_$idx" size="20"></textarea>
|
|
32 </td>
|
|
33 <td valign="top">
|
|
34 <input type="checkbox" tal:attributes="name string:status_$idx" value="optional" checked="checked" />
|
|
35 </td>
|
|
36 <td valign="top">
|
|
37 <textarea rows="10" cols="15" tal:attributes="name string:valuelist_$idx" size="20"></textarea>
|
|
38 </td>
|
|
39 <td valign="top">
|
|
40 <input type="text" tal:attributes="name string:dcmap_$idx" size="10" />
|
|
41 </td>
|
|
42 </tr>
|
|
43 </table>
|
|
44 <input type="submit" value="Add"><br />
|
|
45 </form>
|