main.jade 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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.0')
  7. meta(name='description', content='Turn checkboxes and radio buttons in toggle switches.')
  8. meta(name='author', content='Mattia Larentis, Emanuele Marchi and Peter Stein')
  9. title Bootstrap Switch · Turn checkboxes and radio buttons in toggle switches
  10. link(href='http://fonts.googleapis.com/css?family=Roboto:400,700', rel='stylesheet')
  11. link(href='docs/css/bootstrap.min.css', rel='stylesheet')
  12. link(href='docs/css/highlight.css', rel='stylesheet')
  13. link(href='dist/css/bootstrap3/bootstrap-switch.css', rel='stylesheet')
  14. link(href='docs/css/main.css', rel='stylesheet')
  15. script.
  16. var _gaq = _gaq || [];
  17. _gaq.push(['_setAccount', 'UA-43092768-1']);
  18. _gaq.push(['_trackPageview']);
  19. (function () {
  20. var ga = document.createElement('script');
  21. ga.type = 'text/javascript';
  22. ga.async = true;
  23. ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
  24. var s = document.getElementsByTagName('script')[0];
  25. s.parentNode.insertBefore(ga, s);
  26. })();
  27. body
  28. a(href='https://github.com/nostalgiaz/bootstrap-switch', id='github')
  29. img(src='https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png', alt='Fork me on GitHub')
  30. header.navbar.navbar-default.navbar-fixed-top.top(role='banner')
  31. .container
  32. .navbar-header
  33. button.navbar-toggle(type='button', data-toggle='collapse', data-target='#collapse')
  34. span.sr-only Toggle navigation
  35. span.icon-bar
  36. span.icon-bar
  37. span.icon-bar
  38. a.navbar-brand(href='../') Bootstrap Switch <strong>3</strong>
  39. nav#collapse.collapse.navbar-collapse(role='navigation')
  40. ul.nav.navbar-nav
  41. li.dropdown
  42. a(href='#', data-toggle='dropdown')
  43. | Download
  44. span.caret
  45. ul.dropdown-menu
  46. li: a(href='https://github.com/nostalgiaz/bootstrap-switch/archive/master.zip') 3 (Stable)
  47. li: a(href='https://github.com/nostalgiaz/bootstrap-switch/archive/v2.0.1.zip') 2.0.1 (Legacy)
  48. li: a(href='#new') What's new
  49. li: a(href='#start') Start
  50. li.dropdown
  51. a(href='#', data-toggle='dropdown')
  52. | Documentation
  53. span.caret
  54. ul.dropdown-menu
  55. li: a(href='/documentation-3.html') Version 3 (Stable)
  56. li: a(href='/documentation-2.html') Version 2.0.1 (Legacy)
  57. li: a(href='https://github.com/nostalgiaz/bootstrap-switch/issues') Bug reports
  58. .container.content
  59. block content
  60. .container.bottom
  61. p
  62. | Licensed under the
  63. | <a href="http://www.apache.org/licenses/LICENSE-2.0" target="_blank">Apache License, Version 2.0</a>
  64. | · Created by
  65. | <a href="https://github.com/nostalgiaz" target="_blank">Mattia Larentis</a>
  66. | · Mantained by
  67. | <a href="https://github.com/lostcrew" target="_blank">Emanuele Marchi</a>
  68. script(src='docs/js/jquery.min.js')
  69. script(src='docs/js/bootstrap.min.js')
  70. script(src='docs/js/highlight.js')
  71. script(src='dist/js/bootstrap-switch.js')
  72. script(src='docs/js/main.js')