Added HttpException class for missing HttpException for net8 Wrapped HttpContext.Session, GetJsonResult, IsAjaxRequest and GetUserIdentityName in controllers for net8 Added AuthenticationService to test Fab2ApprovalMKLink code for net8 Compile conditionally flags to debug in dotnet core
70 lines
2.7 KiB
Plaintext
70 lines
2.7 KiB
Plaintext
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<title>@ViewBag.Title - Mesa Approval</title>
|
|
@Styles.Render("~/Content/kendo/css")
|
|
@Styles.Render("~/Content/css")
|
|
@*@Styles.Render("~/Content/jqw/css")*@
|
|
|
|
|
|
@Scripts.Render("~/bundles/modernizr")
|
|
@Scripts.Render("~/bundles/jquery")
|
|
@Scripts.Render("~/bundles/kendo")
|
|
|
|
|
|
@*<script src="~/Scripts/bootstrap.js"></script>
|
|
<script src="~/Scripts/respond.js"></script>*@
|
|
@Scripts.Render("~/bundles/bootstrap")
|
|
@*@Scripts.Render("~/Content/jqw/jq")*@
|
|
<script src="~/Scripts/excel-bootstrap-table-filter-bundle.js"></script>
|
|
<script src="~/Scripts/moment.js"></script>
|
|
<link rel="stylesheet" href="~/Content/excel-bootstrap-table-filter-style.css" />
|
|
</head>
|
|
<body class="navbar-inner">
|
|
<div class=" navbar navbar-inverse navbar-fixed-top">
|
|
<div >
|
|
<div class="navbar-header">
|
|
@if (Request.IsAuthenticated) {
|
|
@*@Html.ActionLink("Home", "Index", "Home", new { tabName = "MyTasks" }, new { @class = "navbar-brand" })*@
|
|
@Html.ActionLink("Home", "MyTasks", "Home", null, new { @class = "navbar-brand" })
|
|
}
|
|
</div>
|
|
<div class="navbar-collapse collapse">
|
|
<ul class="nav navbar-nav">
|
|
@if (@GlobalVars.IsAdmin(Session))
|
|
{
|
|
<li>@Html.ActionLink("Admin", "Index", "Admin")</li>
|
|
}
|
|
</ul>
|
|
@Html.Partial("_LoginPartial")
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@(Html.Kendo().Menu()
|
|
.Name("menu")
|
|
.HtmlAttributes(new { style = "width:100%; font-size: 12px" })
|
|
.Items(menu =>
|
|
{
|
|
menu.Add().Text("Manage Users").Action("Index", "Admin");
|
|
menu.Add().Text("Manage Roles").Action("AssignRoles", "Admin");
|
|
menu.Add().Text("Manage Training Groups").Action("ManageTrainingGroups", "Admin");
|
|
menu.Add().Text("View All ECN Trainings").Action("ViewTrainings", "Training");
|
|
menu.Add().Text("Job Scheduler Configuration").Action("JobSchedulerConfiguration", "Admin");
|
|
}))
|
|
<div>
|
|
@RenderBody()
|
|
@*<hr />*@
|
|
<footer >
|
|
<p>© @DateTime.Now.Year - Infineon Technologies</p>
|
|
</footer>
|
|
</div>
|
|
|
|
|
|
|
|
@RenderSection("scripts", required: false)
|
|
</body>
|
|
</html>
|