summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorThomas Park <thomas@thomaspark.me>2012-02-18 16:11:03 -0500
committerThomas Park <thomas@thomaspark.me>2012-02-18 16:11:03 -0500
commit5ebb528b56c3a677c323c364c1751239ec6aa657 (patch)
treefcb92e9e2fd000174cafd8e23e9dedfc4d3b2644 /js
parent8f48410ebef174d4be971557f42a8be80f494abb (diff)
append swatch menu with js
Diffstat (limited to 'js')
-rw-r--r--js/bootswatch.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/js/bootswatch.js b/js/bootswatch.js
new file mode 100644
index 00000000..443f61b7
--- /dev/null
+++ b/js/bootswatch.js
@@ -0,0 +1,13 @@
+$('.navbar .nav').first().append('<li class="dropdown"> \
+ <a class="dropdown-toggle" data-toggle="dropdown" href="#">Preview <b class="caret"></b></a> \
+ <ul class="dropdown-menu"> \
+ <li><a href="../default">Default</a></li> \
+ <li class="divider"></li> \
+ <li><a href="../cerulean">Cerulean</a></li> \
+ <li><a href="../cyborg">Cyborg</a></li> \
+ <li><a href="../journal">Journal</a></li> \
+ <li><a href="../simplex">Simplex</a></li> \
+ <li><a href="../spacelab">Spacelab</a></li> \
+ <li><a href="../united">United</a></li> \
+ </ul> \
+ </li>'); \ No newline at end of file