Admin import functional

This commit is contained in:
2014-02-02 10:19:02 -05:00
parent 13c5c6cde5
commit 3ab80e283a
41 changed files with 2809 additions and 101 deletions
+22
View File
@@ -0,0 +1,22 @@
@model MileageTraker.Web.ViewModels.Log.ImportUploadViewModel
@{
ViewBag.Title = "Import Logs";
}
@{ Html.RenderPartial("BackToLogs"); }
@Html.Partial("_StatusMessage")
<h2 class="center-content">@ViewBag.Title</h2>
<p class="center-content">Download the import template: @Html.ActionLink("Excel Template", "ImportTemplate")
</p>
@using (Html.BeginForm("Import", "Log", FormMethod.Post, new { enctype="multipart/form-data", @class = "form-horizontal well center-content", style="max-width:440px"}))
{
@Html.Partial("_ValidationSummary")
@Html.EditorForModel()
<div class="form-actions">
<input type="submit" value="Import" class="btn btn-primary" />
</div>
}