Fix LOTS of navbar bugs.

This commit is contained in:
Michael 2017-05-18 20:42:58 -04:00
parent 7805d69917
commit cb9e12c980

View file

@ -9,7 +9,6 @@
@Html.AntiForgeryToken()
<ul class="nav navbar-nav navbar-right" style="margin-right:15px;">
<li>@Html.NewestUser()</li>
<li><a href="@Url.Action("ViewUnread", "Forum")"><span class="glyphicon glyphicon-star-empty"></span> @ACL.UnreadPostsCount(User.Identity.Name) unread posts</a></li>
<li id="notification_body" class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle"><span class="glyphicon glyphicon-bullhorn"></span> <strong id="notification_count">@Html.NotificationCount(User.Identity.GetUserId())</strong></a>
<ul class="dropdown-menu">
@ -49,10 +48,4 @@ else
<li>@Html.ActionLink("Register", "Register", "Account", routeValues: null, htmlAttributes: new { id = "registerLink" })</li>
<li>@Html.ActionLink("Log in", "Login", "Account", routeValues: null, htmlAttributes: new { id = "loginLink" })</li>
</ul>
}
@using (Html.BeginForm("Search", "Home", FormMethod.Post, new { @class = "navbar-form navbar-right" }))
{
<input type="text" name="query" class="form-control navbar-search" />
<input type="submit" value="Search" class="btn btn-default" />
}
}