-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathupload.html
More file actions
34 lines (33 loc) · 908 Bytes
/
upload.html
File metadata and controls
34 lines (33 loc) · 908 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<div class="padSmall x100">
<h3>Video Uploading</h3>
<div class="inner x100" style="padding-top:40px;padding-bottom:40px;">
<center><label for="filez"><img src="/resources/upload_button.png" style="cursor:pointer;" /></label></center>
</div>
</div>
<div class="padSmall x100" style="display:none;">
<h3>Upload Custom Settings</h3>
<div class="inner x100">
<input type="file" name="stores[]" id="storez" multiple>
</div>
<div class="inner x100">
<div style="float:left;background:#303;height:30px;width:0%;" id="progressstoreUpload"></div>
</div>
</div>
<script>
$(function () {
vc.uploadInit();
$("#storez").html5_upload({
url: function(number) {
return "/xmlupload";
},
extraFields:{
'user':'{{.|user}}',
'session':'{{.|uuid}}',
'store':'disk'
},
setProgress: function(val) {
$("#progressstoreUpload").css({'width':Math.ceil(val*100)+"%"});
},
});
});
</script>