Initial commit
This commit is contained in:
27
Groceries/Common/_Layout.cshtml
Normal file
27
Groceries/Common/_Layout.cshtml
Normal file
@ -0,0 +1,27 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="color-scheme" content="light dark" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Groceries@(ViewBag.Title != null ? Html.Raw($" – {ViewBag.Title}") : "")</title>
|
||||
<link rel="stylesheet" type="text/css" href="/css/main.css" asp-append-version="true" data-turbo-track="reload" />
|
||||
<script type="module" src="/js/main.js" asp-append-version="true" data-turbo-track="reload"></script>
|
||||
<script type="module" src="/lib/hotwired/turbo/dist/turbo.es2017-esm.js"></script>
|
||||
|
||||
@RenderSection("head", required: false)
|
||||
</head>
|
||||
<body>
|
||||
<partial name="_LayoutSidebar" />
|
||||
|
||||
<main class="main-content">
|
||||
@*<turbo-frame id="main" target="_top">*@
|
||||
@RenderBody()
|
||||
@*</turbo-frame>*@
|
||||
</main>
|
||||
|
||||
<dialog class="modal" data-controller="modal" data-action="turbo:frame-load->modal#open turbo:before-cache@document->modal#close popstate@window->modal#close">
|
||||
<turbo-frame id="modal" data-modal-target="frame"></turbo-frame>
|
||||
</dialog>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user