2022-04-19 19:43:58 -04:00
|
|
|
<!DOCTYPE html >
|
2021-10-09 22:11:47 -04:00
|
|
|
<html xmlns="http://www.w3.org/1999/html" lang="@ViewBag.Language">
|
2018-02-21 20:29:23 -05:00
|
|
|
<head>
|
2022-04-19 19:43:58 -04:00
|
|
|
<meta charset="utf-8"/>
|
2018-02-21 20:29:23 -05:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
2018-03-13 17:30:22 -04:00
|
|
|
<title>@ViewBag.Title | IW4MAdmin</title>
|
|
|
|
<meta property="og:title" content="@ViewBag.Title | IW4MAdmin">
|
|
|
|
<meta property="og:type" content="website">
|
2018-03-26 00:51:25 -04:00
|
|
|
<meta property="og:image" content="@ViewBag.Url/images/icon.png">
|
2018-03-13 17:30:22 -04:00
|
|
|
<meta property="og:description" content="@ViewBag.Description">
|
|
|
|
<meta property="og:url" content="@ViewBag.Url">
|
|
|
|
<meta name="description" content="@ViewBag.Description">
|
|
|
|
<meta name="keywords" content="@ViewBag.Keywords">
|
2018-04-16 16:31:14 -04:00
|
|
|
<link rel="icon" type="image/png" href="~/images/icon.png">
|
2018-04-09 15:17:10 -04:00
|
|
|
<environment include="Development">
|
2022-04-19 19:43:58 -04:00
|
|
|
<link rel="stylesheet" href="~/lib/halfmoon/css/halfmoon-variables.css"/>
|
|
|
|
<link rel="stylesheet" href="/css/src/main.css"/>
|
2022-04-20 15:46:15 -04:00
|
|
|
<link rel="stylesheet" href="/css/open-iconic.css"/>
|
2018-02-21 20:29:23 -05:00
|
|
|
</environment>
|
2018-04-09 15:17:10 -04:00
|
|
|
<environment include="Production">
|
2022-04-19 23:34:35 -04:00
|
|
|
<link rel="stylesheet" href="~/css/global.min.css?version=@ViewBag.Version"/>
|
2018-02-22 01:06:21 -05:00
|
|
|
</environment>
|
2022-04-20 14:12:42 -04:00
|
|
|
@if (ViewBag.Configuration.WebfrontPrimaryColor is not null)
|
|
|
|
{
|
|
|
|
<style>
|
2022-04-21 13:39:09 -04:00
|
|
|
:root {
|
|
|
|
--blue-color: @ViewBag.Configuration.WebfrontPrimaryColor;
|
|
|
|
}
|
|
|
|
</style>
|
2022-04-20 14:12:42 -04:00
|
|
|
}
|
|
|
|
@if (ViewBag.Configuration.WebfrontSecondaryColor is not null)
|
|
|
|
{
|
|
|
|
<style>
|
2022-04-21 13:39:09 -04:00
|
|
|
:root {
|
|
|
|
--yellow-color: @ViewBag.Configuration.WebfrontSecondaryColor;
|
|
|
|
}
|
|
|
|
</style>
|
2022-04-20 14:12:42 -04:00
|
|
|
}
|
2021-09-16 17:27:40 -04:00
|
|
|
@await RenderSectionAsync("styles", false)
|
2018-02-21 20:29:23 -05:00
|
|
|
</head>
|
2022-04-19 19:43:58 -04:00
|
|
|
<body class="dark-mode with-custom-webkit-scrollbars with-custom-css-scrollbars" data-set-preferred-mode-onload="true">
|
|
|
|
|
2022-04-21 13:39:09 -04:00
|
|
|
<!-- action modal -->
|
2022-04-25 16:52:18 -04:00
|
|
|
<div class="modal" id="actionModal" tabindex="-1" role="dialog" style="z-index: 1000">
|
2022-04-19 19:43:58 -04:00
|
|
|
<div class="modal-dialog" role="document">
|
2022-04-21 13:39:09 -04:00
|
|
|
<div id="modalLoadingBar" class="modal-loading-bar progress-bar position-absolute flex-fill position-fixed z-30" style="display:none">
|
2022-04-19 19:43:58 -04:00
|
|
|
<div class="progress-bar-value"></div>
|
|
|
|
</div>
|
2022-04-21 13:39:09 -04:00
|
|
|
<div class="modal-content p-10">
|
2022-04-19 19:43:58 -04:00
|
|
|
<div class="modal-content">
|
2022-04-28 11:09:25 -04:00
|
|
|
<a href="#" onclick="halfmoon.toggleModal('actionModal')" class="btn close" role="button" aria-label="Close">
|
2022-04-19 19:43:58 -04:00
|
|
|
<span aria-hidden="true">×</span>
|
|
|
|
</a>
|
|
|
|
<div id="actionModalContent">
|
2022-07-05 13:02:43 -04:00
|
|
|
<h4 class="mt-20">@ViewBag.Localization["WEBFRONT_GLOBAL_MODAL_EMPTY"]</h4>
|
2022-04-19 19:43:58 -04:00
|
|
|
</div>
|
2018-02-21 20:29:23 -05:00
|
|
|
</div>
|
2022-04-19 19:43:58 -04:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2019-04-16 12:32:42 -04:00
|
|
|
|
2022-04-21 13:39:09 -04:00
|
|
|
<!-- context modal -->
|
|
|
|
<div class="modal" id="contextModal" tabindex="-1" role="dialog">
|
|
|
|
<div class="modal-dialog" role="document">
|
|
|
|
<div class="modal-loading-bar progress-bar position-absolute flex-fill position-fixed z-30" style="display:none">
|
|
|
|
<div class="progress-bar-value"></div>
|
|
|
|
</div>
|
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-content p-10">
|
2022-04-28 11:09:25 -04:00
|
|
|
<a href="#" onclick="halfmoon.toggleModal('contextModal')" class="btn close" role="button" aria-label="Close">
|
2022-04-21 13:39:09 -04:00
|
|
|
<span aria-hidden="true">×</span>
|
|
|
|
</a>
|
|
|
|
<div id="contextModalContent">
|
|
|
|
<div class="modal-title"></div>
|
|
|
|
<hr/>
|
|
|
|
<div class="modal-body font-size-12"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2022-04-19 19:43:58 -04:00
|
|
|
<div class="page-wrapper with-navbar with-sidebar" data-sidebar-type="overlayed-sm-and-down">
|
|
|
|
<!-- toast notifications -->
|
2022-04-28 11:09:25 -04:00
|
|
|
<div class="sticky-alerts" style="z-index: 1001"></div>
|
2022-04-19 19:43:58 -04:00
|
|
|
<!-- top menu bar -->
|
|
|
|
<nav class="navbar">
|
|
|
|
<button id="toggle-sidebar-btn" class="btn btn-action" type="button" onclick="halfmoon.toggleSidebar()">
|
|
|
|
<i class="oi oi-menu" aria-hidden="true"></i>
|
|
|
|
</button>
|
2018-02-21 20:29:23 -05:00
|
|
|
|
2022-04-19 19:43:58 -04:00
|
|
|
<!-- branding -->
|
|
|
|
<a asp-controller="Home" asp-action="Index" class="navbar-brand mr-20 mr-md-0">
|
|
|
|
<div>@ViewBag.CustomBranding</div>
|
|
|
|
</a>
|
|
|
|
|
|
|
|
<!-- client badges -->
|
|
|
|
<div class="d-none d-md-block">
|
|
|
|
<div class="badge-group ml-20" role="group" aria-label="...">
|
|
|
|
<span class="badge badge-primary">@(ViewBag.ClientCount ?? "-")</span>
|
2022-07-05 13:02:43 -04:00
|
|
|
<span class="badge bg-dark-dm bg-light-lm">@ViewBag.Localization["WEBFRONT_LAYOUT_CLIENTS_ONLINE"]</span>
|
2022-04-19 19:43:58 -04:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<has-permission entity="PrivilegedClientsPage" required-permission="Read">
|
|
|
|
<div class="badge-group ml-10" role="group" aria-label="...">
|
|
|
|
<span class="badge badge-success">@(ViewBag.AdminCount ?? "-")</span>
|
2022-07-05 13:02:43 -04:00
|
|
|
<span class="badge bg-dark-dm bg-light-lm">@ViewBag.Localization["WEBFRONT_LAYOUT_ADMINS_ONLINE"]</span>
|
2018-03-09 03:01:12 -05:00
|
|
|
</div>
|
2022-04-19 19:43:58 -04:00
|
|
|
</has-permission>
|
|
|
|
|
|
|
|
<has-permission entity="AdminMenu" required-permission="Read">
|
2022-07-05 13:02:43 -04:00
|
|
|
<a href="#actionModal" class="profile-action no-decoration" data-action="RecentReports" data-toggle="tooltip" data-title="@ViewBag.Localization["WEBFRONT_MODAL_REPORTS_TOOLTIP_TITLE"]" data-placement="bottom">
|
2022-04-21 13:39:09 -04:00
|
|
|
<div class="badge-group ml-10" role="group">
|
|
|
|
<span class="badge badge-danger">@(ViewBag.ReportCount ?? "-")</span>
|
2022-07-05 13:02:43 -04:00
|
|
|
<span class="badge bg-dark-dm bg-light-lm">@ViewBag.Localization["WEBFRONT_LAYOUT_REPORTS"]</span>
|
2022-04-21 13:39:09 -04:00
|
|
|
</div>
|
|
|
|
</a>
|
2022-04-19 19:43:58 -04:00
|
|
|
</has-permission>
|
2018-03-09 03:01:12 -05:00
|
|
|
</div>
|
2022-04-19 19:43:58 -04:00
|
|
|
|
2022-04-21 13:39:09 -04:00
|
|
|
<div class="d-flex ml-auto">
|
2022-06-11 12:34:00 -04:00
|
|
|
<div class="align-self-center">
|
|
|
|
@await Html.PartialAsync("Partials/_Notifications", (object)ViewBag.Alerts)
|
|
|
|
</div>
|
2022-07-05 13:02:43 -04:00
|
|
|
<div class="btn btn-action mr-10 ml-10" onclick="halfmoon.toggleDarkMode()" data-toggle="tooltip" data-title="@ViewBag.Localization["WEBFRONT_LAYOUT_TOGGLE_DISPLAY"]" data-placement="bottom">
|
2022-04-21 13:39:09 -04:00
|
|
|
<i class="oi oi-moon"></i>
|
|
|
|
</div>
|
|
|
|
<div class="d-none d-md-block ">
|
2023-01-23 17:38:16 -05:00
|
|
|
<partial name="_SearchResourceForm" model="@("Full")"/>
|
2022-04-21 13:39:09 -04:00
|
|
|
</div>
|
|
|
|
<div class="d-flex d-lg-none">
|
2022-04-28 11:09:25 -04:00
|
|
|
<a href="#" onclick="halfmoon.toggleModal('contextMenuModal')">
|
2022-04-21 13:39:09 -04:00
|
|
|
<button class="btn" type="button">
|
|
|
|
<i class="oi oi-ellipses"></i>
|
|
|
|
</button>
|
|
|
|
</a>
|
|
|
|
</div>
|
2022-04-19 19:43:58 -04:00
|
|
|
</div>
|
|
|
|
</nav>
|
|
|
|
|
|
|
|
<partial name="_LeftNavBar"/>
|
|
|
|
|
2018-03-27 00:54:20 -04:00
|
|
|
<div id="target_id">
|
2022-04-19 19:43:58 -04:00
|
|
|
@await RenderSectionAsync("targetid", required: false)
|
2018-03-27 00:54:20 -04:00
|
|
|
</div>
|
2022-04-19 19:43:58 -04:00
|
|
|
|
|
|
|
<div class="container-fluid content-wrapper">
|
|
|
|
<div id="mainLoadingBar" class="progress-bar position-absolute flex-fill position-fixed z-30" style="display: none">
|
|
|
|
<div class="progress-bar-value"></div>
|
|
|
|
</div>
|
2018-02-21 20:29:23 -05:00
|
|
|
@RenderBody()
|
|
|
|
</div>
|
2022-04-19 19:43:58 -04:00
|
|
|
|
|
|
|
</div>
|
|
|
|
<environment include="Development">
|
|
|
|
<script type="text/javascript" src="~/lib/jquery/dist/jquery.js"></script>
|
2022-07-10 18:06:46 -04:00
|
|
|
<script type="text/javascript" src="~/lib/moment.js/min/moment-with-locales.js"></script>
|
2022-04-19 19:43:58 -04:00
|
|
|
<script type="text/javascript" src="~/lib/moment-timezone/moment-timezone.js"></script>
|
|
|
|
<script type="text/javascript" src="~/lib/chart.js/dist/Chart.bundle.min.js"></script>
|
|
|
|
<script type="text/javascript" src="~/lib/halfmoon/js/halfmoon.js"></script>
|
2023-01-23 17:38:16 -05:00
|
|
|
<script type="text/javascript" src="~/lib/vanillajs-datepicker/dist/js/datepicker.js"></script>
|
2022-04-19 19:43:58 -04:00
|
|
|
<script type="text/javascript" src="~/js/action.js"></script>
|
2022-04-28 12:42:23 -04:00
|
|
|
<script type="text/javascript" src="~/js/loader.js"></script>
|
2022-04-19 19:43:58 -04:00
|
|
|
<script type="text/javascript" src="~/js/search.js"></script>
|
|
|
|
</environment>
|
|
|
|
<environment include="Production">
|
|
|
|
<script type="text/javascript" src="~/js/global.min.js?version=@ViewBag.Version"></script>
|
|
|
|
</environment>
|
|
|
|
<script>
|
2019-05-17 10:02:09 -04:00
|
|
|
let _localizationTmp = @Html.Raw(Json.Serialize(ViewBag.Localization));
|
|
|
|
const _localization = [];
|
|
|
|
$.each(_localizationTmp.set, function (key, value) {
|
|
|
|
_localization[key] = value;
|
|
|
|
});
|
2022-07-10 18:06:46 -04:00
|
|
|
moment.locale('@Utilities.CurrentLocalization.LocalizationName');
|
2019-05-17 10:02:09 -04:00
|
|
|
</script>
|
2022-04-19 19:43:58 -04:00
|
|
|
@await RenderSectionAsync("scripts", required: false)
|
|
|
|
@Html.Raw(ViewBag.ScriptInjection)
|
2018-02-21 20:29:23 -05:00
|
|
|
</body>
|
2022-04-19 19:43:58 -04:00
|
|
|
</html>
|