navbar.html 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. <meta name="description" content="">
  8. <meta name="author" content="">
  9. <title>Misago UI: Kitchen Sink Navbar Template</title>
  10. <!-- Custom styles for this template -->
  11. <link href="./misago/css/style.css" rel="stylesheet">
  12. <!-- Just for debugging purposes. Don't actually copy this line! -->
  13. <!--[if lt IE 9]><script src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
  14. <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
  15. <!--[if lt IE 9]>
  16. <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
  17. <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
  18. <![endif]-->
  19. </head>
  20. <body>
  21. <div class="navbar navbar-default navbar-static-top" role="navigation">
  22. <div class="container">
  23. <div class="navbar-header">
  24. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
  25. <span class="sr-only">Toggle navigation</span>
  26. <span class="icon-bar"></span>
  27. <span class="icon-bar"></span>
  28. <span class="icon-bar"></span>
  29. </button>
  30. <a class="navbar-brand" href="#">Misago UI</a>
  31. </div>
  32. <div class="collapse navbar-collapse">
  33. <div class="navbar-nav-guest navbar-right">
  34. <a href="#" class="btn btn-sign-in navbar-btn">Sign in</a>
  35. <a href="#" class="btn btn-register navbar-btn">Register</a>
  36. </div>
  37. <ul class="nav navbar-nav navbar-nav-user navbar-right">
  38. <li class="dropdown">
  39. <a href="#" class="dropdown-toggle user-toggle" data-toggle="dropdown">
  40. <span class="glyphicon glyphicon-chevron-down"></span>
  41. <img src="http://www.gravatar.com/avatar/6f5c4a1986259cb1e5ba64b3d94b50b7?s=125" alt="Your avatar">
  42. Rafalp
  43. </a>
  44. <ul class="dropdown-menu">
  45. <li>
  46. <a href="#">
  47. <span class="fa fa-plane"></span>
  48. Action
  49. </a>
  50. </li>
  51. <li>
  52. <a href="#">
  53. <span class="badge pull-right">42</span>
  54. <span class="fa fa-plane"></span>
  55. Another action
  56. </a>
  57. </li>
  58. <li>
  59. <a href="#">
  60. <span class="fa fa-plane"></span>
  61. Something else here
  62. </a>
  63. </li>
  64. <li class="divider"></li>
  65. <li>
  66. <a href="#">
  67. <span class="fa fa-plane"></span>
  68. Separated link
  69. </a>
  70. </li>
  71. <li class="divider"></li>
  72. <li>
  73. <form>
  74. <button>
  75. <span class="fa fa-power-off"></span>
  76. One more separated link
  77. </button>
  78. </form>
  79. </li>
  80. </ul>
  81. </li>
  82. </ul>
  83. <ul class="nav navbar-nav navbar-nav-primary navbar-right">
  84. <li>
  85. <a href="#" class="tooltip-bottom" title="Forum index">
  86. <span class="fa fa-th-list"></span>
  87. <span class="item-label">Forum index</span>
  88. </a>
  89. </li>
  90. <li>
  91. <a href="#" class="tooltip-bottom" title="Users">
  92. <span class="fa fa-users"></span>
  93. <span class="item-label">Users</span>
  94. </a>
  95. </li>
  96. <li>
  97. <a href="#" class="tooltip-bottom" title="Search forums">
  98. <span class="fa fa-search"></span>
  99. <span class="item-label">Search forums</span>
  100. </a>
  101. </li>
  102. <li>
  103. <a href="#" class="badged tooltip-bottom" title="There are 42 new threads">
  104. <span class="fa fa-plus"></span>
  105. <span class="item-label">New threads</span>
  106. <span class="badge">42</span>
  107. </a>
  108. </li>
  109. <li>
  110. <a href="#" class="badged tooltip-bottom" title="There are 31 threads with new replies">
  111. <span class="fa fa-leaf"></span>
  112. <span class="item-label">Threads with new replies</span>
  113. <span class="badge">31</span>
  114. </a>
  115. </li>
  116. <li class="dropdown">
  117. <a href="#" class="dropdown-toggle badged" data-toggle="dropdown">
  118. <span class="fa fa-fire"></span>
  119. <span class="item-label">Alerts</span>
  120. <span class="badge">21</span>
  121. </a>
  122. <div class="dropdown-menu">
  123. <div class="dropdown-title">
  124. <strong>You have <span class="badge">21</span> alerts</strong>
  125. </div>
  126. <ul class="dropdown-alerts-list">
  127. <li>
  128. <a href=""><strong>l0ud</strong> has replied to thread <strong>Do you like Misago 0.6?</strong> that you are watching.</a>
  129. <small><a href="#">l0ud</a>, 3 hours ago</small>
  130. </li>
  131. </ul>
  132. </div>
  133. </li>
  134. <li>
  135. <a href="#" class="tooltip-bottom" title="Users">
  136. <span class="fa fa-users"></span>
  137. <span class="item-label">Users</span>
  138. </a>
  139. </li>
  140. </ul>
  141. </div><!--/.nav-collapse -->
  142. </div>
  143. </div>
  144. <div class="container">
  145. <h1>Misago UI: Kitchen Sink Navbar Template</h1>
  146. <a href="#" class="demo-all btn btn-primary">Kitchen sink</a>
  147. <a href="#" class="demo-registered btn btn-default">Registered</a>
  148. <a href="#" class="demo-guest btn btn-default">Guest</a>
  149. </div><!-- /.container -->
  150. <!-- Bootstrap core JavaScript
  151. ================================================== -->
  152. <!-- Placed at the end of the document so the pages load faster -->
  153. <script src="./misago/js/jquery.js"></script>
  154. <script src="./misago/js/bootstrap.js"></script>
  155. <script src="./misago/js/misago.js"></script>
  156. <!-- Demo custom JavaScript
  157. ================================================== -->
  158. <script type="text/javascript">
  159. $(function() {
  160. $('.demo-all').click(function() {
  161. $('.badged').show();
  162. $('.navbar-nav-user').show();
  163. $('.navbar-nav-guest').show();
  164. return true;
  165. });
  166. $('.demo-registered').click(function() {
  167. $('.badged').show();
  168. $('.navbar-nav-user').show();
  169. $('.navbar-nav-guest').hide();
  170. return true;
  171. });
  172. $('.demo-guest').click(function() {
  173. $('.badged').hide();
  174. $('.navbar-nav-user').hide();
  175. $('.navbar-nav-guest').show();
  176. return true;
  177. });
  178. });
  179. </script>
  180. </body>
  181. </html>