diff zpt/project/pubman/add_publications.zpt @ 56:a6ace48c2bf2

publication management f?r projekte
author dwinter
date Tue, 30 Apr 2013 18:35:08 +0200
parents
children 64be5db08495
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/zpt/project/pubman/add_publications.zpt	Tue Apr 30 18:35:08 2013 +0200
@@ -0,0 +1,39 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html metal:use-macro="here/edit_template/macros/page">
+<body>
+<tal:block metal:fill-slot="navsel" tal:define="global menusel string:talks" />
+
+<tal:block metal:fill-slot="body" tal:define="yes_no_list python:'yes\nno'">
+  <form action="" method="post">
+  <input type="hidden" name="method" value="search"/>
+ 	<div> Author/Editor: <input type="text" size="30" name="author"/></div>
+ 	<div> Title: <input type="text" size="30" name="title"/></div>
+ 	<div> Somewhere in the metadata: <input type="text" size="30" name="any"/></div>
+ 
+  <input type="submit" value="submit">
+
+  </form>
+
+
+<div tal:condition="python:options.has_key('values')">
+<form action="" method="post">
+  <input type="hidden" name="method" value="add"/>
+
+<table>
+
+
+<tr tal:repeat="entry python:options['values'].items()">
+<td><input type="checkbox" value="add" tal:attributes="name python:entry[0]"/></td>
+<td><tal:x tal:replace="structure python:entry[1]"/></td>
+</tr>
+
+</table>
+<input type="submit" value="submit"/>
+
+</form>
+
+</div>
+</tal:block>
+</body>
+</html>