From 97c7a83a8fd96ae9e2e227e150f967a4b476f0a9 Mon Sep 17 00:00:00 2001 From: Mark Otto <markotto@twitter.com> Date: Thu, 7 Jun 2012 22:12:15 -0700 Subject: [PATCH] remove individual js file download buttons --- docs/javascript.html | 12 ------------ docs/templates/pages/javascript.mustache | 12 ------------ 2 files changed, 24 deletions(-) diff --git a/docs/javascript.html b/docs/javascript.html index cd13210889..2aa5fce2c1 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -160,7 +160,6 @@ <p class="lead">Bring Bootstrap's components to life—now with 12 custom <a href="http://jquery.com/" target="_blank">jQuery</a> plugins. <div class="subnav"> <ul class="nav nav-pills"> - <li><a href="#javascript">All plugins</a></li> <li><a href="#modals">Modal</a></li> <li><a href="#dropdowns">Dropdown</a></li> <li><a href="#scrollspy">Scrollspy</a></li> @@ -254,7 +253,6 @@ <h3>About modals</h3> <p>A streamlined, but flexible, take on the traditional javascript modal plugin with only the minimum required functionality and smart defaults.</p> - <a href="assets/js/bootstrap-modal.js" target="_blank" class="btn">Download file</a> <h2>Static example</h2> <p>Below is a statically rendered modal.</p> @@ -444,7 +442,6 @@ $('#myModal').on('hidden', function () { <h3>About dropdowns</h3> <p>Add dropdown menus to nearly anything in Bootstrap with this simple plugin. Bootstrap features full dropdown menu support on in the navbar, tabs, and pills.</p> - <a href="assets/js/bootstrap-dropdown.js" target="_blank" class="btn">Download file</a> <h2>Examples</h2> <p>Click on the dropdown nav links in the navbar and pills below to test dropdowns.</p> @@ -587,7 +584,6 @@ $('#myModal').on('hidden', function () { </div> <p>The ScrollSpy plugin is for automatically updating nav targets based on scroll position.</p> - <a href="assets/js/bootstrap-scrollspy.js" target="_blank" class="btn">Download file</a> <h2>Example navbar with scrollspy</h2> <p>Scroll the area below and watch the navigation update. The dropdown sub items will be highlighted as well. Try it!</p> @@ -703,7 +699,6 @@ $('[data-spy="scroll"]').each(function () { </div> <p>This plugin adds quick, dynamic tab and pill functionality for transitioning through local content.</p> - <a href="assets/js/bootstrap-tab.js" target="_blank" class="btn">Download file</a> <h2>Example tabs</h2> <p>Click the tabs below to toggle between hidden panes, even via dropdown menus.</p> @@ -819,7 +814,6 @@ $('a[data-toggle="tab"]').on('shown', function (e) { <h3>About Tooltips</h3> <p>Inspired by the excellent jQuery.tipsy plugin written by Jason Frame; Tooltips are an updated version, which don't rely on images, use css3 for animations, and data-attributes for local title storage.</p> - <a href="assets/js/bootstrap-tooltip.js" target="_blank" class="btn">Download file</a> <h2>Example use of Tooltips</h2> <p>Hover over the links below to see tooltips:</p> @@ -926,7 +920,6 @@ $('a[data-toggle="tab"]').on('shown', function (e) { <h3>About popovers</h3> <p>Add small overlays of content, like those on the iPad, to any element for housing secondary information.</p> <p class="muted"><strong>*</strong> Requires <a href="#tooltips">Tooltip</a> to be included</p> - <a href="assets/js/bootstrap-popover.js" target="_blank" class="btn">Download file</a> <h2>Example hover popover</h2> <p>Hover over the button to trigger the popover.</p> @@ -1035,7 +1028,6 @@ $('a[data-toggle="tab"]').on('shown', function (e) { <h3>About alerts</h3> <p>The alert plugin is a tiny class for adding close functionality to alerts.</p> - <a href="assets/js/bootstrap-alert.js" target="_blank" class="btn">Download</a> <h2>Example alerts</h2> <p>The alerts plugin works on regular alert messages, and block messages.</p> @@ -1106,7 +1098,6 @@ $('#my-alert').bind('closed', function () { <h3>About</h3> <p>Do more with buttons. Control button states or create groups of buttons for more components like toolbars.</p> - <a href="assets/js/bootstrap-button.js" target="_blank" class="btn">Download file</a> <h2>Example uses</h2> <p>Use the buttons plugin for states and toggles.</p> @@ -1201,7 +1192,6 @@ $('#my-alert').bind('closed', function () { <h3>About</h3> <p>Get base styles and flexible support for collapsible components like accordions and navigation.</p> - <a href="assets/js/bootstrap-collapse.js" target="_blank" class="btn">Download file</a> <p class="muted"><strong>*</strong> Requires the Transitions plugin to be included.</p> <h2>Example accordion</h2> @@ -1350,7 +1340,6 @@ $('#myCollapsible').on('hidden', function () { <h3>About</h3> <p>A generic plugin for cycling through elements. A merry-go-round.</p> - <a href="assets/js/bootstrap-carousel.js" target="_blank" class="btn">Download file</a> <h2>Example carousel</h2> <p>Watch the slideshow below.</p> @@ -1484,7 +1473,6 @@ $('.carousel').carousel({ <h3>About</h3> <p>A basic, easily extended plugin for quickly creating elegant typeaheads with any form text input.</p> - <a href="assets/js/bootstrap-typeahead.js" target="_blank" class="btn">Download file</a> <h2>Example</h2> <p>Start typing in the field below to show the typeahead results.</p> diff --git a/docs/templates/pages/javascript.mustache b/docs/templates/pages/javascript.mustache index f4eb8969bc..e9e81ddb5c 100644 --- a/docs/templates/pages/javascript.mustache +++ b/docs/templates/pages/javascript.mustache @@ -5,7 +5,6 @@ <p class="lead">{{_i}}Bring Bootstrap's components to life—now with 12 custom <a href="http://jquery.com/" target="_blank">jQuery</a> plugins.{{/i}} <div class="subnav"> <ul class="nav nav-pills"> - <li><a href="#javascript">{{_i}}All plugins{{/i}}</a></li> <li><a href="#modals">{{_i}}Modal{{/i}}</a></li> <li><a href="#dropdowns">{{_i}}Dropdown{{/i}}</a></li> <li><a href="#scrollspy">{{_i}}Scrollspy{{/i}}</a></li> @@ -99,7 +98,6 @@ <h3>{{_i}}About modals{{/i}}</h3> <p>{{_i}}A streamlined, but flexible, take on the traditional javascript modal plugin with only the minimum required functionality and smart defaults.{{/i}}</p> - <a href="assets/js/bootstrap-modal.js" target="_blank" class="btn">{{_i}}Download file{{/i}}</a> <h2>{{_i}}Static example{{/i}}</h2> <p>{{_i}}Below is a statically rendered modal.{{/i}}</p> @@ -289,7 +287,6 @@ $('#myModal').on('hidden', function () { <h3>{{_i}}About dropdowns{{/i}}</h3> <p>{{_i}}Add dropdown menus to nearly anything in Bootstrap with this simple plugin. Bootstrap features full dropdown menu support on in the navbar, tabs, and pills.{{/i}}</p> - <a href="assets/js/bootstrap-dropdown.js" target="_blank" class="btn">{{_i}}Download file{{/i}}</a> <h2>{{_i}}Examples{{/i}}</h2> <p>{{_i}}Click on the dropdown nav links in the navbar and pills below to test dropdowns.{{/i}}</p> @@ -432,7 +429,6 @@ $('#myModal').on('hidden', function () { </div> <p>{{_i}}The ScrollSpy plugin is for automatically updating nav targets based on scroll position.{{/i}}</p> - <a href="assets/js/bootstrap-scrollspy.js" target="_blank" class="btn">{{_i}}Download file{{/i}}</a> <h2>{{_i}}Example navbar with scrollspy{{/i}}</h2> <p>{{_i}}Scroll the area below and watch the navigation update. The dropdown sub items will be highlighted as well. Try it!{{/i}}</p> @@ -548,7 +544,6 @@ $('[data-spy="scroll"]').each(function () { </div> <p>{{_i}}This plugin adds quick, dynamic tab and pill functionality for transitioning through local content.{{/i}}</p> - <a href="assets/js/bootstrap-tab.js" target="_blank" class="btn">{{_i}}Download file{{/i}}</a> <h2>{{_i}}Example tabs{{/i}}</h2> <p>{{_i}}Click the tabs below to toggle between hidden panes, even via dropdown menus.{{/i}}</p> @@ -664,7 +659,6 @@ $('a[data-toggle="tab"]').on('shown', function (e) { <h3>{{_i}}About Tooltips{{/i}}</h3> <p>{{_i}}Inspired by the excellent jQuery.tipsy plugin written by Jason Frame; Tooltips are an updated version, which don't rely on images, use css3 for animations, and data-attributes for local title storage.{{/i}}</p> - <a href="assets/js/bootstrap-tooltip.js" target="_blank" class="btn">{{_i}}Download file{{/i}}</a> <h2>{{_i}}Example use of Tooltips{{/i}}</h2> <p>{{_i}}Hover over the links below to see tooltips:{{/i}}</p> @@ -771,7 +765,6 @@ $('a[data-toggle="tab"]').on('shown', function (e) { <h3>{{_i}}About popovers{{/i}}</h3> <p>{{_i}}Add small overlays of content, like those on the iPad, to any element for housing secondary information.{{/i}}</p> <p class="muted"><strong>*</strong> {{_i}}Requires <a href="#tooltips">Tooltip</a> to be included{{/i}}</p> - <a href="assets/js/bootstrap-popover.js" target="_blank" class="btn">{{_i}}Download file{{/i}}</a> <h2>{{_i}}Example hover popover{{/i}}</h2> <p>{{_i}}Hover over the button to trigger the popover.{{/i}}</p> @@ -880,7 +873,6 @@ $('a[data-toggle="tab"]').on('shown', function (e) { <h3>{{_i}}About alerts{{/i}}</h3> <p>{{_i}}The alert plugin is a tiny class for adding close functionality to alerts.{{/i}}</p> - <a href="assets/js/bootstrap-alert.js" target="_blank" class="btn">{{_i}}Download{{/i}}</a> <h2>{{_i}}Example alerts{{/i}}</h2> <p>{{_i}}The alerts plugin works on regular alert messages, and block messages.{{/i}}</p> @@ -951,7 +943,6 @@ $('#my-alert').bind('closed', function () { <h3>{{_i}}About{{/i}}</h3> <p>{{_i}}Do more with buttons. Control button states or create groups of buttons for more components like toolbars.{{/i}}</p> - <a href="assets/js/bootstrap-button.js" target="_blank" class="btn">{{_i}}Download file{{/i}}</a> <h2>{{_i}}Example uses{{/i}}</h2> <p>{{_i}}Use the buttons plugin for states and toggles.{{/i}}</p> @@ -1046,7 +1037,6 @@ $('#my-alert').bind('closed', function () { <h3>{{_i}}About{{/i}}</h3> <p>{{_i}}Get base styles and flexible support for collapsible components like accordions and navigation.{{/i}}</p> - <a href="assets/js/bootstrap-collapse.js" target="_blank" class="btn">{{_i}}Download file{{/i}}</a> <p class="muted"><strong>*</strong> {{_i}}Requires the Transitions plugin to be included.{{/i}}</p> <h2>{{_i}}Example accordion{{/i}}</h2> @@ -1195,7 +1185,6 @@ $('#myCollapsible').on('hidden', function () { <h3>{{_i}}About{{/i}}</h3> <p>{{_i}}A generic plugin for cycling through elements. A merry-go-round.{{/i}}</p> - <a href="assets/js/bootstrap-carousel.js" target="_blank" class="btn">{{_i}}Download file{{/i}}</a> <h2>{{_i}}Example carousel{{/i}}</h2> <p>{{_i}}Watch the slideshow below.{{/i}}</p> @@ -1329,7 +1318,6 @@ $('.carousel').carousel({ <h3>{{_i}}About{{/i}}</h3> <p>{{_i}}A basic, easily extended plugin for quickly creating elegant typeaheads with any form text input.{{/i}}</p> - <a href="assets/js/bootstrap-typeahead.js" target="_blank" class="btn">{{_i}}Download file{{/i}}</a> <h2>{{_i}}Example{{/i}}</h2> <p>{{_i}}Start typing in the field below to show the typeahead results.{{/i}}</p> -- GitLab