Add backload
This commit is contained in:
@@ -4,6 +4,41 @@
|
||||
<div class="row">
|
||||
<div class="col-md-7 well">
|
||||
@Html.Partial("_ValidationSummary")
|
||||
|
||||
<form id="fileupload" action="/Backload/FileHandler" method="POST" enctype="multipart/form-data">
|
||||
<label class="control-label">Files</label>
|
||||
<!-- The fileupload-buttonbar contains buttons to add/delete files and start/cancel the upload -->
|
||||
<div class="row fileupload-buttonbar">
|
||||
<div class="col-lg-5">
|
||||
<!-- The fileinput-button span is used to style the file input field as button -->
|
||||
<span class="btn btn-default fileinput-button">
|
||||
<i class="glyphicon glyphicon-plus"></i>
|
||||
<span>Add files...</span>
|
||||
<input type="file" name="files[]" multiple>
|
||||
</span>
|
||||
<button type="button" class="btn btn-default delete">
|
||||
<i class="glyphicon glyphicon-trash"></i>
|
||||
<span>Delete</span>
|
||||
</button>
|
||||
<input type="checkbox" class="toggle">
|
||||
<!-- The global file processing state -->
|
||||
<span class="fileupload-process"></span>
|
||||
</div>
|
||||
<!-- The global progress state -->
|
||||
<div class="col-lg-7 fileupload-progress fade">
|
||||
<!-- The global progress bar -->
|
||||
<div class="progress progress-striped active" role="progressbar" aria-valuemin="0" aria-valuemax="100">
|
||||
<div class="progress-bar progress-bar-success" style="width: 0%;"></div>
|
||||
</div>
|
||||
<!-- The extended global progress state -->
|
||||
@*<div class="progress-extended"> </div>*@
|
||||
</div>
|
||||
</div>
|
||||
@Html.Partial("_ValidationField", "Files")
|
||||
<!-- The table listing the files available for upload/download -->
|
||||
<table role="presentation" class="table table-striped panel panel-default"><tbody class="files"></tbody></table>
|
||||
</form>
|
||||
|
||||
@using (Html.BeginUmbracoForm("Submit", "LeafInput", FormMethod.Post))
|
||||
{
|
||||
@Html.EditorFor(m => m.PhotosynthesisType)
|
||||
@@ -89,3 +124,5 @@
|
||||
{% } %}
|
||||
|
||||
</script>
|
||||
|
||||
<script src="~/scripts/LeafInputCreate.js"></script>
|
||||
Reference in New Issue
Block a user