main.pug 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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 into toggle switches.')
  8. meta(name='author', content='Mattia Larentis, Emanuele Marchi and Peter Stein')
  9. title Bootstrap Switch · Turn checkboxes and radio buttons into toggle switches
  10. link(href='docs/css/bootstrap.min.css', rel='stylesheet')
  11. link(href='docs/css/highlight.css', rel='stylesheet')
  12. link(href='dist/css/bootstrap3/bootstrap-switch.css', rel='stylesheet')
  13. link(href='http://getbootstrap.com/assets/css/docs.min.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-static-top.bs-docs-nav(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
  39. nav#collapse.collapse.navbar-collapse.bs-navbar-collapse(role='navigation')
  40. ul.nav.navbar-nav
  41. li: a(href='https://github.com/nostalgiaz/bootstrap-switch/archive/master.zip', data-toggle='dropdown') Download
  42. li: a(href='examples.html') Examples
  43. li.dropdown
  44. a(href='#', data-toggle='dropdown')
  45. | Documentation
  46. = ' '
  47. span.caret
  48. ul.dropdown-menu
  49. li: a(href='/options.html') Options
  50. li: a(href='/methods.html') Methods
  51. li: a(href='/events.html') Events
  52. li.divider(role='presentation')
  53. li: a(href='/documentation-2.html') Documentation (v2.0.1)
  54. li: a(href='https://github.com/nostalgiaz/bootstrap-switch/issues') Bug reports
  55. main#content(role='main')
  56. block content
  57. footer.bs-docs-footer
  58. .container
  59. p
  60. | Code licensed under
  61. = ' '
  62. a(href='http://www.apache.org/licenses/LICENSE-2.0', target='_blank') Apache License, Version 2.0
  63. br
  64. | Created by
  65. = ' '
  66. a(href='https://github.com/nostalgiaz', target='_blank') Mattia Larentis
  67. br
  68. | Mantained by
  69. = ' '
  70. a(href='https://github.com/lostcrew', target='_blank') Emanuele Marchi
  71. script(src='docs/js/jquery.min.js')
  72. script(src='docs/js/bootstrap.min.js')
  73. script(src='docs/js/highlight.js')
  74. script(src='dist/js/bootstrap-switch.js')
  75. script(src='docs/js/main.js')