navigation.html 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <header class="s2-docs-nav navbar navbar-default navbar-static-top" id="top" role="banner">
  2. <div class="container">
  3. <div class="navbar-header">
  4. <button class="navbar-toggle collapsed" type="button" data-toggle="collapse" data-target=".select2-navbar-collapse">
  5. <span class="sr-only">Toggle navigation</span>
  6. <span class="icon-bar top-bar"></span>
  7. <span class="icon-bar middle-bar"></span>
  8. <span class="icon-bar bottom-bar"></span>
  9. </button>
  10. <a href="./" class="navbar-brand"><img src="/images/logo.png" height="20px"> Select2</a>
  11. </div>
  12. <nav class="collapse navbar-collapse select2-navbar-collapse" role="navigation">
  13. <ul class="nav navbar-nav">
  14. <li{% if page.slug == "examples" %} class="active"{% endif %}>
  15. <a href="./examples.html">Examples</a>
  16. </li>
  17. <li{% if page.slug == "options" %} class="active"{% endif %}>
  18. <a href="./options.html">Options</a>
  19. </li>
  20. <li class="dropdown{% if page.slug == "announcements-4.0" %} active{% endif %}">
  21. <a href="#" class="dropdown-toggle" data-toggle="dropdown">
  22. Topics
  23. <span class="caret"></span>
  24. </a>
  25. <ul class="dropdown-menu">
  26. <li{% if page.slug == "announcements-4.0" %} class="active"{% endif %}>
  27. <a href="./announcements-4.0.html">4.0 Announcement</a>
  28. </li>
  29. <li class="divider"></li>
  30. <li>
  31. <a href="https://github.com/select2/select2/releases">
  32. Release notes
  33. </a>
  34. </li>
  35. </ul>
  36. </li>
  37. <li{% if page.slug == "community" %} class="active"{% endif %}>
  38. <a href="./community.html">Community</a>
  39. </li>
  40. </ul>
  41. <ul class="nav navbar-nav navbar-right">
  42. <li>
  43. <a href="https://github.com/select2/select2">
  44. <i class="fa fa-github"></i>
  45. GitHub
  46. </a>
  47. </li>
  48. </ul>
  49. </nav>
  50. </div>
  51. </header>