yavsc/src/Yavsc/Views/Shared/_Layout.cshtml

48 lines
2.1 KiB
Text
Raw Normal View History

2023-03-27 22:45:16 +01:00
@using Yavsc.Models.Messaging;
<!DOCTYPE html>
2023-03-19 17:57:55 +00:00
<html lang="en">
<head>
<meta charset="utf-8" />
2024-03-04 01:02:19 +00:00
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no" />
2024-11-10 14:30:12 +00:00
<link rel="icon" type="image/x-icon" href="~/favicon.ico" asp-append-version="true"/>
<link rel="shortcut icon" type="image/x-icon" href="~/favicon.ico" asp-append-version="true"/>
2024-12-14 20:21:41 +00:00
<link rel="stylesheet" href="~/lib/jquery-ui/jquery-ui.min.css">
2024-11-10 14:30:12 +00:00
<link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.min.css" asp-append-version="true"/>
<link rel="stylesheet" href="~/css/site.css" asp-append-version="true"/>
2024-12-14 20:21:41 +00:00
<script src="~/lib/jquery-ui/external/jquery/jquery.js"></script>
<script src="~/lib/jquery-ui/jquery-ui.js"></script>
<script src="~/lib/bootstrap/dist/js/bootstrap.bundle.min.js"></script>
<script src="~/js/site.js" asp-append-version="true"></script>
2023-03-27 22:45:16 +01:00
@await RenderSectionAsync("header", false)
2023-03-19 17:57:55 +00:00
</head>
<body>
2024-03-04 01:02:19 +00:00
<partial name="_Nav" />
@RenderSection("ctxmenu", required: false)
@if (ViewData["Notify"] != null)
{
foreach (Notification n in ViewData["Notify"] as IEnumerable<Notification>)
{
<div class="alert alert-info alert-dismissable">
<img src="~/images/Notifications/@(n.icon).png" style="max-height:3em; float: left; margin:1em;" />
<h2 markdown="@n.title"></h2>
<a class="close" data-dismiss="alert" aria-label="close"
onclick="notifClick(@n.Id)">@((n.click_action == null) ? SR["Fermer"] : SR[n.click_action])</a>
<asciidoc>@n.body</asciidoc>
2019-01-01 16:28:47 +00:00
</div>
2023-03-27 22:45:16 +01:00
}
2024-03-04 01:02:19 +00:00
}
2023-03-29 00:43:35 +01:00
@await RenderSectionAsync("subbanner", false)
2024-03-04 01:02:19 +00:00
<div class="container body-container">
@RenderBody()
</div>
2023-03-19 17:57:55 +00:00
<footer class="border-top footer text-muted">
<div class="container">
2024-03-04 01:02:19 +00:00
&copy; 2024 - Yavsc - <a asp-area="" asp-controller="Home" asp-action="Privacy">Privacy</a>
2023-03-19 17:57:55 +00:00
</div>
</footer>
2024-12-14 20:21:41 +00:00
@await RenderSectionAsync("scripts", false)
2024-11-10 14:30:12 +00:00
2023-03-19 17:57:55 +00:00
</body>
2019-01-01 16:28:47 +00:00
</html>