Add backload

This commit is contained in:
2016-11-17 15:02:29 -05:00
parent eeacfebec9
commit a3b8b7a881
263 changed files with 29788 additions and 18 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
@inherits Umbraco.Web.Mvc.UmbracoTemplatePage
@inherits UmbracoTemplatePage
@{
Layout = "Master.cshtml";
}
+1 -1
View File
@@ -1,4 +1,4 @@
@inherits Umbraco.Web.Mvc.UmbracoTemplatePage
@inherits UmbracoTemplatePage
@{
Layout = "Master.cshtml";
}
+1 -1
View File
@@ -1,4 +1,4 @@
@inherits Umbraco.Web.Mvc.UmbracoTemplatePage
@inherits UmbracoTemplatePage
@{
Layout = "Master.cshtml";
}
+37
View File
@@ -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">&nbsp;</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>
+3 -2
View File
@@ -24,6 +24,7 @@
<link rel="stylesheet" type="text/css" href="/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="/css/site.css">
<link rel="stylesheet" type="text/css" href="/css/style.css">
@RenderSection("Styles", false)
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
@@ -58,7 +59,6 @@
</header>
@RenderBody()
@RenderSection("Form", false)
<footer class="field dark">
<div class="container">
@@ -73,6 +73,7 @@
<!-- Javascripts -->
<script src="/js/jquery.min.js"></script>
<script src="/js/bootstrap.min.js"></script>
<script src="/scripts/site.js"></script>
<script src="/scripts/site.js"></script>
@RenderSection("Scripts", false)
</body>
</html>
+23 -2
View File
@@ -1,6 +1,27 @@
@inherits Umbraco.Web.Mvc.UmbracoTemplatePage
@inherits UmbracoTemplatePage
@{
Layout = "Master.cshtml";
}
@CurrentPage.GetGridHtml("content", "fanoe")
@section Styles
{
@Styles.Render("~/backload/blueimp/bootstrap/BasicPlusUI/css")
}
@CurrentPage.GetGridHtml("content", "fanoe")
@section Scripts
{
<!-- Scripts for the jQquery File Upload Plugin in Basic Plus UI style* -->
@Scripts.Render("~/backload/blueimp/bootstrap/BasicPlusUI")
<!-- jQuery autocomplete* -->
@Scripts.Render("~/bundles/autocomplete")
<!-- The application script -->
<script src="/Scripts/LeafInput.js"></script>
<script type="text/javascript">
initFileUpload("@Session.SessionID");
$('input#SiteId').autocomplete({
serviceUrl: '/FluxnetSite/Autocomplete'
});
</script>
}
+3 -2
View File
@@ -13,8 +13,9 @@
<add namespace="System.Web.Mvc" />
<add namespace="System.Web.Mvc.Ajax" />
<add namespace="System.Web.Mvc.Html" />
<add namespace="System.Web.Routing" />
<add namespace="Umbraco.Web" />
<add namespace="System.Web.Optimization"/>
<add namespace="System.Web.Routing" />
<add namespace="Umbraco.Web" />
<add namespace="Umbraco.Core" />
<add namespace="Umbraco.Core.Models" />
<add namespace="Umbraco.Web.Mvc" />