upload.html
1 <#include "/skin/plugins/asynchronousupload/upload_commons.html" />
2 <form onsubmit="return validateForm(this);" class="form" action="jsp/site/Portal.jsp" method="post" enctype="multipart/form-data">
3
4 <input type="hidden" name="page" value="ideation">
5 <input type="hidden" name="action" value="upload">
6
7 <div class="alert alert-warning warn">
8 <i class="fa fa-exclamation-circle"></i>
9 #i18n{participatoryideation.submit_project.steps.upload.warning}
10 </div>
11
12 <div class="row">
13
14 <div class="col-xs-12 col-sm-6">
15 <p class="form-control-static"><img src="images/local/skin/images.png" title="" alt=""> <strong>#i18n{participatoryideation.submit_project.steps.upload.image_label}</strong></p>
16 <div class="form-group">
17 <@addFileInputAndfilesBox fieldName="imgs" handler=handler listUploadedFiles=imgs inputCssClass='form-control' multiple=false/>
18 </div>
19 </div>
20
21 <div class="col-xs-12 col-sm-6">
22 <p class="form-control-static"><img src="images/local/skin/doc.png" title="" alt=""> <strong>#i18n{participatoryideation.submit_project.steps.upload.doc_label}</strong></p>
23 <div class="form-group">
24 <@addFileInputAndfilesBox fieldName="docs" handler=handler listUploadedFiles=docs inputCssClass='form-control' multiple=true/>
25 </div>
26 </div>
27
28 </div>
29
30 <div class="row">
31 <div class="col-xs-12 col-sm-12">
32 <div class="form-group">
33 <label class="checkbox-inline" for="accept_exploit">
34 <input name="accept_exploit" id="accept_exploit" value ="true" type="checkbox" <#if form_etape_upload.acceptExploit??&&form_etape_upload.acceptExploit=="true">checked="checked"</#if>>#i18n{participatoryideation.submit_project.steps.upload.accept_exploit}
35 </label>
36 </div>
37 </div>
38 </div>
39
40 <div class="row">
41 <div class="col-xs-12 col-sm-12">
42 <div id="confirm" class="form-button text-center">
43 <button type="submit" value="Continuer" class="btn btn-14rem btn-black-on-white">
44 #i18n{participatoryideation.submit_project.steps.upload.submit}
45 <i class="fa fa-angle-down"></i>
46 </button>
47 </div>
48 </div>
49 </div>
50
51 </form>
52
53 <script type="text/javascript" src="jsp/site/plugins/asynchronousupload/GetMainUploadJs.jsp?handler=ideationProposalUploadHandler" ></script>