Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed topbar for Bootstrap 2.0

  • Loading branch information...
commit 7db146afc0ae1d7f1efbf05f606a4c7cd4709a77 1 parent 3a8842f
@RyannosaurusRex authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 ShoelaceMVC-Project/ShoelaceMVC/Views/Shared/_Topbar.cshtml
View
6 ShoelaceMVC-Project/ShoelaceMVC/Views/Shared/_Topbar.cshtml
@@ -1,6 +1,6 @@
<!-- Topbar -->
-<div class="topbar" >
- <div class="topbar-inner">
+<div class="navbar navbar-fixed-top" >
+ <div class="navbar-inner">
<div class="container">
<a class="brand" href="/"> ShoelaceMVC</a>
<ul class="nav">
@@ -9,7 +9,7 @@
<li @if (ViewBag.NavActive == "About")
{<text>class="active"</text>}>@Html.ActionLink("About", "About", "Home")</li>
</ul>
- <ul class="nav secondary-nav">@if(Request.IsAuthenticated) {<li style="padding-top:5px">@Microsoft.Web.Helpers.Gravatar.GetHtml( ShoelaceMVC.Membership.CodeFirstSecurity.GetUserEmail(User.Identity.Name), 30)</li>
+ <ul class="nav pull-right">@if(Request.IsAuthenticated) {<li style="padding-top:5px">@Microsoft.Web.Helpers.Gravatar.GetHtml( ShoelaceMVC.Membership.CodeFirstSecurity.GetUserEmail(User.Identity.Name), 30)</li>
<li class="dropdown" data-dropdown="dropdown">
<a class="dropdown-toggle" href="#">@User.Identity.Name</a>
<ul class="dropdown-menu">
Please sign in to comment.
Something went wrong with that request. Please try again.