_navbar.html.erb 1.4 KB

12345678910111213141516171819202122232425262728293031
  1. <nav class="navbar navbar-default">
  2. <div class="container-fluid">
  3. <!-- Brand and toggle get grouped for better mobile display -->
  4. <div class="navbar-header">
  5. <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
  6. <span class="sr-only">Toggle navigation</span>
  7. <span class="icon-bar"></span>
  8. <span class="icon-bar"></span>
  9. <span class="icon-bar"></span>
  10. </button>
  11. <a class="navbar-brand" href="#">Spork</a>
  12. </div>
  13. <!-- Collect the nav links, forms, and other content for toggling -->
  14. <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
  15. <ul class="nav navbar-nav navbar-right">
  16. <li><a href="#">Link</a></li>
  17. <li class="dropdown">
  18. <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Dropdown <span class="caret"></span></a>
  19. <ul class="dropdown-menu">
  20. <li><a href="#">Action</a></li>
  21. <li><a href="#">Another action</a></li>
  22. <li><a href="#">Something else here</a></li>
  23. <li role="separator" class="divider"></li>
  24. <li><a href="#">Separated link</a></li>
  25. </ul>
  26. </li>
  27. </ul>
  28. </div><!-- /.navbar-collapse -->
  29. </div><!-- /.container-fluid -->
  30. </nav>