You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
1.6 KiB

11 years ago
11 years ago
  1. <nav class="navbar navbar-fixed-top" role="navigation">
  2. <div class="container">
  3. <div class="navbar-header">
  4. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#collapse">
  5. <span class="sr-only">Toggle navigation</span>
  6. <span class="icon-bar"></span>
  7. <span class="icon-bar"></span>
  8. <span class="icon-bar"></span>
  9. </button>
  10. <a class="navbar-brand" href="#">
  11. <img src="@Url.Content("~/content/images/revert-logo.png")" />
  12. <small>نسخه آزمایشی</small>
  13. </a>
  14. </div>
  15. <div class="collapse navbar-collapse navbar-right" id="collapse">
  16. <ul class="nav navbar-nav navbar-right">
  17. @if (Request.IsAuthenticated) {
  18. <li class="rtl"><a href="@Url.Action("Logout", "Account")">خروج از سایت</a></li>
  19. <li class="rtl"><a href="@Url.Action("MyProfile", "Account")"><span class="glyphicon glyphicon-user"></span> ویرایش پروفایل</a></li>
  20. }
  21. else {
  22. <li class="rtl"><a href="@Url.Action("Login", "Account")">ورود به سایت</a></li>
  23. }
  24. <li class="rtl"><a href="@Url.Action("Index", "Home")"><span class="glyphicon glyphicon-home"></span> @(User.IsInRole("Dovomin") ? "آگهی های استخدام" : "خانه")</a></li>
  25. </ul>
  26. </div>
  27. </div>
  28. </nav>