aboutsummaryrefslogtreecommitdiff
path: root/docs/_includes
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2018-04-08 17:31:07 -0700
committerMark Otto <[email protected]>2018-04-08 17:31:07 -0700
commit07ee6c8ea171ae883d72d6d240b742537cd20d77 (patch)
tree2a7570fe3636434663ddfac785031d68f237c73b /docs/_includes
parent446973308e66bcd325f815e39717ead0b4694853 (diff)
parenta720e23a518388ae5a374f3499099ca14a68e1e7 (diff)
downloadbootstrap-07ee6c8ea171ae883d72d6d240b742537cd20d77.tar.xz
bootstrap-07ee6c8ea171ae883d72d6d240b742537cd20d77.zip
Merge branch 'v3.4.0-dev' of https://github.com/twbs/bootstrap-3 into v3.4.0-dev
Diffstat (limited to 'docs/_includes')
-rw-r--r--docs/_includes/footer.html4
-rw-r--r--docs/_includes/js/buttons.html34
2 files changed, 19 insertions, 19 deletions
diff --git a/docs/_includes/footer.html b/docs/_includes/footer.html
index 3b4a026de..6acc4a9f1 100644
--- a/docs/_includes/footer.html
+++ b/docs/_includes/footer.html
@@ -6,8 +6,8 @@
<ul class="bs-docs-footer-links">
<li><a href="{{ site.repo }}">GitHub</a></li>
<li><a href="https://twitter.com/getbootstrap">Twitter</a></li>
- <li><a href="{{ site.baseurl }}/getting-started/#examples">Examples</a></li>
- <li><a href="{{ site.baseurl }}/about/">About</a></li>
+ <li><a href="{{ site.baseurl }}/docs/{{ site.docs_version }}/getting-started/#examples">Examples</a></li>
+ <li><a href="{{ site.baseurl }}/docs/{{ site.docs_version }}/about">About</a></li>
</ul>
<p>Designed and built with all the love in the world by <a href="https://twitter.com/mdo" target="_blank">@mdo</a> and <a href="https://twitter.com/fat" target="_blank">@fat</a>. Maintained by the <a href="https://github.com/orgs/twbs/people">core team</a> with the help of <a href="https://github.com/twbs/bootstrap/graphs/contributors">our contributors</a>.</p>
diff --git a/docs/_includes/js/buttons.html b/docs/_includes/js/buttons.html
index 2249bbd70..e6ddba2db 100644
--- a/docs/_includes/js/buttons.html
+++ b/docs/_includes/js/buttons.html
@@ -16,12 +16,12 @@
<p>For the sake of this demonstration, we are using <code>data-loading-text</code> and <code>$().button('loading')</code>, but that's not the only state you can use. <a href="#buttons-methods">See more on this below in the <code>$().button(string)</code> documentation</a>.</p>
</div>
<div class="bs-example">
- <button type="button" id="loading-example-btn" data-loading-text="Loading..." class="btn btn-primary" autocomplete="off">
+ <button type="button" id="loading-example-btn" data-loading-text="Loading..." class="btn btn-primary">
Loading state
</button>
</div><!-- /example -->
{% highlight html %}
-<button type="button" id="myButton" data-loading-text="Loading..." class="btn btn-primary" autocomplete="off">
+<button type="button" id="myButton" data-loading-text="Loading..." class="btn btn-primary">
Loading state
</button>
@@ -41,12 +41,12 @@
<p>For pre-toggled buttons, you must add the <code>.active</code> class and the <code>aria-pressed="true"</code> attribute to the <code>button</code> yourself.</p>
</div>
<div class="bs-example">
- <button type="button" class="btn btn-primary" data-toggle="button" aria-pressed="false" autocomplete="off">
+ <button type="button" class="btn btn-primary" data-toggle="button" aria-pressed="false">
Single toggle
</button>
</div><!-- /example -->
{% highlight html %}
-<button type="button" class="btn btn-primary" data-toggle="button" aria-pressed="false" autocomplete="off">
+<button type="button" class="btn btn-primary" data-toggle="button" aria-pressed="false">
Single toggle
</button>
{% endhighlight %}
@@ -64,26 +64,26 @@
<div class="bs-example" data-example-id="buttons-checkbox">
<div class="btn-group" data-toggle="buttons">
<label class="btn btn-primary active">
- <input type="checkbox" checked autocomplete="off"> Checkbox 1 (pre-checked)
+ <input type="checkbox" checked> Checkbox 1 (pre-checked)
</label>
<label class="btn btn-primary">
- <input type="checkbox" autocomplete="off"> Checkbox 2
+ <input type="checkbox"> Checkbox 2
</label>
<label class="btn btn-primary">
- <input type="checkbox" autocomplete="off"> Checkbox 3
+ <input type="checkbox"> Checkbox 3
</label>
</div>
</div><!-- /example -->
{% highlight html %}
<div class="btn-group" data-toggle="buttons">
<label class="btn btn-primary active">
- <input type="checkbox" autocomplete="off" checked> Checkbox 1 (pre-checked)
+ <input type="checkbox" checked> Checkbox 1 (pre-checked)
</label>
<label class="btn btn-primary">
- <input type="checkbox" autocomplete="off"> Checkbox 2
+ <input type="checkbox"> Checkbox 2
</label>
<label class="btn btn-primary">
- <input type="checkbox" autocomplete="off"> Checkbox 3
+ <input type="checkbox"> Checkbox 3
</label>
</div>
{% endhighlight %}
@@ -91,26 +91,26 @@
<div class="bs-example" data-example-id="buttons-radio">
<div class="btn-group" data-toggle="buttons">
<label class="btn btn-primary active">
- <input type="radio" name="options" id="option1" autocomplete="off" checked> Radio 1 (preselected)
+ <input type="radio" name="options" id="option1" checked> Radio 1 (preselected)
</label>
<label class="btn btn-primary">
- <input type="radio" name="options" id="option2" autocomplete="off"> Radio 2
+ <input type="radio" name="options" id="option2"> Radio 2
</label>
<label class="btn btn-primary">
- <input type="radio" name="options" id="option3" autocomplete="off"> Radio 3
+ <input type="radio" name="options" id="option3"> Radio 3
</label>
</div>
</div><!-- /example -->
{% highlight html %}
<div class="btn-group" data-toggle="buttons">
<label class="btn btn-primary active">
- <input type="radio" name="options" id="option1" autocomplete="off" checked> Radio 1 (preselected)
+ <input type="radio" name="options" id="option1" checked> Radio 1 (preselected)
</label>
<label class="btn btn-primary">
- <input type="radio" name="options" id="option2" autocomplete="off"> Radio 2
+ <input type="radio" name="options" id="option2"> Radio 2
</label>
<label class="btn btn-primary">
- <input type="radio" name="options" id="option3" autocomplete="off"> Radio 3
+ <input type="radio" name="options" id="option3"> Radio 3
</label>
</div>
{% endhighlight %}
@@ -126,7 +126,7 @@
<p>Swaps text to any data defined text state.</p>
{% highlight html %}
-<button type="button" id="myStateButton" data-complete-text="finished!" class="btn btn-primary" autocomplete="off">
+<button type="button" id="myStateButton" data-complete-text="finished!" class="btn btn-primary">
...
</button>