The next generation of the Teknik Services. Written in ASP.NET. https://www.teknik.io/
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.

_Navbar.cshtml 2.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. @model Teknik.ViewModels.ViewModelBase
  2. <div class="navbar navbar-default navbar-fixed-top">
  3. <div class="container">
  4. <div class="navbar-header">
  5. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
  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="@Url.SubRouteUrl("www", "Home.Index")"><img src="/Images/logo-black.svg" height="20" alt="Teknik"></a>
  11. </div>
  12. <div class="navbar-collapse collapse">
  13. <ul class="nav navbar-nav">
  14. <li><a href="@Url.SubRouteUrl("www", "Home.Index")">Home</a></li>
  15. <li><a href="@Url.SubRouteUrl("about", "About.Index")">About</a></li>
  16. <li class="divider-vertical"></li>
  17. <li class="dropdown">
  18. <a href="#" id="services_menu" class="dropdown-toggle" data-toggle="dropdown">Services <strong class="caret"></strong></a>
  19. <ul class="dropdown-menu" role="menu" aria-labelledby="services_menu">
  20. <li>
  21. <a href="@Url.SubRouteUrl("blog", "Blog.Blog", new { username = string.Empty })">Blog</a>
  22. </li>
  23. <li>
  24. <a href="@Url.SubRouteUrl("podcast", "Podcast.Index")">Podcast</a>
  25. </li>
  26. <li class="divider"></li>
  27. <li>
  28. <a href="@Url.SubRouteUrl("upload", "Upload.Index")">Upload</a>
  29. </li>
  30. <li>
  31. <a href="@Url.SubRouteUrl("paste", "Paste.Index")">Paste</a>
  32. </li>
  33. <li>
  34. <a href="@Url.SubRouteUrl("git", "Git.Index")">Git</a>
  35. </li>
  36. <li>
  37. <a href="@Url.SubRouteUrl("mail", "Mail.Index")" target="_blank">Mail</a>
  38. </li>
  39. <li>
  40. <a href="mumble://mumble.@(Model.Config.Host):64738/?version=1.2.5" target="_blank">Mumble</a>
  41. </li>
  42. <li class="divider"></li>
  43. <li>
  44. <a href="@Url.SubRouteUrl("ricehalla", "Ricehalla.Index")">Ricehalla</a>
  45. </li>
  46. </ul>
  47. </li>
  48. <li>
  49. <a href="@Url.SubRouteUrl("contact", "Contact.Index")">Contact</a>
  50. </li>
  51. <li>
  52. <a href="@Url.SubRouteUrl("help", "Help.Index")">Help</a>
  53. </li>
  54. </ul>
  55. @Html.Partial("_LoginPartial")
  56. </div>
  57. </div>
  58. </div>