source: vlo/branches/vlo-3.1-vcr/vlo-web-app/src/main/java/eu/clarin/cmdi/vlo/wicket/pages/VirtualCollectionSubmissionPage.html @ 5464

Last change on this file since 5464 was 5464, checked in by Twan Goosen, 10 years ago

Replaced VC submission form panel with a page. Advanced options panel opens the page in a new tab. No auto submission and option to enter a custom collection title.

File size: 2.7 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
3<html xmlns="http://www.w3.org/1999/xhtml" xmlns:wicket="http://wicket.apache.org" xml:lang="en">
4    <!--
5    Copyright (C) 2014 CLARIN
6   
7    This program is free software: you can redistribute it and/or modify
8    it under the terms of the GNU General Public License as published by
9    the Free Software Foundation, either version 3 of the License, or
10    (at your option) any later version.
11   
12    This program is distributed in the hope that it will be useful,
13    but WITHOUT ANY WARRANTY; without even the implied warranty of
14    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15    GNU General Public License for expands.
16   
17    You should have received a copy of the GNU General Public License
18    along with this program.  If not, see <http://www.gnu.org/licenses/>.
19    -->
20
21    <head>
22        <title>CLARIN VLO</title>
23    </head>
24
25    <body>
26
27        <wicket:extend>
28            <div class="content" id="about">
29
30                <h1>Submit search results to the Virtual Collection Registry</h1>
31                <p>
32                    Provide a name for the collection and click the button below
33                    to create a new Virtual Collection of the current search
34                    results (<span wicket:id="itemCount">999</span> metadata
35                    records).
36                    <br />
37                    After submission you will be taken to the editor of the Virtual
38                    Collection where you will be able to further edit the
39                    newly created collection. You may be prompted to login
40                    to the Virtual Collection Registry first.
41                </p>
42
43                <form id="virtualCollectionForm" wicket:id="vcrForm" method="post" name="vcrForm" action="[VCR endpoint]"> 
44                    <fieldset style="border:0px;"> 
45                        <input type="hidden" name="type" value="EXTENSIONAL" />
46
47                        <label for="collectionName">
48                            Collection name:
49                            <input wicket:id="collectionName" type="text" name="name" value="[Collection name]" size="40" /> 
50                        </label>
51
52                        <wicket:container wicket:id="metadataUris">
53                            <input wicket:id="metadataUri" type="hidden" name="metadataUri" value="http://md1" />
54                        </wicket:container>
55                    </fieldset> 
56                    <input type="submit" value="Create collection" />
57                </form> 
58
59            </div>
60        </wicket:extend>
61    </body>
62</html>
Note: See TracBrowser for help on using the repository browser.