diff options
author | Ian C <ianc@noddybox.co.uk> | 2024-03-21 14:54:11 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2024-03-21 14:54:11 +0000 |
commit | 9764af998a4c91196687b8d27693b935a243ab84 (patch) | |
tree | d5f4bf49be0db32f8cfc78a4d76df82be14a2060 /Pages/Shared/_Layout.cshtml |
Initial checkin following project regeneration to make post work
Diffstat (limited to 'Pages/Shared/_Layout.cshtml')
-rw-r--r-- | Pages/Shared/_Layout.cshtml | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/Pages/Shared/_Layout.cshtml b/Pages/Shared/_Layout.cshtml new file mode 100644 index 0000000..86c0cc1 --- /dev/null +++ b/Pages/Shared/_Layout.cshtml @@ -0,0 +1,51 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="utf-8" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> + <title>@ViewData["Title"] - download_admin</title> + <link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.min.css" /> + <link rel="stylesheet" href="~/css/site.css" asp-append-version="true" /> + <link rel="stylesheet" href="~/download_admin.styles.css" asp-append-version="true" /> +</head> +<body> + <header> + <nav class="navbar navbar-expand-sm navbar-toggleable-sm navbar-light bg-white border-bottom box-shadow mb-3"> + <div class="container"> + <a class="navbar-brand" asp-area="" asp-page="/Index">download_admin</a> + <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target=".navbar-collapse" aria-controls="navbarSupportedContent" + aria-expanded="false" aria-label="Toggle navigation"> + <span class="navbar-toggler-icon"></span> + </button> + <div class="navbar-collapse collapse d-sm-inline-flex justify-content-between"> + <ul class="navbar-nav flex-grow-1"> + <li class="nav-item"> + <a class="nav-link text-dark" asp-area="" asp-page="/Index">Home</a> + </li> + <li class="nav-item"> + <a class="nav-link text-dark" asp-area="" asp-page="/Privacy">Privacy</a> + </li> + </ul> + </div> + </div> + </nav> + </header> + <div class="container"> + <main role="main" class="pb-3"> + @RenderBody() + </main> + </div> + + <footer class="border-top footer text-muted"> + <div class="container"> + © 2024 - download_admin - <a asp-area="" asp-page="/Privacy">Privacy</a> + </div> + </footer> + + <script src="~/lib/jquery/dist/jquery.min.js"></script> + <script src="~/lib/bootstrap/dist/js/bootstrap.bundle.min.js"></script> + <script src="~/js/site.js" asp-append-version="true"></script> + + @await RenderSectionAsync("Scripts", required: false) +</body> +</html>
\ No newline at end of file |