<%--

    ***************************************************************************
    Copyright (c) 2010 Qcadoo Limited
    Project: Qcadoo MES
    Version: 1.4

    This file is part of Qcadoo.

    Qcadoo is free software; you can redistribute it and/or modify
    it under the terms of the GNU Affero General Public License as published
    by the Free Software Foundation; either version 3 of the License,
    or (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty
    of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    See the GNU Affero General Public License for more details.

    You should have received a copy of the GNU Affero General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
    ***************************************************************************

--%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<%
String ctx = request.getContextPath();
%>

<script src="/basic/public/js/jquery.form.js"></script>
<script src="/basic/public/js/jquery.ui.widget.js"></script>
<script src="/basic/public/js/jquery.iframe-transport.js"></script>
<script src="/basic/public/js/jquery.fileupload.js"></script>
<script src="/basic/public/js/multiuploadforproductfunctions.js"></script>
<script src="/basic/public/js/bootstrap.min.js"></script>

<link href="/basic/public/css/dropzone.css" type="text/css" rel="stylesheet" />



<form id="fileupload" action="../../../rest/basic/multiUploadFilesForProduct.html" method="POST" enctype="multipart/form-data">

    <input type="file" name="files[]" multiple>

    <div id="dropzone">${requestScope.translationsMap['qcadooView.fileupload.dropzone']}</div>

    <div id="maxUploadFileMessage" style="display: none;">${requestScope.translationsMap['qcadooView.errorPage.error.uploadException.maxSizeExceeded.explanation']}</div>

	<div id="progress" class="progress">
        <div class="progress-bar progress-bar-success"> </div>
    </div>

</form>
