Leaf Input and Submit
This commit is contained in:
@@ -16,16 +16,20 @@
|
||||
<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>
|
||||
<div class="col-lg-6 pull-right">
|
||||
<span class="pull-right"> Select all <input type="checkbox" class="toggle"></span>
|
||||
<button type="button" class="btn btn-default delete pull-right">
|
||||
<i class="glyphicon glyphicon-trash"></i>
|
||||
<span>Delete</span>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<!-- The global progress state -->
|
||||
<div class="col-lg-7 fileupload-progress fade">
|
||||
<div class="col-lg-12 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>
|
||||
@@ -42,18 +46,18 @@
|
||||
@using (Html.BeginUmbracoForm("Submit", "LeafInput", FormMethod.Post))
|
||||
{
|
||||
@Html.EditorFor(m => m.PhotosynthesisType)
|
||||
@*@Html.EditorFor(m => m.Identifier)
|
||||
@Html.EditorFor(m => m.SiteId)*@
|
||||
@Html.EditorFor(m => m.Identifier)
|
||||
@Html.EditorFor(m => m.SiteId)
|
||||
@Html.EditorFor(m => m.Name)
|
||||
@*@Html.EditorFor(m => m.Email)
|
||||
@Html.EditorFor(m => m.EmailConfirm)*@
|
||||
<input type="submit" id="submit-form" class="hidden" />}
|
||||
@Html.EditorFor(m => m.Email)
|
||||
@Html.EditorFor(m => m.EmailConfirm)
|
||||
<input type="submit" id="submit-form" class="hidden"/>
|
||||
}
|
||||
<label for="submit-form" class="btn btn-primary pull-right">Submit...</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- The template to display files available for upload -->
|
||||
<script id="template-upload" type="text/x-tmpl">
|
||||
{% for (var i=0, file; file=o.files[i]; i++) { %}
|
||||
@@ -123,6 +127,5 @@
|
||||
</tr>
|
||||
{% } %}
|
||||
|
||||
</script>
|
||||
|
||||
<script src="~/scripts/LeafInputCreate.js"></script>
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user