Add winery source code
[vfc/nfvo/wfengine.git] / winery / org.eclipse.winery.repository / src / main / webapp / jsp / test.jsp
1 <%--
2 /*******************************************************************************
3  * Copyright (c) 2012-2013 University of Stuttgart.
4  * All rights reserved. This program and the accompanying materials
5  * are made available under the terms of the Eclipse Public License v1.0
6  * and the Apache License 2.0 which both accompany this distribution,
7  * and are available at http://www.eclipse.org/legal/epl-v10.html
8  * and http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Contributors:
11  *    Oliver Kopp - initial API and implementation and/or initial documentation
12  *******************************************************************************/
13 --%>
14 <%@page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
15
16 <%@taglib prefix="t" tagdir="/WEB-INF/tags" %>
17
18 <t:genericpage windowtitle="Test" selected="Admin" cssClass="admin">
19
20 <input id="fileupload" type="file" name="files[]" multiple
21         data-url="/path/to/upload/handler.json"
22         data-sequential-uploads="true"
23         data-form-data='{"script": "true"}'>
24
25 <script>
26 var fu = $("#fileupload");
27 requirejs(["jquery.fileupload"], function() {
28         fu.fileupload({autoUpload:true});
29 });
30 </script>
31
32
33 </t:genericpage>