annotate zpt/addMetadataMappingForm.zpt @ 0:9f9d9be26e53

first checkin in Mercurial (see history in SVN)
author casties
date Mon, 25 Jul 2011 16:50:48 +0200
parents
children e4bae49e657b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
9f9d9be26e53 first checkin in Mercurial (see history in SVN)
casties
parents:
diff changeset
1 <html>
9f9d9be26e53 first checkin in Mercurial (see history in SVN)
casties
parents:
diff changeset
2 <body>
9f9d9be26e53 first checkin in Mercurial (see history in SVN)
casties
parents:
diff changeset
3 <h2>Add a Metadata Mapping</h2>
9f9d9be26e53 first checkin in Mercurial (see history in SVN)
casties
parents:
diff changeset
4 <form name="form" action="manage_addMetaDataMapping" method="post">
9f9d9be26e53 first checkin in Mercurial (see history in SVN)
casties
parents:
diff changeset
5 <b> ID: </b><input type="text" name="idOfObject"><br><br>
9f9d9be26e53 first checkin in Mercurial (see history in SVN)
casties
parents:
diff changeset
6 <b> Title (=Reference Type): </b><input type="text" name="titleOfObject"><br><br>
9f9d9be26e53 first checkin in Mercurial (see history in SVN)
casties
parents:
diff changeset
7 <ul>
9f9d9be26e53 first checkin in Mercurial (see history in SVN)
casties
parents:
diff changeset
8 <li> <b>Tag-Name:</b> Should be lower case (e.g. author, number-of-pages, ...)
9f9d9be26e53 first checkin in Mercurial (see history in SVN)
casties
parents:
diff changeset
9 <li> <b>Label: </b> Human readable name for displaying purposes (Author, Number of Pages, ...)
9f9d9be26e53 first checkin in Mercurial (see history in SVN)
casties
parents:
diff changeset
10 <li> <b>Explanation:</b> Should contain a help text, what and how to enter in this field. Can contain HTML tags.
9f9d9be26e53 first checkin in Mercurial (see history in SVN)
casties
parents:
diff changeset
11 </ul>
9f9d9be26e53 first checkin in Mercurial (see history in SVN)
casties
parents:
diff changeset
12 <table border=1>
9f9d9be26e53 first checkin in Mercurial (see history in SVN)
casties
parents:
diff changeset
13 <tr>
9f9d9be26e53 first checkin in Mercurial (see history in SVN)
casties
parents:
diff changeset
14 <th>
9f9d9be26e53 first checkin in Mercurial (see history in SVN)
casties
parents:
diff changeset
15 Tag-Name
9f9d9be26e53 first checkin in Mercurial (see history in SVN)
casties
parents:
diff changeset
16 </th>
9f9d9be26e53 first checkin in Mercurial (see history in SVN)
casties
parents:
diff changeset
17 <th>
9f9d9be26e53 first checkin in Mercurial (see history in SVN)
casties
parents:
diff changeset
18 Label
9f9d9be26e53 first checkin in Mercurial (see history in SVN)
casties
parents:
diff changeset
19 </th>
9f9d9be26e53 first checkin in Mercurial (see history in SVN)
casties
parents:
diff changeset
20 <th>
9f9d9be26e53 first checkin in Mercurial (see history in SVN)
casties
parents:
diff changeset
21 Explanation
9f9d9be26e53 first checkin in Mercurial (see history in SVN)
casties
parents:
diff changeset
22 </th>
9f9d9be26e53 first checkin in Mercurial (see history in SVN)
casties
parents:
diff changeset
23 <th>
9f9d9be26e53 first checkin in Mercurial (see history in SVN)
casties
parents:
diff changeset
24 Optional
9f9d9be26e53 first checkin in Mercurial (see history in SVN)
casties
parents:
diff changeset
25 </th>
9f9d9be26e53 first checkin in Mercurial (see history in SVN)
casties
parents:
diff changeset
26 <th>
9f9d9be26e53 first checkin in Mercurial (see history in SVN)
casties
parents:
diff changeset
27 Valuelist
9f9d9be26e53 first checkin in Mercurial (see history in SVN)
casties
parents:
diff changeset
28 </th>
9f9d9be26e53 first checkin in Mercurial (see history in SVN)
casties
parents:
diff changeset
29 </tr>
9f9d9be26e53 first checkin in Mercurial (see history in SVN)
casties
parents:
diff changeset
30 <tr tal:repeat="field here/getFields">
9f9d9be26e53 first checkin in Mercurial (see history in SVN)
casties
parents:
diff changeset
31 <td valign="top">
9f9d9be26e53 first checkin in Mercurial (see history in SVN)
casties
parents:
diff changeset
32 <b tal:content="field"/>
9f9d9be26e53 first checkin in Mercurial (see history in SVN)
casties
parents:
diff changeset
33 </td>
9f9d9be26e53 first checkin in Mercurial (see history in SVN)
casties
parents:
diff changeset
34 <td valign="top">
9f9d9be26e53 first checkin in Mercurial (see history in SVN)
casties
parents:
diff changeset
35 <input type="text" tal:attributes="name field" size=20>
9f9d9be26e53 first checkin in Mercurial (see history in SVN)
casties
parents:
diff changeset
36 </td>
9f9d9be26e53 first checkin in Mercurial (see history in SVN)
casties
parents:
diff changeset
37 <td valign="top">
9f9d9be26e53 first checkin in Mercurial (see history in SVN)
casties
parents:
diff changeset
38 <input type="text" tal:attributes="name python:'label_'+field" size=20>
9f9d9be26e53 first checkin in Mercurial (see history in SVN)
casties
parents:
diff changeset
39 </td>
9f9d9be26e53 first checkin in Mercurial (see history in SVN)
casties
parents:
diff changeset
40 <td valign="top">
9f9d9be26e53 first checkin in Mercurial (see history in SVN)
casties
parents:
diff changeset
41 <textarea rows="10" cols="40" tal:attributes="name python:'explanation_'+field" size=20></textarea>
9f9d9be26e53 first checkin in Mercurial (see history in SVN)
casties
parents:
diff changeset
42 </td>
9f9d9be26e53 first checkin in Mercurial (see history in SVN)
casties
parents:
diff changeset
43 <td valign="top">
9f9d9be26e53 first checkin in Mercurial (see history in SVN)
casties
parents:
diff changeset
44 <input type="radio" tal:attributes="name python:'status_'+field" value="optional" checked>
9f9d9be26e53 first checkin in Mercurial (see history in SVN)
casties
parents:
diff changeset
45 </td>
9f9d9be26e53 first checkin in Mercurial (see history in SVN)
casties
parents:
diff changeset
46 <td valign="top">
9f9d9be26e53 first checkin in Mercurial (see history in SVN)
casties
parents:
diff changeset
47 <input type="radio" tal:attributes="name python:'status_'+field" value="required">
9f9d9be26e53 first checkin in Mercurial (see history in SVN)
casties
parents:
diff changeset
48 </td>
9f9d9be26e53 first checkin in Mercurial (see history in SVN)
casties
parents:
diff changeset
49 <td valign="top">
9f9d9be26e53 first checkin in Mercurial (see history in SVN)
casties
parents:
diff changeset
50 <textarea rows="10" cols="15" tal:attributes="name python:'values_'+field" size=20></textarea>
9f9d9be26e53 first checkin in Mercurial (see history in SVN)
casties
parents:
diff changeset
51 </td>
9f9d9be26e53 first checkin in Mercurial (see history in SVN)
casties
parents:
diff changeset
52 </tr>
9f9d9be26e53 first checkin in Mercurial (see history in SVN)
casties
parents:
diff changeset
53 </table>
9f9d9be26e53 first checkin in Mercurial (see history in SVN)
casties
parents:
diff changeset
54 <input type="submit" value="Add"><br><br>
9f9d9be26e53 first checkin in Mercurial (see history in SVN)
casties
parents:
diff changeset
55 </form>
9f9d9be26e53 first checkin in Mercurial (see history in SVN)
casties
parents:
diff changeset
56 </body>
9f9d9be26e53 first checkin in Mercurial (see history in SVN)
casties
parents:
diff changeset
57 </html>