46 lines
1.8 KiB
Plaintext
46 lines
1.8 KiB
Plaintext
|
@using Resources
|
||
|
@{
|
||
|
var controller = ViewContext.RouteData.Values["controller"].ToString();
|
||
|
}
|
||
|
@helper actived(string c, string controller)
|
||
|
{
|
||
|
var Clist = c.ToLowerInvariant().Split(',').ToList();
|
||
|
if (Clist.Contains(controller.ToLowerInvariant()))
|
||
|
{
|
||
|
@:active
|
||
|
}
|
||
|
}
|
||
|
<!DOCTYPE html>
|
||
|
|
||
|
<html>
|
||
|
<head>
|
||
|
<meta name="viewport" content="width=device-width" />
|
||
|
<meta http-equiv="cache-control" content="max-age=0" />
|
||
|
<meta http-equiv="cache-control" content="no-cache, no-store, must-revalidate" />
|
||
|
|
||
|
<title>@ViewBag.Title - @Resource.StaticLabelCertificationCompany</title>
|
||
|
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
|
||
|
@RenderSection("PageStyles", required: false)
|
||
|
@Scripts.Render("~/jQuery")
|
||
|
@*@Styles.Render("~/bootstrap/css")*@
|
||
|
@Styles.Render("~/certification/css")
|
||
|
</head>
|
||
|
<body role="document" data-spy="scroll" data-target=".js-scrollspy" data-offset="35"
|
||
|
class="docs-body">
|
||
|
<header class="navbar-fixed-top docs-header">
|
||
|
@RenderPage("~/Areas/Certification/Views/Shared/_CertificationHeader.cshtml")
|
||
|
</header>
|
||
|
<div>
|
||
|
@*<div class="container docs-container">*@
|
||
|
@RenderBody()
|
||
|
</div>
|
||
|
@Scripts.Render("~/bootstrap")
|
||
|
@Scripts.Render("~/setCulture")
|
||
|
@Scripts.Render("~/papaParse")
|
||
|
@RenderSection("PageScripts", required: false)
|
||
|
<script src="https://code.jquery.com/jquery-3.3.1.min.js" crossorigin="anonymous"></script>
|
||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" crossorigin="anonymous"></script>
|
||
|
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" crossorigin="anonymous"></script>
|
||
|
</body>
|
||
|
</html>
|