|
@@ -36,7 +36,7 @@
|
|
|
<ul class="nav navbar-nav">
|
|
|
<li class="dropdown"><a href="#" data-toggle="dropdown">Download<span class="caret"></span></a>
|
|
|
<ul class="dropdown-menu">
|
|
|
- <li><a href="https://github.com/nostalgiaz/bootstrap-switch/archive/master.zip">3 (Stable)</a></li>
|
|
|
+ <li><a href="https://github.com/nostalgiaz/bootstrap-switch/archive/master.zip">3</a></li>
|
|
|
<li><a href="https://github.com/nostalgiaz/bootstrap-switch/archive/v2.0.1.zip">2.0.1 (Legacy)</a></li>
|
|
|
</ul>
|
|
|
</li>
|
|
@@ -44,7 +44,7 @@
|
|
|
<li><a href="examples.html">Examples</a></li>
|
|
|
<li class="dropdown"><a href="#" data-toggle="dropdown">Documentation<span class="caret"></span></a>
|
|
|
<ul class="dropdown-menu">
|
|
|
- <li class="dropdown-header">Version 3 (Stable)</li>
|
|
|
+ <li class="dropdown-header">Version 3</li>
|
|
|
<li><a href="/options-3.html">Options</a></li>
|
|
|
<li><a href="/methods-3.html">Methods</a></li>
|
|
|
<li><a href="/events-3.html">Events</a></li>
|
|
@@ -60,27 +60,16 @@
|
|
|
</header>
|
|
|
<div class="container content">
|
|
|
<div class="header">
|
|
|
- <h2 class="title">Bootstrap Switch <strong>3</strong> <span class="old-version">2.0.1</span></h2>
|
|
|
- <p class="lead">Turn checkboxes and radio buttons in toggle switches.</p>
|
|
|
- <p>Select the version to download:</p>
|
|
|
- <p>
|
|
|
- <input type="checkbox" name="download-version" checked data-size="large" data-on-text="3" data-off-text="2.0.1">
|
|
|
+ <h2 class="title">Bootstrap Switch</h2>
|
|
|
+ <p class="lead">Turn checkboxes
|
|
|
+ <input type="checkbox" checked data-switch-no-init> and and radio buttons
|
|
|
+ <input type="radio" checked data-switch-no-init> in toggle switches
|
|
|
+ <input type="checkbox" checked>
|
|
|
</p>
|
|
|
- <p><a id="download-3" href="https://github.com/nostalgiaz/bootstrap-switch/archive/master.zip" class="btn btn-lg btn-primary">Download 3</a><a id="download-2" href="https://github.com/nostalgiaz/bootstrap-switch/archive/v2.0.1.zip" class="btn btn-lg btn-primary">Download 2.0.1</a></p><br><br>
|
|
|
+ <p><a href="https://github.com/nostalgiaz/bootstrap-switch/archive/master.zip" class="btn btn-lg btn-primary">Download 3</a></p><br>
|
|
|
<iframe src="http://ghbtns.com/github-btn.html?user=nostalgiaz&repo=bootstrap-switch&type=watch&count=true&size=large" allowtransparency="true" frameborder="0" scrolling="0" width="184" height="30"></iframe>
|
|
|
<iframe src="http://ghbtns.com/github-btn.html?user=nostalgiaz&repo=bootstrap-switch&type=fork&count=true&size=large" allowtransparency="true" frameborder="0" scrolling="0" width="144" height="30"></iframe>
|
|
|
</div>
|
|
|
- <!--
|
|
|
- .alert.alert-info
|
|
|
- p
|
|
|
- | <strong>Documentation in progress!</strong><br>
|
|
|
- | It might not seem, but it's actually a lot of work. The goal is to make it as cleanest, most readable and
|
|
|
- | understandable as possible.<br>
|
|
|
- | If you feel there is something missing, submit a
|
|
|
- | <a href="https://github.com/nostalgiaz/bootstrap-switch/pulls">pull request</a> with your changes. Every
|
|
|
- | help is needed. Many thanks.
|
|
|
-
|
|
|
- -->
|
|
|
<h1 class="page-header">Getting Started</h1>
|
|
|
<p>Include the dependencies: jQuery, Bootstrap and Bootstrap Switch CSS + Javascript.</p>
|
|
|
<pre><code>[...]
|