aboutsummaryrefslogtreecommitdiff
path: root/docs/_layouts/default.html
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2014-04-29 15:54:05 -0700
committerChris Rebert <[email protected]>2014-05-07 16:12:42 -0700
commit7d0f7e84412ab8018e6e9211f9e6a0f47d1100ce (patch)
tree34fe20954e30163aed6a37360fc45da8cc374ca5 /docs/_layouts/default.html
parentf0daa64a29a66a663f6fedb9d8687524af754436 (diff)
downloadbootstrap-7d0f7e84412ab8018e6e9211f9e6a0f47d1100ce.tar.xz
bootstrap-7d0f7e84412ab8018e6e9211f9e6a0f47d1100ce.zip
add button to toggle the optional theme when viewing the docs; fixes #9764
Diffstat (limited to 'docs/_layouts/default.html')
-rw-r--r--docs/_layouts/default.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html
index ec05d83ce..5a65f46a2 100644
--- a/docs/_layouts/default.html
+++ b/docs/_layouts/default.html
@@ -50,6 +50,11 @@
</div>
</div>
</div>
+ {% if page.slug == "css" or page.slug == "components" or page.slug == "js" %}
+ <div>
+ <button id="bs-theme-btn" type="button" class="btn btn-default">Activate Theme</button>
+ </div>
+ {% endif %}
</div>