Brijendra Rawat

Brijendra Rawat

  • NA
  • 27
  • 6.7k

navbar missing.

Jan 16 2020 6:21 PM
i am unable to see navigation bar on area i created from the _Layout.cshtml file.
 
 
my _Layout.cshtml is as follows.
 
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title - Admin Area</title>
@Styles.Render("~/Content/css")
@Scripts.Render("~/bundles/modernizr")
</head>
<body>
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a href="/admin/dashboard" class="navbar-brand">Dashboard</a>
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav">
</ul>
<ul class="navbar-right">
<li><a href="/"class="navbar-brand" target="_blank">CmsShoppingCart</a></li>
</ul>
</div>
</div>
</div>
<div class="container body-content">
@RenderBody()
<hr />
</div>
@Scripts.Render("~/bundles/scripts")
@RenderSection("scripts", required: false)
</body>
</html>
 
 

Answers (1)