Initial Commit

This commit is contained in:
2020-11-10 21:44:20 +11:00
parent 43e9398507
commit 1aac34878e
44 changed files with 70899 additions and 73 deletions

25
Web/Views/Error.cshtml Normal file
View File

@ -0,0 +1,25 @@
@page
@{
ViewData["Title"] = "Error";
}
<h1 class="text-danger">Error.</h1>
<h2 class="text-danger">An error occurred while processing your request.</h2>
@*
@if (Model.ShowRequestId)
{
<p>
<strong>Request ID:</strong> <code>@Model.RequestId</code>
</p>
}
*@
<h3>Development Mode</h3>
<p>
Swapping to the <strong>Development</strong> environment displays detailed information about the error that occurred.
</p>
<p>
<strong>The Development environment shouldn't be enabled for deployed applications.</strong>
It can result in displaying sensitive information from exceptions to end users.
For local debugging, enable the <strong>Development</strong> environment by setting the <strong>ASPNETCORE_ENVIRONMENT</strong> environment variable to <strong>Development</strong>
and restarting the app.
</p>

View File

@ -0,0 +1,3 @@
@{
ViewData["Title"] = "Home";
}

7
Web/Views/Privacy.cshtml Normal file
View File

@ -0,0 +1,7 @@
@page
@{
ViewData["Title"] = "Privacy Policy";
}
<h1>@ViewData["Title"]</h1>
<p>Use this page to detail your site's privacy policy.</p>

View File

@ -0,0 +1,32 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<link rel="icon"
type="image/png" href="favicon.png"/>
<title>@ViewData["Title"] - Web</title>
@* <link rel="stylesheet" href="/css/bootstrap.min.css"/> *@
@* <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet"> *@
<link rel="stylesheet" href="~/build/bundle.css" asp-append-version="true"/>
@* <link rel="stylesheet" href="~/site.css" asp-append-version="true"/> *@
<environment include="Development">
<script> basePath = ''</script>
</environment>
<environment exclude="Development">
<script> basePath = '@Url.Content("~")'; </script>
</environment>
</head>
<body>
@RenderBody()
<!-- Load the "module" version on browsers that can support it. -->
<script type="module" src="https://unpkg.com/dimport?module" data-main="/build/main.js"></script>
<!-- Load the "nomodule" version on older browsers acts as fallback! -->
<script type="nomodule" nomodule src="https://unpkg.com/dimport/nomodule" data-main="/build/main.js">
</script>
<!-- Old style JS library -->
<!--script type="text/javascript" src="~/dist/bundle.js" asp-append-version="true"></script-->
@RenderSection("scripts", required: false)
</body>
</html>

View File

@ -0,0 +1,2 @@
<script src="~/lib/jquery-validation/dist/jquery.validate.min.js"></script>
<script src="~/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.min.js"></script>

View File

@ -0,0 +1,3 @@
@namespace Web.Pages
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@addTagHelper *, Microsoft.AspNetCore.SpaServices

View File

@ -0,0 +1,3 @@
@{
Layout = "_Layout";
}