diff --git a/src/Website/Controllers/MapsController.cs b/src/Website/Controllers/MapsController.cs new file mode 100644 index 0000000..f3d2dac --- /dev/null +++ b/src/Website/Controllers/MapsController.cs @@ -0,0 +1,16 @@ +using Microsoft.AspNetCore.Authorization; +using Microsoft.AspNetCore.Mvc; + +namespace Website.Controllers { + [Authorize] + public class MapsController : Controller { + public IActionResult Index() { + return View(); + } + + [HttpPost] + public IActionResult CreateMap(string name) { + throw new System.NotImplementedException(); + } + } +} \ No newline at end of file diff --git a/src/Website/Views/Maps/Index.cshtml b/src/Website/Views/Maps/Index.cshtml new file mode 100644 index 0000000..22ea120 --- /dev/null +++ b/src/Website/Views/Maps/Index.cshtml @@ -0,0 +1,32 @@ + +@{ + ViewBag.Title = "Maps"; + Layout = "_Layout"; +} + +@section head { + + +} + + + +
+ + + + \ No newline at end of file diff --git a/src/Website/Views/Shared/_Layout.cshtml b/src/Website/Views/Shared/_Layout.cshtml index bdb39d7..cbcfa2f 100644 --- a/src/Website/Views/Shared/_Layout.cshtml +++ b/src/Website/Views/Shared/_Layout.cshtml @@ -14,6 +14,7 @@ + @await RenderSectionAsync("head", false)