Commit e6092c3f authored by Thomas Park's avatar Thomas Park
Browse files

index: no longer using snippets

parent 15edcba2
......@@ -51,7 +51,42 @@
</a>
<a class="brand" href="../">Bootswatch</a>
<div class="nav-collapse" id="main-menu">
<ul class="nav" id="main-menu-left">
<li><a onclick="pageTracker._link(this.href); return false;" href="http://news.bootswatch.com">News</a></li>
<li><a id="swatch-link" href="/#gallery">Gallery</a></li>
<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#">Preview <b class="caret"></b></a>
<ul class="dropdown-menu" id="swatch-menu">
<li><a href="../default">Default</a></li>
<li class="divider"></li>
<li><a href="../amelia">Amelia</a></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="../readable">Readable</a></li>
<li><a href="../simplex">Simplex</a></li>
<li><a href="../slate">Slate</a></li>
<li><a href="../spacelab">Spacelab</a></li>
<li><a href="../spruce">Spruce</a></li>
<li><a href="../superhero">Superhero</a></li>
<li><a href="../united">United</a></li>
</ul>
</li>
<li class="dropdown" id="preview-menu">
<a class="dropdown-toggle" data-toggle="dropdown" href="#">Download <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a target="_blank" href="bootstrap.min.css">bootstrap.min.css</a></li>
<li><a target="_blank" href="bootstrap.css">bootstrap.css</a></li>
<li class="divider"></li>
<li><a target="_blank" href="variables.less">variables.less</a></li>
<li><a target="_blank" href="bootswatch.less">bootswatch.less</a></li>
</ul>
</li>
</ul>
<ul class="nav pull-right" id="main-menu-right">
<li><a rel="tooltip" target="_blank" href="http://builtwithbootstrap.com/" title="Showcase of Bootstrap sites &amp; apps" onclick="_gaq.push([\'_trackEvent\', \'click\', \'outbound\', \'builtwithbootstrap\']);">Built With Bootstrap <i class="icon-share-alt"></i></a></li>
<li><a rel="tooltip" target="_blank" href="https://wrapbootstrap.com/?ref=bsw" title="Marketplace for premium Bootstrap templates" onclick="_gaq.push([\'_trackEvent\', \'click\', \'outbound\', \'wrapbootstrap\']);">WrapBootstrap <i class="icon-share-alt"></i></a></li>
</ul>
</div>
</div>
</div>
......
......@@ -51,7 +51,42 @@
</a>
<a class="brand" href="../">Bootswatch</a>
<div class="nav-collapse" id="main-menu">
<ul class="nav" id="main-menu-left">
<li><a onclick="pageTracker._link(this.href); return false;" href="http://news.bootswatch.com">News</a></li>
<li><a id="swatch-link" href="/#gallery">Gallery</a></li>
<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#">Preview <b class="caret"></b></a>
<ul class="dropdown-menu" id="swatch-menu">
<li><a href="../default">Default</a></li>
<li class="divider"></li>
<li><a href="../amelia">Amelia</a></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="../readable">Readable</a></li>
<li><a href="../simplex">Simplex</a></li>
<li><a href="../slate">Slate</a></li>
<li><a href="../spacelab">Spacelab</a></li>
<li><a href="../spruce">Spruce</a></li>
<li><a href="../superhero">Superhero</a></li>
<li><a href="../united">United</a></li>
</ul>
</li>
<li class="dropdown" id="preview-menu">
<a class="dropdown-toggle" data-toggle="dropdown" href="#">Download <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a target="_blank" href="bootstrap.min.css">bootstrap.min.css</a></li>
<li><a target="_blank" href="bootstrap.css">bootstrap.css</a></li>
<li class="divider"></li>
<li><a target="_blank" href="variables.less">variables.less</a></li>
<li><a target="_blank" href="bootswatch.less">bootswatch.less</a></li>
</ul>
</li>
</ul>
<ul class="nav pull-right" id="main-menu-right">
<li><a rel="tooltip" target="_blank" href="http://builtwithbootstrap.com/" title="Showcase of Bootstrap sites &amp; apps" onclick="_gaq.push([\'_trackEvent\', \'click\', \'outbound\', \'builtwithbootstrap\']);">Built With Bootstrap <i class="icon-share-alt"></i></a></li>
<li><a rel="tooltip" target="_blank" href="https://wrapbootstrap.com/?ref=bsw" title="Marketplace for premium Bootstrap templates" onclick="_gaq.push([\'_trackEvent\', \'click\', \'outbound\', \'wrapbootstrap\']);">WrapBootstrap <i class="icon-share-alt"></i></a></li>
</ul>
</div>
</div>
</div>
......
......@@ -51,7 +51,42 @@
</a>
<a class="brand" href="../">Bootswatch</a>
<div class="nav-collapse" id="main-menu">
<ul class="nav" id="main-menu-left">
<li><a onclick="pageTracker._link(this.href); return false;" href="http://news.bootswatch.com">News</a></li>
<li><a id="swatch-link" href="/#gallery">Gallery</a></li>
<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#">Preview <b class="caret"></b></a>
<ul class="dropdown-menu" id="swatch-menu">
<li><a href="../default">Default</a></li>
<li class="divider"></li>
<li><a href="../amelia">Amelia</a></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="../readable">Readable</a></li>
<li><a href="../simplex">Simplex</a></li>
<li><a href="../slate">Slate</a></li>
<li><a href="../spacelab">Spacelab</a></li>
<li><a href="../spruce">Spruce</a></li>
<li><a href="../superhero">Superhero</a></li>
<li><a href="../united">United</a></li>
</ul>
</li>
<li class="dropdown" id="preview-menu">
<a class="dropdown-toggle" data-toggle="dropdown" href="#">Download <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a target="_blank" href="bootstrap.min.css">bootstrap.min.css</a></li>
<li><a target="_blank" href="bootstrap.css">bootstrap.css</a></li>
<li class="divider"></li>
<li><a target="_blank" href="variables.less">variables.less</a></li>
<li><a target="_blank" href="bootswatch.less">bootswatch.less</a></li>
</ul>
</li>
</ul>
<ul class="nav pull-right" id="main-menu-right">
<li><a rel="tooltip" target="_blank" href="http://builtwithbootstrap.com/" title="Showcase of Bootstrap sites &amp; apps" onclick="_gaq.push([\'_trackEvent\', \'click\', \'outbound\', \'builtwithbootstrap\']);">Built With Bootstrap <i class="icon-share-alt"></i></a></li>
<li><a rel="tooltip" target="_blank" href="https://wrapbootstrap.com/?ref=bsw" title="Marketplace for premium Bootstrap templates" onclick="_gaq.push([\'_trackEvent\', \'click\', \'outbound\', \'wrapbootstrap\']);">WrapBootstrap <i class="icon-share-alt"></i></a></li>
</ul>
</div>
</div>
</div>
......
......@@ -51,7 +51,42 @@
</a>
<a class="brand" href="../">Bootswatch</a>
<div class="nav-collapse" id="main-menu">
<ul class="nav" id="main-menu-left">
<li><a onclick="pageTracker._link(this.href); return false;" href="http://news.bootswatch.com">News</a></li>
<li><a id="swatch-link" href="/#gallery">Gallery</a></li>
<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#">Preview <b class="caret"></b></a>
<ul class="dropdown-menu" id="swatch-menu">
<li><a href="../default">Default</a></li>
<li class="divider"></li>
<li><a href="../amelia">Amelia</a></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="../readable">Readable</a></li>
<li><a href="../simplex">Simplex</a></li>
<li><a href="../slate">Slate</a></li>
<li><a href="../spacelab">Spacelab</a></li>
<li><a href="../spruce">Spruce</a></li>
<li><a href="../superhero">Superhero</a></li>
<li><a href="../united">United</a></li>
</ul>
</li>
<li class="dropdown" id="preview-menu">
<a class="dropdown-toggle" data-toggle="dropdown" href="#">Download <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a target="_blank" href="bootstrap.min.css">bootstrap.min.css</a></li>
<li><a target="_blank" href="bootstrap.css">bootstrap.css</a></li>
<li class="divider"></li>
<li><a target="_blank" href="variables.less">variables.less</a></li>
<li><a target="_blank" href="bootswatch.less">bootswatch.less</a></li>
</ul>
</li>
</ul>
<ul class="nav pull-right" id="main-menu-right">
<li><a rel="tooltip" target="_blank" href="http://builtwithbootstrap.com/" title="Showcase of Bootstrap sites &amp; apps" onclick="_gaq.push([\'_trackEvent\', \'click\', \'outbound\', \'builtwithbootstrap\']);">Built With Bootstrap <i class="icon-share-alt"></i></a></li>
<li><a rel="tooltip" target="_blank" href="https://wrapbootstrap.com/?ref=bsw" title="Marketplace for premium Bootstrap templates" onclick="_gaq.push([\'_trackEvent\', \'click\', \'outbound\', \'wrapbootstrap\']);">WrapBootstrap <i class="icon-share-alt"></i></a></li>
</ul>
</div>
</div>
</div>
......
......@@ -45,7 +45,32 @@
</a>
<a class="brand" href="./">Bootswatch</a>
<div class="nav-collapse" id="main-menu">
<ul class="nav" id="main-menu-left">
<li><a onclick="pageTracker._link(this.href); return false;" href="http://news.bootswatch.com">News</a></li>
<li><a id="swatch-link" href="/#gallery">Gallery</a></li>
<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#">Preview <b class="caret"></b></a>
<ul class="dropdown-menu" id="swatch-menu">
<li><a href="default">Default</a></li>
<li class="divider"></li>
<li><a href="amelia">Amelia</a></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="readable">Readable</a></li>
<li><a href="simplex">Simplex</a></li>
<li><a href="slate">Slate</a></li>
<li><a href="spacelab">Spacelab</a></li>
<li><a href="spruce">Spruce</a></li>
<li><a href="superhero">Superhero</a></li>
<li><a href="united">United</a></li>
</ul>
</li>
</ul>
<ul class="nav pull-right" id="main-menu-right">
<li><a rel="tooltip" target="_blank" href="http://builtwithbootstrap.com/" title="Showcase of Bootstrap sites &amp; apps" onclick="_gaq.push([\'_trackEvent\', \'click\', \'outbound\', \'builtwithbootstrap\']);">Built With Bootstrap <i class="icon-share-alt"></i></a></li>
<li><a rel="tooltip" target="_blank" href="https://wrapbootstrap.com/?ref=bsw" title="Marketplace for premium Bootstrap templates" onclick="_gaq.push([\'_trackEvent\', \'click\', \'outbound\', \'wrapbootstrap\']);">WrapBootstrap <i class="icon-share-alt"></i></a></li>
</ul>
</div>
</div>
</div>
......
......@@ -51,7 +51,42 @@
</a>
<a class="brand" href="../">Bootswatch</a>
<div class="nav-collapse" id="main-menu">
<ul class="nav" id="main-menu-left">
<li><a onclick="pageTracker._link(this.href); return false;" href="http://news.bootswatch.com">News</a></li>
<li><a id="swatch-link" href="/#gallery">Gallery</a></li>
<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#">Preview <b class="caret"></b></a>
<ul class="dropdown-menu" id="swatch-menu">
<li><a href="../default">Default</a></li>
<li class="divider"></li>
<li><a href="../amelia">Amelia</a></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="../readable">Readable</a></li>
<li><a href="../simplex">Simplex</a></li>
<li><a href="../slate">Slate</a></li>
<li><a href="../spacelab">Spacelab</a></li>
<li><a href="../spruce">Spruce</a></li>
<li><a href="../superhero">Superhero</a></li>
<li><a href="../united">United</a></li>
</ul>
</li>
<li class="dropdown" id="preview-menu">
<a class="dropdown-toggle" data-toggle="dropdown" href="#">Download <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a target="_blank" href="bootstrap.min.css">bootstrap.min.css</a></li>
<li><a target="_blank" href="bootstrap.css">bootstrap.css</a></li>
<li class="divider"></li>
<li><a target="_blank" href="variables.less">variables.less</a></li>
<li><a target="_blank" href="bootswatch.less">bootswatch.less</a></li>
</ul>
</li>
</ul>
<ul class="nav pull-right" id="main-menu-right">
<li><a rel="tooltip" target="_blank" href="http://builtwithbootstrap.com/" title="Showcase of Bootstrap sites &amp; apps" onclick="_gaq.push([\'_trackEvent\', \'click\', \'outbound\', \'builtwithbootstrap\']);">Built With Bootstrap <i class="icon-share-alt"></i></a></li>
<li><a rel="tooltip" target="_blank" href="https://wrapbootstrap.com/?ref=bsw" title="Marketplace for premium Bootstrap templates" onclick="_gaq.push([\'_trackEvent\', \'click\', \'outbound\', \'wrapbootstrap\']);">WrapBootstrap <i class="icon-share-alt"></i></a></li>
</ul>
</div>
</div>
</div>
......
// NOTICE!! DO NOT USE ANY OF THIS JAVASCRIPT
// IT'S ALL JUST JUNK FOR OUR DOCS!
// ++++++++++++++++++++++++++++++++++++++++++
!function ($) {
$(function(){
// Disable certain links in docs
// $('section [href^=#]').click(function (e) {
// e.preventDefault()
// })
// make code pretty
// window.prettyPrint && prettyPrint()
//
// // add-ons
// $('.add-on :checkbox').on('click', function () {
// var $this = $(this)
// , method = $this.attr('checked') ? 'addClass' : 'removeClass'
// $(this).parents('.add-on')[method]('active')
// })
// position static twipsies for components page
// if ($(".twipsies a").length) {
// $(window).on('load resize', function () {
// $(".twipsies a").each(function () {
// $(this)
// .tooltip({
// placement: $(this).attr('title')
// , trigger: 'manual'
// })
// .tooltip('show')
// })
// })
// }
// add tipsies to grid for scaffolding
// if ($('#grid-system').length) {
// $('#grid-system').tooltip({
// selector: '.show-grid > div'
// , title: function () { return $(this).width() + 'px' }
// })
// }
// fix sub nav on scroll
var $win = $(window)
, $nav = $('.subnav')
......@@ -65,117 +24,6 @@
}
}
// tooltip demo
// $('.tooltip-demo.well').tooltip({
// selector: "a[rel=tooltip]"
// })
//
// $('.tooltip-test').tooltip()
// $('.popover-test').popover()
// popover demo
// $("a[rel=popover]")
// .popover()
// .click(function(e) {
// e.preventDefault()
// })
// button state demo
// $('#fat-btn')
// .click(function () {
// var btn = $(this)
// btn.button('loading')
// setTimeout(function () {
// btn.button('reset')
// }, 3000)
// })
// carousel demo
// $('#myCarousel').carousel()
// javascript build logic
// var inputsComponent = $("#components.download input")
// , inputsPlugin = $("#plugins.download input")
// , inputsVariables = $("#variables.download input")
// toggle all plugin checkboxes
// $('#components.download .toggle-all').on('click', function (e) {
// e.preventDefault()
// inputsComponent.attr('checked', !inputsComponent.is(':checked'))
// })
//
// $('#plugins.download .toggle-all').on('click', function (e) {
// e.preventDefault()
// inputsPlugin.attr('checked', !inputsPlugin.is(':checked'))
// })
//
// $('#variables.download .toggle-all').on('click', function (e) {
// e.preventDefault()
// inputsVariables.val('')
// })
// request built javascript
// $('.download-btn').on('click', function () {
//
// var css = $("#components.download input:checked")
// .map(function () { return this.value })
// .toArray()
// , js = $("#plugins.download input:checked")
// .map(function () { return this.value })
// .toArray()
// , vars = {}
// , img = ['glyphicons-halflings.png', 'glyphicons-halflings-white.png']
//
// $("#variables.download input")
// .each(function () {
// $(this).val() && (vars[ $(this).prev().text() ] = $(this).val())
// })
//
// $.ajax({
// type: 'POST'
// , url: 'http://bootstrap.herokuapp.com'
// , dataType: 'jsonpi'
// , params: {
// js: js
// , css: css
// , vars: vars
// , img: img
// }
// })
// })
//
// })
// Modified from the original jsonpi https://github.com/benvinegar/jquery-jsonpi
// $.ajaxTransport('jsonpi', function(opts, originalOptions, jqXHR) {
// var url = opts.url;
//
// return {
// send: function(_, completeCallback) {
// var name = 'jQuery_iframe_' + jQuery.now()
// , iframe, form
//
// iframe = $('<iframe>')
// .attr('name', name)
// .appendTo('head')
//
// form = $('<form>')
// .attr('method', opts.type) // GET or POST
// .attr('action', url)
// .attr('target', name)
//
// $.each(opts.params, function(k, v) {
//
// $('<input>')
// .attr('type', 'hidden')
// .attr('name', k)
// .attr('value', typeof v == 'string' ? v : JSON.stringify(v))
// .appendTo(form)
// })
//
// form.appendTo('body').submit()
// }
// }
})
})
}(window.jQuery)
\ No newline at end of file
......@@ -481,7 +481,8 @@
this.$element[dimension](0)
this.transition('addClass', $.Event('show'), 'shown')
$.support.transition && this.$element[dimension](this.$element[0][scroll])
// $.support.transition && this.$element[dimension](this.$element[0][scroll])
$.support.transition && this.$element[dimension]('auto')
}
, hide: function () {
......
$('#main-menu').load('/js/snippets/main-menu.html', function(){
if($('body').hasClass('preview')){
$('#main-menu-left').append('<li class="dropdown" id="preview-menu"></li>');
$('#preview-menu').load('/js/snippets/preview-menu.html');
}
$('a[rel=tooltip]').tooltip({
'placement': 'bottom'
});
$('a[rel=tooltip]').tooltip({
'placement': 'bottom'
});
function parseRSS(url, callback) {
......
<ul class="nav" id="main-menu-left">
<li><a onclick="pageTracker._link(this.href); return false;" href="http://news.bootswatch.com">News</a></li>
<li><a id="swatch-link" href="/#gallery">Gallery</a></li>
<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#">Preview <b class="caret"></b></a>
<ul class="dropdown-menu" id="swatch-menu">
<li><a href="/default">Default</a></li>
<li class="divider"></li>
<li><a href="/amelia">Amelia</a></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="/readable">Readable</a></li>
<li><a href="/simplex">Simplex</a></li>
<li><a href="/slate">Slate</a></li>
<li><a href="/spacelab">Spacelab</a></li>
<li><a href="/spruce">Spruce</a></li>
<li><a href="/superhero">Superhero</a></li>
<li><a href="/united">United</a></li>
</ul>
</li>
</ul>
<ul class="nav pull-right" id="main-menu-right">
<li><a rel="tooltip" target="_blank" href="http://builtwithbootstrap.com/" title="Showcase of Bootstrap sites &amp; apps" onclick="_gaq.push([\'_trackEvent\', \'click\', \'outbound\', \'builtwithbootstrap\']);">Built With Bootstrap <i class="icon-share-alt"></i></a></li>
<li><a rel="tooltip" target="_blank" href="https://wrapbootstrap.com/?ref=bsw" title="Marketplace for premium Bootstrap templates" onclick="_gaq.push([\'_trackEvent\', \'click\', \'outbound\', \'wrapbootstrap\']);">WrapBootstrap <i class="icon-share-alt"></i></a></li>
</ul>
\ No newline at end of file
<a class="dropdown-toggle" data-toggle="dropdown" href="#">Download <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a target="_blank" href="bootstrap.min.css">bootstrap.min.css</a></li>
<li><a target="_blank" href="bootstrap.css">bootstrap.css</a></li>
<li class="divider"></li>
<li><a target="_blank" href="variables.less">variables.less</a></li>
<li><a target="_blank" href="bootswatch.less">bootswatch.less</a></li>
</ul>
\ No newline at end of file
......@@ -51,7 +51,42 @@
</a>
<a class="brand" href="../">Bootswatch</a>
<div class="nav-collapse" id="main-menu">
<ul class="nav" id="main-menu-left">
<li><a onclick="pageTracker._link(this.href); return false;" href="http://news.bootswatch.com">News</a></li>
<li><a id="swatch-link" href="/#gallery">Gallery</a></li>
<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#">Preview <b class="caret"></b></a>
<ul class="dropdown-menu" id="swatch-menu">
<li><a href="../default">Default</a></li>
<li class="divider"></li>
<li><a href="../amelia">Amelia</a></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="../readable">Readable</a></li>
<li><a href="../simplex">Simplex</a></li>
<li><a href="../slate">Slate</a></li>
<li><a href="../spacelab">Spacelab</a></li>
<li><a href="../spruce">Spruce</a></li>
<li><a href="../superhero">Superhero</a></li>
<li><a href="../united">United</a></li>
</ul>
</li>
<li class="dropdown" id="preview-menu">
<a class="dropdown-toggle" data-toggle="dropdown" href="#">Download <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a target="_blank" href="bootstrap.min.css">bootstrap.min.css</a></li>
<li><a target="_blank" href="bootstrap.css">bootstrap.css</a></li>
<li class="divider"></li>
<li><a target="_blank" href="variables.less">variables.less</a></li>
<li><a target="_blank" href="bootswatch.less">bootswatch.less</a></li>
</ul>
</li>
</ul>
<ul class="nav pull-right" id="main-menu-right">
<li><a rel="tooltip" target="_blank" href="http://builtwithbootstrap.com/" title="Showcase of Bootstrap sites &amp; apps" onclick="_gaq.push([\'_trackEvent\', \'click\', \'outbound\', \'builtwithbootstrap\']);">Built With Bootstrap <i class="icon-share-alt"></i></a></li>
<li><a rel="tooltip" target="_blank" href="https://wrapbootstrap.com/?ref=bsw" title="Marketplace for premium Bootstrap templates" onclick="_gaq.push([\'_trackEvent\', \'click\', \'outbound\', \'wrapbootstrap\']);">WrapBootstrap <i class="icon-share-alt"></i></a></li>
</ul>
</div>
</div>
</div>
......
......@@ -51,7 +51,42 @@
</a>
<a class="brand" href="../">Bootswatch</a>
<div class="nav-collapse" id="main-menu">
<ul class="nav" id="main-menu-left">
<li><a onclick="pageTracker._link(this.href); return false;" href="http://news.bootswatch.com">News</a></li>
<li><a id="swatch-link" href="/#gallery">Gallery</a></li>
<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#">Preview <b class="caret"></b></a>
<ul class="dropdown-menu" id="swatch-menu">
<li><a href="../default">Default</a></li>
<li class="divider"></li>
<li><a href="../amelia">Amelia</a></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="../readable">Readable</a></li>
<li><a href="../simplex">Simplex</a></li>
<li><a href="../slate">Slate</a></li>
<li><a href="../spacelab">Spacelab</a></li>
<li><a href="../spruce">Spruce</a></li>
<li><a href="../superhero">Superhero</a></li>
<li><a href="../united">United</a></li>
</ul>
</li>
<li class="dropdown" id="preview-menu">
<a class="dropdown-toggle" data-toggle="dropdown" href="#">Download <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a target="_blank" href="bootstrap.min.css">bootstrap.min.css</a></li>
<li><a target="_blank" href="bootstrap.css">bootstrap.css</a></li>
<li class="divider"></li>
<li><a target="_blank" href="variables.less">variables.less</a></li>
<li><a target="_blank" href="bootswatch.less">bootswatch.less</a></li>
</ul>
</li>
</ul>
<ul class="nav pull-right" id="main-menu-right">
<li><a rel="tooltip" target="_blank" href="http://builtwithbootstrap.com/" title="Showcase of Bootstrap sites &amp; apps" onclick="_gaq.push([\'_trackEvent\', \'click\', \'outbound\', \'builtwithbootstrap\']);">Built With Bootstrap <i class="icon-share-alt"></i></a></li>
<li><a rel="tooltip" target="_blank" href="https://wrapbootstrap.com/?ref=bsw" title="Marketplace for premium Bootstrap templates" onclick="_gaq.push([\'_trackEvent\', \'click\', \'outbound\', \'wrapbootstrap\']);">WrapBootstrap <i class="icon-share-alt"></i></a></li>
</ul>
</div>
</div>
</div>
......
......@@ -51,7 +51,42 @@
</a>
<a class="brand" href="../">Bootswatch</a>
<div class="nav-collapse" id="main-menu">
<ul class="nav" id="main-menu-left">
<li><a onclick="pageTracker._link(this.href); return false;" href="http://news.bootswatch.com">News</a></li>
<li><a id="swatch-link" href="/#gallery">Gallery</a></li>
<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#">Preview <b class="caret"></b></a>
<ul class="dropdown-menu" id="swatch-menu">
<li><a href="../default">Default</a></li>
<li class="divider"></li>
<li><a href="../amelia">Amelia</a></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="../readable">Readable</a></li>
<li><a href="../simplex">Simplex</a></li>
<li><a href="../slate">Slate</a></li>
<li><a href="../spacelab">Spacelab</a></li>
<li><a href="../spruce">Spruce</a></li>
<li><a href="../superhero">Superhero</a></li>
<li><a href="../united">United</a></li>
</ul>
</li>
<li class="dropdown" id="preview-menu">
<a class="dropdown-toggle" data-toggle="dropdown" href="#">Download <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a target="_blank" href="bootstrap.min.css">bootstrap.min.css</a></li>