source: trunk/grails-app/views/publication/add.gsp @ 959

Last change on this file since 959 was 959, checked in by j.a.m.wesbeek@…, 10 years ago
  • set keyword expansion
  • Property svn:keywords set to Author Date Rev
File size: 1.5 KB
Line 
1
2<%@ page import="dbnp.studycapturing.Publication" %>
3<%
4    /**
5     * Form to add publications based on PubMed articles
6     *
7     * @author Robert Horlings
8     * @since 20100526
9     * @see dbnp.studycapturing.PublicationController
10     *
11     * Revision information:
12     * $Rev: 959 $
13     * $Author: j.a.m.wesbeek@umail.leidenuniv.nl $
14     * $Date: 2010-10-20 19:13:14 +0000 (wo, 20 okt 2010) $
15     */
16%>
17<%@ page contentType="text/html;charset=UTF-8" %>
18<html>
19 <head>
20  <meta name="layout" content="dialog"/>
21  <script type="text/javascript" src="${resource(dir: 'js', file: 'publication-chooser.js')}"></script>
22  <script type="text/javascript" src="${resource(dir: 'js', file: 'publication-chooser.pubmed.js')}"></script>
23  <script type="text/javascript" src="${resource(dir: 'js', file: 'publication-chooser.programminglanguages.js')}"></script>
24  <script type="text/javascript">
25    PublicationChooser.prototype.availableDBs[ "pubmed" ].select = selectPubMedAdd;
26    PublicationChooser.prototype.availableDBs[ "pubmed" ].close  = closePubMedAdd;
27</script>
28 </head>
29 <body>
30   <p>
31     Search for a publication on pubmed. You can search on a part of the title or authors.
32   </p>
33   <g:form action="createFromPubmed">
34    <g:textField name="publication" rel="publication-pubmed" style="width:500px;"/>
35    <!-- <g:submitButton name="add" value="Add publication" /> -->
36   </g:form>
37
38 ${errors}
39 ${message}
40
41 <script type="text/javascript">
42$(document).ready(function() {
43  // initialize the ontology chooser
44  PublicationChooser.init();
45});
46 </script>
47 </body>
48</html>
Note: See TracBrowser for help on using the repository browser.