diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/assets/css/docs.css | 5 | ||||
| -rw-r--r-- | docs/assets/js/application.js | 31 | ||||
| -rw-r--r-- | docs/base-css.html | 13 | ||||
| -rw-r--r-- | docs/components.html | 13 | ||||
| -rw-r--r-- | docs/index.html | 37 | ||||
| -rw-r--r-- | docs/less.html | 13 | ||||
| -rw-r--r-- | docs/scaffolding.html | 24 | ||||
| -rw-r--r-- | docs/upgrading.html | 24 |
8 files changed, 52 insertions, 108 deletions
diff --git a/docs/assets/css/docs.css b/docs/assets/css/docs.css index 8432f92ea..5ed38bb47 100644 --- a/docs/assets/css/docs.css +++ b/docs/assets/css/docs.css @@ -317,6 +317,11 @@ h2 + table { .example-sites img { width: 290px; } +.built-with { + margin: -18px 0 27px; + color: #999; + text-align: center; +} .scrollspy-example { height: 200px; diff --git a/docs/assets/js/application.js b/docs/assets/js/application.js index 74024caa1..255f624be 100644 --- a/docs/assets/js/application.js +++ b/docs/assets/js/application.js @@ -1,5 +1,36 @@ $(function(){ + // Hide the Mobile Safari address bar once loaded + // ============================================== + + window.addEventListener("load",function() { + // Set a timeout... + setTimeout(function(){ + // Hide the address bar! + window.scrollTo(0, 1); + }, 0); + }); + + + // Docs topbar nav + // =============== + + $('.nav .active').click(function(e) { + e.preventDefault(); + $(this).siblings().toggle(); + }); + + + // Show grid dimensions on hover + // ============================= + + $('.show-grid > div').hover(function() { + var width = $(this).width(); + $(this).attr('title', width); + $(this).twipsy(); + }); + + // table sort example // ================== diff --git a/docs/base-css.html b/docs/base-css.html index 63ec53306..bb54b0c51 100644 --- a/docs/base-css.html +++ b/docs/base-css.html @@ -1178,18 +1178,7 @@ Form states <!-- Le javascript --> <!-- Placed at the end of the document so the pages load faster --> - <script src="http://code.jquery.com/jquery-1.5.2.min.js"></script> - - <script type="text/javascript"> - // NOT FINAL BY ANY MEANS, JUST MAH JANK CODE BRO - $(document).ready(function() { - $('.nav .active').click(function(e) { - e.preventDefault(); - $(this).siblings().toggle(); - }); - }); - </script> - + <script src="http://code.jquery.com/jquery-1.7.min.js"></script> <script src="http://autobahn.tablesorter.com/jquery.tablesorter.min.js"></script> <script src="assets/js/google-code-prettify/prettify.js"></script> <script>$(function () { prettyPrint() })</script> diff --git a/docs/components.html b/docs/components.html index 11d83c51a..9c683b9b2 100644 --- a/docs/components.html +++ b/docs/components.html @@ -814,18 +814,7 @@ Lorem ipsum dolar sit amet illo error <a href="#" title="below">ipsum</a> verita <!-- Le javascript --> <!-- Placed at the end of the document so the pages load faster --> - <script src="http://code.jquery.com/jquery-1.5.2.min.js"></script> - - <script type="text/javascript"> - // NOT FINAL BY ANY MEANS, JUST MAH JANK CODE BRO - $(document).ready(function() { - $('.nav .active').click(function(e) { - e.preventDefault(); - $(this).siblings().toggle(); - }); - }); - </script> - + <script src="http://code.jquery.com/jquery-1.7.min.js"></script> <script src="http://autobahn.tablesorter.com/jquery.tablesorter.min.js"></script> <script src="assets/js/google-code-prettify/prettify.js"></script> <script>$(function () { prettyPrint() })</script> diff --git a/docs/index.html b/docs/index.html index 55a75b1bf..1b7edb8c5 100644 --- a/docs/index.html +++ b/docs/index.html @@ -107,19 +107,20 @@ <div class="marketing"> <h1>Built with Bootstrap</h1> - <ul class="media-grid example-sites"> - <li> - <a href="http://kippt.com/" target="_blank"> + <p class="built-with">For even more sites built with Bootstrap, <a href="http://builtwithbootstrap.tumblr.com/" target="_blank">visit the unofficial Tumblr</a>.</p> + <ul class="thumbnails example-sites"> + <li class="span4"> + <a class="thumbnail" href="http://kippt.com/" target="_blank"> <img src="assets/img/example-sites/kippt.png" alt="Kippt"> </a> </li> - <li> - <a href="http://www.fleetio.com/" target="_blank"> + <li class="span4"> + <a class="thumbnail" href="http://www.fleetio.com/" target="_blank"> <img src="assets/img/example-sites/fleetio.png" alt="Fleetio"> </a> </li> - <li> - <a href="http://www.jshint.com/" target="_blank"> + <li class="span4"> + <a class="thumbnail" href="http://www.jshint.com/" target="_blank"> <img src="assets/img/example-sites/jshint.png" alt="JS Hint"> </a> </li> @@ -233,27 +234,7 @@ <!-- Le javascript --> <!-- Placed at the end of the document so the pages load faster --> - <script src="http://code.jquery.com/jquery-1.6.2.min.js"></script> - - <script type="text/javascript"> - // When ready... - window.addEventListener("load",function() { - // Set a timeout... - setTimeout(function(){ - // Hide the address bar! - window.scrollTo(0, 1); - }, 0); - }); - - // NOT FINAL BY ANY MEANS, JUST MAH JANK CODE BRO - $(document).ready(function() { - $('.nav .active').click(function(e) { - e.preventDefault(); - $(this).siblings().toggle(); - }); - }); - </script> - + <script src="http://code.jquery.com/jquery-1.7.min.js"></script> <script src="http://autobahn.tablesorter.com/jquery.tablesorter.min.js"></script> <script src="assets/js/google-code-prettify/prettify.js"></script> <script>$(function () { prettyPrint() })</script> diff --git a/docs/less.html b/docs/less.html index 52de8b6aa..e004bc24c 100644 --- a/docs/less.html +++ b/docs/less.html @@ -466,18 +466,7 @@ <!-- Le javascript --> <!-- Placed at the end of the document so the pages load faster --> - <script src="http://code.jquery.com/jquery-1.5.2.min.js"></script> - - <script type="text/javascript"> - // NOT FINAL BY ANY MEANS, JUST MAH JANK CODE BRO - $(document).ready(function() { - $('.nav .active').click(function(e) { - e.preventDefault(); - $(this).siblings().toggle(); - }); - }); - </script> - + <script src="http://code.jquery.com/jquery-1.7.min.js"></script> <script src="http://autobahn.tablesorter.com/jquery.tablesorter.min.js"></script> <script src="assets/js/google-code-prettify/prettify.js"></script> <script>$(function () { prettyPrint() })</script> diff --git a/docs/scaffolding.html b/docs/scaffolding.html index 7431ae58b..473553412 100644 --- a/docs/scaffolding.html +++ b/docs/scaffolding.html @@ -371,29 +371,7 @@ <!-- Le javascript --> <!-- Placed at the end of the document so the pages load faster --> - <script src="http://code.jquery.com/jquery-1.5.2.min.js"></script> - - <script type="text/javascript"> - // NOT FINAL BY ANY MEANS, JUST MAH JANK CODE BRO - $(document).ready(function() { - $('.nav .active').click(function(e) { - e.preventDefault(); - $(this).siblings().toggle(); - }); - }); - </script> - - <script type="text/javascript"> - // Show grid dimensions on hover - $(document).ready(function() { - $('.show-grid > div').hover(function() { - var width = $(this).width(); - $(this).attr('title', width); - $(this).twipsy(); - }); - }); - </script> - + <script src="http://code.jquery.com/jquery-1.7.min.js"></script> <script src="http://autobahn.tablesorter.com/jquery.tablesorter.min.js"></script> <script src="assets/js/google-code-prettify/prettify.js"></script> <script>$(function () { prettyPrint() })</script> diff --git a/docs/upgrading.html b/docs/upgrading.html index 60c9c325b..3e5a14a8a 100644 --- a/docs/upgrading.html +++ b/docs/upgrading.html @@ -99,21 +99,14 @@ <li>Added button bar options</li> </ul> </li> +<!-- <li> <ul> <li></li> </ul> </li> -</ul> - -<!-- - - - --> - - - +</ul> <!-- Footer @@ -128,18 +121,7 @@ <!-- Le javascript --> <!-- Placed at the end of the document so the pages load faster --> - <script src="http://code.jquery.com/jquery-1.5.2.min.js"></script> - - <script type="text/javascript"> - // NOT FINAL BY ANY MEANS, JUST MAH JANK CODE BRO - $(document).ready(function() { - $('.nav .active').click(function(e) { - e.preventDefault(); - $(this).siblings().toggle(); - }); - }); - </script> - + <script src="http://code.jquery.com/jquery-1.7.min.js"></script> <script src="http://autobahn.tablesorter.com/jquery.tablesorter.min.js"></script> <script src="assets/js/google-code-prettify/prettify.js"></script> <script>$(function () { prettyPrint() })</script> |
