Socio, esto furula
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
linuxct
2020-07-14 12:15:44 +02:00
parent 0da67c4717
commit 7ef04f118b
14 changed files with 373 additions and 54 deletions

View File

@ -1,8 +1,21 @@
@{
ViewData["Title"] = "Home Page";
@using Microsoft.AspNetCore.Mvc.Rendering
@model HomeViewModel
@{
ViewData["Title"] = "Upload page";
}
<div class="text-center">
<h1 class="display-4">Welcome</h1>
<p>Learn about <a href="https://docs.microsoft.com/aspnet/core">building Web apps with ASP.NET Core</a>.</p>
<h4>Escoge el CSV a parsear</h4>
<br/>
@using (Html.BeginForm("UploadCSV", "Home", FormMethod.Post, new {id = "loginForm", enctype = "multipart/form-data"}))
{
@Html.AntiForgeryToken()
<div class="form-group">
<label asp-for="@Model.FileAttach"></label>
<input asp-for="@Model.FileAttach" type="file">
<span asp-validation-for="@Model.FileAttach"></span>
</div>
<input class="btn btn-outline-primary" type="submit"/>
}
</div>