annotate zpt/staff/pubman/add_publications.zpt @ 170:485bf377913a

fix staff editing pages.
author casties
date Fri, 07 Jun 2013 16:29:34 +0200
parents 33c663a08025
children 81a8177ca354
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
47
225179dfd892 getPublications erweitert nach Typ
dwinter
parents:
diff changeset
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
225179dfd892 getPublications erweitert nach Typ
dwinter
parents:
diff changeset
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
225179dfd892 getPublications erweitert nach Typ
dwinter
parents:
diff changeset
3 <html metal:use-macro="here/mainEditFile/macros/page">
225179dfd892 getPublications erweitert nach Typ
dwinter
parents:
diff changeset
4 <body>
170
485bf377913a fix staff editing pages.
casties
parents: 73
diff changeset
5 <tal:block metal:fill-slot="navsel" tal:define="global menusel string:publications" />
47
225179dfd892 getPublications erweitert nach Typ
dwinter
parents:
diff changeset
6
170
485bf377913a fix staff editing pages.
casties
parents: 73
diff changeset
7 <tal:block metal:fill-slot="body">
485bf377913a fix staff editing pages.
casties
parents: 73
diff changeset
8 <h3>Search publication to select</h3>
485bf377913a fix staff editing pages.
casties
parents: 73
diff changeset
9 <form action="" method="post">
485bf377913a fix staff editing pages.
casties
parents: 73
diff changeset
10 <input type="hidden" name="method" value="search" />
485bf377913a fix staff editing pages.
casties
parents: 73
diff changeset
11 <table>
485bf377913a fix staff editing pages.
casties
parents: 73
diff changeset
12 <tr>
485bf377913a fix staff editing pages.
casties
parents: 73
diff changeset
13 <td>Author/Editor</td>
485bf377913a fix staff editing pages.
casties
parents: 73
diff changeset
14 <td><input type="text" size="30" name="author" /></td>
485bf377913a fix staff editing pages.
casties
parents: 73
diff changeset
15 </tr>
485bf377913a fix staff editing pages.
casties
parents: 73
diff changeset
16 <tr>
485bf377913a fix staff editing pages.
casties
parents: 73
diff changeset
17 <td>Title</td>
485bf377913a fix staff editing pages.
casties
parents: 73
diff changeset
18 <td><input type="text" size="30" name="title" /></td>
485bf377913a fix staff editing pages.
casties
parents: 73
diff changeset
19 </tr>
485bf377913a fix staff editing pages.
casties
parents: 73
diff changeset
20 <tr>
485bf377913a fix staff editing pages.
casties
parents: 73
diff changeset
21 <td>Somewhere in the metadata</td>
485bf377913a fix staff editing pages.
casties
parents: 73
diff changeset
22 <td><input type="text" size="30" name="any" /></td>
485bf377913a fix staff editing pages.
casties
parents: 73
diff changeset
23 </tr>
485bf377913a fix staff editing pages.
casties
parents: 73
diff changeset
24 </table>
485bf377913a fix staff editing pages.
casties
parents: 73
diff changeset
25 <p>
485bf377913a fix staff editing pages.
casties
parents: 73
diff changeset
26 <input type="submit" value="Search" />
485bf377913a fix staff editing pages.
casties
parents: 73
diff changeset
27 </p>
485bf377913a fix staff editing pages.
casties
parents: 73
diff changeset
28 </form>
47
225179dfd892 getPublications erweitert nach Typ
dwinter
parents:
diff changeset
29
170
485bf377913a fix staff editing pages.
casties
parents: 73
diff changeset
30 <div tal:condition="python:options.has_key('values')">
485bf377913a fix staff editing pages.
casties
parents: 73
diff changeset
31 <form action="" method="post">
485bf377913a fix staff editing pages.
casties
parents: 73
diff changeset
32 <input type="hidden" name="method" value="add" />
485bf377913a fix staff editing pages.
casties
parents: 73
diff changeset
33 <h3>Select publication(s) to add</h3>
485bf377913a fix staff editing pages.
casties
parents: 73
diff changeset
34 <table>
485bf377913a fix staff editing pages.
casties
parents: 73
diff changeset
35 <tr tal:repeat="entry python:options['values'].items()">
485bf377913a fix staff editing pages.
casties
parents: 73
diff changeset
36 <td><input type="checkbox" value="add" tal:attributes="name python:entry[0]" /></td>
485bf377913a fix staff editing pages.
casties
parents: 73
diff changeset
37 <td><tal:x tal:replace="structure python:entry[1]" /></td>
485bf377913a fix staff editing pages.
casties
parents: 73
diff changeset
38 </tr>
485bf377913a fix staff editing pages.
casties
parents: 73
diff changeset
39 </table>
485bf377913a fix staff editing pages.
casties
parents: 73
diff changeset
40 <p>
485bf377913a fix staff editing pages.
casties
parents: 73
diff changeset
41 <input type="submit" value="Add to selected publications" />
485bf377913a fix staff editing pages.
casties
parents: 73
diff changeset
42 </p>
485bf377913a fix staff editing pages.
casties
parents: 73
diff changeset
43 <p>
485bf377913a fix staff editing pages.
casties
parents: 73
diff changeset
44 <a tal:attributes="href string:$root/editPublications">Back to publication list</a>
485bf377913a fix staff editing pages.
casties
parents: 73
diff changeset
45 </p>
485bf377913a fix staff editing pages.
casties
parents: 73
diff changeset
46 </form>
47
225179dfd892 getPublications erweitert nach Typ
dwinter
parents:
diff changeset
47
170
485bf377913a fix staff editing pages.
casties
parents: 73
diff changeset
48 </div>
485bf377913a fix staff editing pages.
casties
parents: 73
diff changeset
49 </tal:block>
47
225179dfd892 getPublications erweitert nach Typ
dwinter
parents:
diff changeset
50 </body>
225179dfd892 getPublications erweitert nach Typ
dwinter
parents:
diff changeset
51 </html>