1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-20 12:21:35 +02:00

Nuke all i18n tags from .mustache templates

This commit is contained in:
Mark Otto
2012-12-05 11:09:02 -08:00
parent 33e14fe5bf
commit be5f31480b
8 changed files with 1822 additions and 1822 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -2,8 +2,8 @@
================================================== --> ================================================== -->
<header class="jumbotron subhead" id="overview"> <header class="jumbotron subhead" id="overview">
<div class="container"> <div class="container">
<h1>{{_i}}Customize and download{{/i}}</h1> <h1>Customize and download</h1>
<p class="lead">{{_i}}<a href="https://github.com/twitter/bootstrap/zipball/master">Download Bootstrap</a> or customize variables, components, JavaScript plugins, and more.{{/i}}</p> <p class="lead"><a href="https://github.com/twitter/bootstrap/zipball/master">Download Bootstrap</a> or customize variables, components, JavaScript plugins, and more.</p>
</div> </div>
</header> </header>
@@ -15,10 +15,10 @@
<div class="row"> <div class="row">
<div class="span3 bs-docs-sidebar"> <div class="span3 bs-docs-sidebar">
<ul class="nav nav-list bs-docs-sidenav"> <ul class="nav nav-list bs-docs-sidenav">
<li><a href="#components"><i class="glyphicon-chevron-right"></i> {{_i}}1. Choose components{{/i}}</a></li> <li><a href="#components"><i class="glyphicon-chevron-right"></i> 1. Choose components</a></li>
<li><a href="#plugins"><i class="glyphicon-chevron-right"></i> {{_i}}2. Select jQuery plugins{{/i}}</a></li> <li><a href="#plugins"><i class="glyphicon-chevron-right"></i> 2. Select jQuery plugins</a></li>
<li><a href="#variables"><i class="glyphicon-chevron-right"></i> {{_i}}3. Customize variables{{/i}}</a></li> <li><a href="#variables"><i class="glyphicon-chevron-right"></i> 3. Customize variables</a></li>
<li><a href="#download"><i class="glyphicon-chevron-right"></i> {{_i}}4. Download{{/i}}</a></li> <li><a href="#download"><i class="glyphicon-chevron-right"></i> 4. Download</a></li>
</ul> </ul>
</div> </div>
<div class="span9"> <div class="span9">
@@ -29,131 +29,131 @@
<form> <form>
<section class="download" id="components"> <section class="download" id="components">
<div class="page-header"> <div class="page-header">
<a class="btn btn-small pull-right toggle-all" href="#">{{_i}}Toggle all{{/i}}</a> <a class="btn btn-small pull-right toggle-all" href="#">Toggle all</a>
<h1> <h1>
{{_i}}1. Choose components{{/i}} 1. Choose components
</h1> </h1>
</div> </div>
<div class="row download-builder"> <div class="row download-builder">
<div class="span3"> <div class="span3">
<h3>{{_i}}Scaffolding{{/i}}</h3> <h3>Scaffolding</h3>
<label class="checkbox"><input checked="checked" type="checkbox" value="reset.less"> {{_i}}Normalize and reset{{/i}}</label> <label class="checkbox"><input checked="checked" type="checkbox" value="reset.less"> Normalize and reset</label>
<label class="checkbox"><input checked="checked" type="checkbox" value="scaffolding.less"> {{_i}}Body type and links{{/i}}</label> <label class="checkbox"><input checked="checked" type="checkbox" value="scaffolding.less"> Body type and links</label>
<label class="checkbox"><input checked="checked" type="checkbox" value="grid.less"> {{_i}}Grid system{{/i}}</label> <label class="checkbox"><input checked="checked" type="checkbox" value="grid.less"> Grid system</label>
<label class="checkbox"><input checked="checked" type="checkbox" value="layouts.less"> {{_i}}Layouts{{/i}}</label> <label class="checkbox"><input checked="checked" type="checkbox" value="layouts.less"> Layouts</label>
<h3>{{_i}}Base CSS{{/i}}</h3> <h3>Base CSS</h3>
<label class="checkbox"><input checked="checked" type="checkbox" value="type.less"> {{_i}}Headings, body, etc{{/i}}</label> <label class="checkbox"><input checked="checked" type="checkbox" value="type.less"> Headings, body, etc</label>
<label class="checkbox"><input checked="checked" type="checkbox" value="code.less"> {{_i}}Code and pre{{/i}}</label> <label class="checkbox"><input checked="checked" type="checkbox" value="code.less"> Code and pre</label>
<label class="checkbox"><input checked="checked" type="checkbox" value="labels-badges.less"> {{_i}}Labels and badges{{/i}}</label> <label class="checkbox"><input checked="checked" type="checkbox" value="labels-badges.less"> Labels and badges</label>
<label class="checkbox"><input checked="checked" type="checkbox" value="tables.less"> {{_i}}Tables{{/i}}</label> <label class="checkbox"><input checked="checked" type="checkbox" value="tables.less"> Tables</label>
<label class="checkbox"><input checked="checked" type="checkbox" value="forms.less"> {{_i}}Forms{{/i}}</label> <label class="checkbox"><input checked="checked" type="checkbox" value="forms.less"> Forms</label>
<label class="checkbox"><input checked="checked" type="checkbox" value="buttons.less"> {{_i}}Buttons{{/i}}</label> <label class="checkbox"><input checked="checked" type="checkbox" value="buttons.less"> Buttons</label>
<label class="checkbox"><input checked="checked" type="checkbox" value="sprites.less"> {{_i}}Icons{{/i}}</label> <label class="checkbox"><input checked="checked" type="checkbox" value="sprites.less"> Icons</label>
</div><!-- /span --> </div><!-- /span -->
<div class="span3"> <div class="span3">
<h3>{{_i}}Components{{/i}}</h3> <h3>Components</h3>
<label class="checkbox"><input checked="checked" type="checkbox" value="button-groups.less"> {{_i}}Button groups and dropdowns{{/i}}</label> <label class="checkbox"><input checked="checked" type="checkbox" value="button-groups.less"> Button groups and dropdowns</label>
<label class="checkbox"><input checked="checked" type="checkbox" value="navs.less"> {{_i}}Navs, tabs, and pills{{/i}}</label> <label class="checkbox"><input checked="checked" type="checkbox" value="navs.less"> Navs, tabs, and pills</label>
<label class="checkbox"><input checked="checked" type="checkbox" value="navbar.less"> {{_i}}Navbar{{/i}}</label> <label class="checkbox"><input checked="checked" type="checkbox" value="navbar.less"> Navbar</label>
<label class="checkbox"><input checked="checked" type="checkbox" value="breadcrumbs.less"> {{_i}}Breadcrumbs{{/i}}</label> <label class="checkbox"><input checked="checked" type="checkbox" value="breadcrumbs.less"> Breadcrumbs</label>
<label class="checkbox"><input checked="checked" type="checkbox" value="pagination.less"> {{_i}}Pagination{{/i}}</label> <label class="checkbox"><input checked="checked" type="checkbox" value="pagination.less"> Pagination</label>
<label class="checkbox"><input checked="checked" type="checkbox" value="pager.less"> {{_i}}Pager{{/i}}</label> <label class="checkbox"><input checked="checked" type="checkbox" value="pager.less"> Pager</label>
<label class="checkbox"><input checked="checked" type="checkbox" value="thumbnails.less"> {{_i}}Thumbnails{{/i}}</label> <label class="checkbox"><input checked="checked" type="checkbox" value="thumbnails.less"> Thumbnails</label>
<label class="checkbox"><input checked="checked" type="checkbox" value="alerts.less"> {{_i}}Alerts{{/i}}</label> <label class="checkbox"><input checked="checked" type="checkbox" value="alerts.less"> Alerts</label>
<label class="checkbox"><input checked="checked" type="checkbox" value="progress-bars.less"> {{_i}}Progress bars{{/i}}</label> <label class="checkbox"><input checked="checked" type="checkbox" value="progress-bars.less"> Progress bars</label>
<label class="checkbox"><input checked="checked" type="checkbox" value="hero-unit.less"> {{_i}}Hero unit{{/i}}</label> <label class="checkbox"><input checked="checked" type="checkbox" value="hero-unit.less"> Hero unit</label>
<label class="checkbox"><input checked="checked" type="checkbox" value="media.less"> {{_i}}Media component{{/i}}</label> <label class="checkbox"><input checked="checked" type="checkbox" value="media.less"> Media component</label>
<h3>{{_i}}JS Components{{/i}}</h3> <h3>JS Components</h3>
<label class="checkbox"><input checked="checked" type="checkbox" value="tooltip.less"> {{_i}}Tooltips{{/i}}</label> <label class="checkbox"><input checked="checked" type="checkbox" value="tooltip.less"> Tooltips</label>
<label class="checkbox"><input checked="checked" type="checkbox" value="popovers.less"> {{_i}}Popovers{{/i}}</label> <label class="checkbox"><input checked="checked" type="checkbox" value="popovers.less"> Popovers</label>
<label class="checkbox"><input checked="checked" type="checkbox" value="modals.less"> {{_i}}Modals{{/i}}</label> <label class="checkbox"><input checked="checked" type="checkbox" value="modals.less"> Modals</label>
<label class="checkbox"><input checked="checked" type="checkbox" value="dropdowns.less"> {{_i}}Dropdowns{{/i}}</label> <label class="checkbox"><input checked="checked" type="checkbox" value="dropdowns.less"> Dropdowns</label>
<label class="checkbox"><input checked="checked" type="checkbox" value="accordion.less"> {{_i}}Collapse{{/i}}</label> <label class="checkbox"><input checked="checked" type="checkbox" value="accordion.less"> Collapse</label>
<label class="checkbox"><input checked="checked" type="checkbox" value="carousel.less"> {{_i}}Carousel{{/i}}</label> <label class="checkbox"><input checked="checked" type="checkbox" value="carousel.less"> Carousel</label>
</div><!-- /span --> </div><!-- /span -->
<div class="span3"> <div class="span3">
<h3>{{_i}}Miscellaneous{{/i}}</h3> <h3>Miscellaneous</h3>
<label class="checkbox"><input checked="checked" type="checkbox" value="wells.less"> {{_i}}Wells{{/i}}</label> <label class="checkbox"><input checked="checked" type="checkbox" value="wells.less"> Wells</label>
<label class="checkbox"><input checked="checked" type="checkbox" value="close.less"> {{_i}}Close icon{{/i}}</label> <label class="checkbox"><input checked="checked" type="checkbox" value="close.less"> Close icon</label>
<label class="checkbox"><input checked="checked" type="checkbox" value="utilities.less"> {{_i}}Utilities{{/i}}</label> <label class="checkbox"><input checked="checked" type="checkbox" value="utilities.less"> Utilities</label>
<label class="checkbox"><input checked="checked" type="checkbox" value="component-animations.less"> {{_i}}Component animations{{/i}}</label> <label class="checkbox"><input checked="checked" type="checkbox" value="component-animations.less"> Component animations</label>
<h3>{{_i}}Responsive{{/i}}</h3> <h3>Responsive</h3>
<label class="checkbox"><input checked="checked" type="checkbox" value="responsive-utilities.less"> {{_i}}Visible/hidden classes{{/i}}</label> <label class="checkbox"><input checked="checked" type="checkbox" value="responsive-utilities.less"> Visible/hidden classes</label>
<label class="checkbox"><input checked="checked" type="checkbox" value="responsive-767px-max.less"> {{_i}}Narrow tablets and below (<767px){{/i}}</label> <label class="checkbox"><input checked="checked" type="checkbox" value="responsive-767px-max.less"> Narrow tablets and below (<767px)</label>
<label class="checkbox"><input checked="checked" type="checkbox" value="responsive-768px-979px.less"> {{_i}}Tablets to desktops (767-979px){{/i}}</label> <label class="checkbox"><input checked="checked" type="checkbox" value="responsive-768px-979px.less"> Tablets to desktops (767-979px)</label>
<label class="checkbox"><input checked="checked" type="checkbox" value="responsive-1200px-min.less"> {{_i}}Large desktops (>1200px){{/i}}</label> <label class="checkbox"><input checked="checked" type="checkbox" value="responsive-1200px-min.less"> Large desktops (>1200px)</label>
<label class="checkbox"><input checked="checked" type="checkbox" value="responsive-navbar.less"> {{_i}}Responsive navbar{{/i}}</label> <label class="checkbox"><input checked="checked" type="checkbox" value="responsive-navbar.less"> Responsive navbar</label>
</div><!-- /span --> </div><!-- /span -->
</div><!-- /row --> </div><!-- /row -->
</section> </section>
<section class="download" id="plugins"> <section class="download" id="plugins">
<div class="page-header"> <div class="page-header">
<a class="btn btn-small pull-right toggle-all" href="#">{{_i}}Toggle all{{/i}}</a> <a class="btn btn-small pull-right toggle-all" href="#">Toggle all</a>
<h1> <h1>
{{_i}}2. Select jQuery plugins{{/i}} 2. Select jQuery plugins
</h1> </h1>
</div> </div>
<div class="row download-builder"> <div class="row download-builder">
<div class="span3"> <div class="span3">
<label class="checkbox"> <label class="checkbox">
<input type="checkbox" checked="true" value="bootstrap-transition.js"> <input type="checkbox" checked="true" value="bootstrap-transition.js">
{{_i}}Transitions <small>(required for any animation)</small>{{/i}} Transitions <small>(required for any animation)</small>
</label> </label>
<label class="checkbox"> <label class="checkbox">
<input type="checkbox" checked="true" value="bootstrap-modal.js"> <input type="checkbox" checked="true" value="bootstrap-modal.js">
{{_i}}Modals{{/i}} Modals
</label> </label>
<label class="checkbox"> <label class="checkbox">
<input type="checkbox" checked="true" value="bootstrap-dropdown.js"> <input type="checkbox" checked="true" value="bootstrap-dropdown.js">
{{_i}}Dropdowns{{/i}} Dropdowns
</label> </label>
<label class="checkbox"> <label class="checkbox">
<input type="checkbox" checked="true" value="bootstrap-scrollspy.js"> <input type="checkbox" checked="true" value="bootstrap-scrollspy.js">
{{_i}}Scrollspy{{/i}} Scrollspy
</label> </label>
<label class="checkbox"> <label class="checkbox">
<input type="checkbox" checked="true" value="bootstrap-tab.js"> <input type="checkbox" checked="true" value="bootstrap-tab.js">
{{_i}}Togglable tabs{{/i}} Togglable tabs
</label> </label>
<label class="checkbox"> <label class="checkbox">
<input type="checkbox" checked="true" value="bootstrap-tooltip.js"> <input type="checkbox" checked="true" value="bootstrap-tooltip.js">
{{_i}}Tooltips{{/i}} Tooltips
</label> </label>
<label class="checkbox"> <label class="checkbox">
<input type="checkbox" checked="true" value="bootstrap-popover.js"> <input type="checkbox" checked="true" value="bootstrap-popover.js">
{{_i}}Popovers <small>(requires Tooltips)</small>{{/i}} Popovers <small>(requires Tooltips)</small>
</label> </label>
</div><!-- /span --> </div><!-- /span -->
<div class="span3"> <div class="span3">
<label class="checkbox"> <label class="checkbox">
<input type="checkbox" checked="true" value="bootstrap-affix.js"> <input type="checkbox" checked="true" value="bootstrap-affix.js">
{{_i}}Affix{{/i}} Affix
</label> </label>
<label class="checkbox"> <label class="checkbox">
<input type="checkbox" checked="true" value="bootstrap-alert.js"> <input type="checkbox" checked="true" value="bootstrap-alert.js">
{{_i}}Alert messages{{/i}} Alert messages
</label> </label>
<label class="checkbox"> <label class="checkbox">
<input type="checkbox" checked="true" value="bootstrap-button.js"> <input type="checkbox" checked="true" value="bootstrap-button.js">
{{_i}}Buttons{{/i}} Buttons
</label> </label>
<label class="checkbox"> <label class="checkbox">
<input type="checkbox" checked="true" value="bootstrap-collapse.js"> <input type="checkbox" checked="true" value="bootstrap-collapse.js">
{{_i}}Collapse{{/i}} Collapse
</label> </label>
<label class="checkbox"> <label class="checkbox">
<input type="checkbox" checked="true" value="bootstrap-carousel.js"> <input type="checkbox" checked="true" value="bootstrap-carousel.js">
{{_i}}Carousel{{/i}} Carousel
</label> </label>
<label class="checkbox"> <label class="checkbox">
<input type="checkbox" checked="true" value="bootstrap-typeahead.js"> <input type="checkbox" checked="true" value="bootstrap-typeahead.js">
{{_i}}Typeahead{{/i}} Typeahead
</label> </label>
</div><!-- /span --> </div><!-- /span -->
<div class="span3"> <div class="span3">
<h4 class="muted">{{_i}}Heads up!{{/i}}</h4> <h4 class="muted">Heads up!</h4>
<p class="muted">{{_i}}All checked plugins will be compiled into a single file, bootstrap.js. All plugins require the latest version of <a href="http://jquery.com/" target="_blank">jQuery</a> to be included.{{/i}}</p> <p class="muted">All checked plugins will be compiled into a single file, bootstrap.js. All plugins require the latest version of <a href="http://jquery.com/" target="_blank">jQuery</a> to be included.</p>
</div><!-- /span --> </div><!-- /span -->
</div><!-- /row --> </div><!-- /row -->
</section> </section>
@@ -161,26 +161,26 @@
<section class="download" id="variables"> <section class="download" id="variables">
<div class="page-header"> <div class="page-header">
<a class="btn btn-small pull-right toggle-all" href="#">{{_i}}Reset to defaults{{/i}}</a> <a class="btn btn-small pull-right toggle-all" href="#">Reset to defaults</a>
<h1> <h1>
{{_i}}3. Customize variables{{/i}} 3. Customize variables
</h1> </h1>
</div> </div>
<div class="row download-builder"> <div class="row download-builder">
<div class="span3"> <div class="span3">
<h3>{{_i}}Scaffolding{{/i}}</h3> <h3>Scaffolding</h3>
<label>@body-background</label> <label>@body-background</label>
<input type="text" class="span3" placeholder="#fff"> <input type="text" class="span3" placeholder="#fff">
<label>@text-color</label> <label>@text-color</label>
<input type="text" class="span3" placeholder="@grayDark"> <input type="text" class="span3" placeholder="@grayDark">
<h3>{{_i}}Links{{/i}}</h3> <h3>Links</h3>
<label>@link-color</label> <label>@link-color</label>
<input type="text" class="span3" placeholder="#08c"> <input type="text" class="span3" placeholder="#08c">
<label>@link-color-hover</label> <label>@link-color-hover</label>
<input type="text" class="span3" placeholder="darken(@link-color, 15%)"> <input type="text" class="span3" placeholder="darken(@link-color, 15%)">
<h3>{{_i}}Grid system{{/i}}</h3> <h3>Grid system</h3>
<label>@grid-columns</label> <label>@grid-columns</label>
<input type="text" class="span3" placeholder="12"> <input type="text" class="span3" placeholder="12">
<label>@grid-column-width</label> <label>@grid-column-width</label>
@@ -199,7 +199,7 @@
</div><!-- /span --> </div><!-- /span -->
<div class="span3"> <div class="span3">
<h3>{{_i}}Typography{{/i}}</h3> <h3>Typography</h3>
<label>@font-family-sans-serif</label> <label>@font-family-sans-serif</label>
<input type="text" class="span3" placeholder="'Helvetica Neue', Helvetica, Arial, sans-serif"> <input type="text" class="span3" placeholder="'Helvetica Neue', Helvetica, Arial, sans-serif">
<label>@font-family-serif</label> <label>@font-family-serif</label>
@@ -249,7 +249,7 @@
<label>@hero-lead-color</label> <label>@hero-lead-color</label>
<input type="text" class="span3" placeholder="inherit"> <input type="text" class="span3" placeholder="inherit">
<h3>{{_i}}Tables{{/i}}</h3> <h3>Tables</h3>
<label>@table-background</label> <label>@table-background</label>
<input type="text" class="span3" placeholder="transparent"> <input type="text" class="span3" placeholder="transparent">
<label>@table-background-accent</label> <label>@table-background-accent</label>
@@ -259,7 +259,7 @@
<label>@table-border</label> <label>@table-border</label>
<input type="text" class="span3" placeholder="#ddd"> <input type="text" class="span3" placeholder="#ddd">
<h3>{{_i}}Forms{{/i}}</h3> <h3>Forms</h3>
<label>@input-color-placeholder</label> <label>@input-color-placeholder</label>
<input type="text" class="span3" placeholder="@grayLight"> <input type="text" class="span3" placeholder="@grayLight">
<label>@input-background</label> <label>@input-background</label>
@@ -280,7 +280,7 @@
</div><!-- /span --> </div><!-- /span -->
<div class="span3"> <div class="span3">
<h3>{{_i}}Form states &amp; alerts{{/i}}</h3> <h3>Form states &amp; alerts</h3>
<label>@state-warning-text</label> <label>@state-warning-text</label>
<input type="text" class="span3" placeholder="#c09853"> <input type="text" class="span3" placeholder="#c09853">
<label>@state-warning-background</label> <label>@state-warning-background</label>
@@ -298,7 +298,7 @@
<label>@state-info-background</label> <label>@state-info-background</label>
<input type="text" class="span3" placeholder="#d9edf7"> <input type="text" class="span3" placeholder="#d9edf7">
<h3>{{_i}}Navbar{{/i}}</h3> <h3>Navbar</h3>
<label>@navbar-height</label> <label>@navbar-height</label>
<input type="text" class="span3" placeholder="40px"> <input type="text" class="span3" placeholder="40px">
<label>@navbar-background</label> <label>@navbar-background</label>
@@ -333,7 +333,7 @@
<label>@navbar-collapse-width-desktop</label> <label>@navbar-collapse-width-desktop</label>
<input type="text" class="span3" placeholder="@navbar-collapse-width + 1"> <input type="text" class="span3" placeholder="@navbar-collapse-width + 1">
<h3>{{_i}}Dropdowns{{/i}}</h3> <h3>Dropdowns</h3>
<label>@dropdown-background</label> <label>@dropdown-background</label>
<input type="text" class="span3" placeholder="#fff"> <input type="text" class="span3" placeholder="#fff">
<label>@dropdown-border</label> <label>@dropdown-border</label>
@@ -351,13 +351,13 @@
<section class="download" id="download"> <section class="download" id="download">
<div class="page-header"> <div class="page-header">
<h1> <h1>
{{_i}}4. Download{{/i}} 4. Download
</h1> </h1>
</div> </div>
<div class="download-btn"> <div class="download-btn">
<a class="btn btn-primary" href="#" {{#production}}onclick="_gaq.push(['_trackEvent', 'Customize', 'Download', 'Customize and Download']);"{{/production}}>{{_i}}Customize and Download{{/i}}</a> <a class="btn btn-primary" href="#" {{#production}}onclick="_gaq.push(['_trackEvent', 'Customize', 'Download', 'Customize and Download']);"{{/production}}>Customize and Download</a>
<h4>{{_i}}What's included?{{/i}}</h4> <h4>What's included?</h4>
<p>{{_i}}Downloads include compiled CSS, compiled and minified CSS, and compiled jQuery plugins, all nicely packed up into a zipball for your convenience.{{/i}}</p> <p>Downloads include compiled CSS, compiled and minified CSS, and compiled jQuery plugins, all nicely packed up into a zipball for your convenience.</p>
</div> </div>
</section><!-- /download --> </section><!-- /download -->
</form> </form>

View File

@@ -2,8 +2,8 @@
================================================== --> ================================================== -->
<header class="jumbotron subhead" id="overview"> <header class="jumbotron subhead" id="overview">
<div class="container"> <div class="container">
<h1>{{_i}}Extending Bootstrap{{/i}}</h1> <h1>Extending Bootstrap</h1>
<p class="lead">{{_i}}Extend Bootstrap to take advantage of included styles and components, as well as LESS variables and mixins.{{/i}}</p> <p class="lead">Extend Bootstrap to take advantage of included styles and components, as well as LESS variables and mixins.</p>
<div> <div>
</header> </header>
@@ -14,9 +14,9 @@
<div class="row"> <div class="row">
<div class="span3 bs-docs-sidebar"> <div class="span3 bs-docs-sidebar">
<ul class="nav nav-list bs-docs-sidenav"> <ul class="nav nav-list bs-docs-sidenav">
<li><a href="#built-with-less"><i class="glyphicon-chevron-right"></i> {{_i}}Built with LESS{{/i}}</a></li> <li><a href="#built-with-less"><i class="glyphicon-chevron-right"></i> Built with LESS</a></li>
<li><a href="#compiling"><i class="glyphicon-chevron-right"></i> {{_i}}Compiling Bootstrap{{/i}}</a></li> <li><a href="#compiling"><i class="glyphicon-chevron-right"></i> Compiling Bootstrap</a></li>
<li><a href="#static-assets"><i class="glyphicon-chevron-right"></i> {{_i}}Use as static assets{{/i}}</a></li> <li><a href="#static-assets"><i class="glyphicon-chevron-right"></i> Use as static assets</a></li>
</ul> </ul>
</div> </div>
<div class="span9"> <div class="span9">
@@ -27,25 +27,25 @@
================================================== --> ================================================== -->
<section id="built-with-less"> <section id="built-with-less">
<div class="page-header"> <div class="page-header">
<h1>{{_i}}Built with LESS{{/i}}</h1> <h1>Built with LESS</h1>
</div> </div>
<img style="float: right; height: 36px; margin: 10px 20px 20px" src="assets/img/less-logo-large.png" alt="LESS CSS"> <img style="float: right; height: 36px; margin: 10px 20px 20px" src="assets/img/less-logo-large.png" alt="LESS CSS">
<p class="lead">{{_i}}Bootstrap is made with LESS at its core, a dynamic stylesheet language created by our good friend, <a href="http://cloudhead.io">Alexis Sellier</a>. It makes developing systems-based CSS faster, easier, and more fun.{{/i}}</p> <p class="lead">Bootstrap is made with LESS at its core, a dynamic stylesheet language created by our good friend, <a href="http://cloudhead.io">Alexis Sellier</a>. It makes developing systems-based CSS faster, easier, and more fun.</p>
<h3>{{_i}}Why LESS?{{/i}}</h3> <h3>Why LESS?</h3>
<p>{{_i}}One of Bootstrap's creators wrote a quick <a href="http://www.wordsbyf.at/2012/03/08/why-less/">blog post about this</a>, summarized here:{{/i}}</p> <p>One of Bootstrap's creators wrote a quick <a href="http://www.wordsbyf.at/2012/03/08/why-less/">blog post about this</a>, summarized here:</p>
<ul> <ul>
<li>{{_i}}Bootstrap compiles faster ~6x faster with Less compared to Sass{{/i}}</li> <li>Bootstrap compiles faster ~6x faster with Less compared to Sass</li>
<li>{{_i}}Less is written in JavaScript, making it easier to us to dive in and patch compared to Ruby with Sass.{{/i}}</li> <li>Less is written in JavaScript, making it easier to us to dive in and patch compared to Ruby with Sass.</li>
<li>{{_i}}Less is more; we want to feel like we're writing CSS and making Bootstrap approachable to all.{{/i}}</li> <li>Less is more; we want to feel like we're writing CSS and making Bootstrap approachable to all.</li>
</ul> </ul>
<h3>{{_i}}What's included?{{/i}}</h3> <h3>What's included?</h3>
<p>{{_i}}As an extension of CSS, LESS includes variables, mixins for reusable snippets of code, operations for simple math, nesting, and even color functions.{{/i}}</p> <p>As an extension of CSS, LESS includes variables, mixins for reusable snippets of code, operations for simple math, nesting, and even color functions.</p>
<h3>{{_i}}Learn more{{/i}}</h3> <h3>Learn more</h3>
<p>{{_i}}Visit the official website at <a href="http://lesscss.org">http://lesscss.org</a> to learn more.{{/i}}</p> <p>Visit the official website at <a href="http://lesscss.org">http://lesscss.org</a> to learn more.</p>
</section> </section>
@@ -54,46 +54,46 @@
================================================== --> ================================================== -->
<section id="compiling"> <section id="compiling">
<div class="page-header"> <div class="page-header">
<h1>{{_i}}Compiling Bootstrap with Less{{/i}}</h1> <h1>Compiling Bootstrap with Less</h1>
</div> </div>
<p class="lead">{{_i}}Since our CSS is written with Less and utilizes variables and mixins, it needs to be compiled for final production implementation. Here's how.{{/i}}</p> <p class="lead">Since our CSS is written with Less and utilizes variables and mixins, it needs to be compiled for final production implementation. Here's how.</p>
<div class="alert alert-info"> <div class="alert alert-info">
{{_i}}<strong>Note:</strong> If you're submitting a pull request to GitHub with modified CSS, you <strong>must</strong> recompile the CSS via any of these methods.{{/i}} <strong>Note:</strong> If you're submitting a pull request to GitHub with modified CSS, you <strong>must</strong> recompile the CSS via any of these methods.
</div> </div>
<h2>{{_i}}Tools for compiling{{/i}}</h2> <h2>Tools for compiling</h2>
<h3>{{_i}}Node with makefile{{/i}}</h3> <h3>Node with makefile</h3>
<p>{{_i}}Install the LESS command line compiler, JSHint, Recess, and uglify-js globally with npm by running the following command:{{/i}}</p> <p>Install the LESS command line compiler, JSHint, Recess, and uglify-js globally with npm by running the following command:</p>
<pre>$ npm install -g less jshint recess uglify-js</pre> <pre>$ npm install -g less jshint recess uglify-js</pre>
<p>{{_i}}Once installed just run <code>make</code> from the root of your bootstrap directory and you're all set.{{/i}}</p> <p>Once installed just run <code>make</code> from the root of your bootstrap directory and you're all set.</p>
<p>{{_i}}Additionally, if you have <a href="https://github.com/mynyml/watchr">watchr</a> installed, you may run <code>make watch</code> to have bootstrap automatically rebuilt every time you edit a file in the bootstrap lib (this isn't required, just a convenience method).{{/i}}</p> <p>Additionally, if you have <a href="https://github.com/mynyml/watchr">watchr</a> installed, you may run <code>make watch</code> to have bootstrap automatically rebuilt every time you edit a file in the bootstrap lib (this isn't required, just a convenience method).</p>
<h3>{{_i}}Command line{{/i}}</h3> <h3>Command line</h3>
<p>{{_i}}Install the LESS command line tool via Node and run the following command:{{/i}}</p> <p>Install the LESS command line tool via Node and run the following command:</p>
<pre>$ lessc ./less/bootstrap.less > bootstrap.css</pre> <pre>$ lessc ./less/bootstrap.less > bootstrap.css</pre>
<p>{{_i}}Be sure to include <code>--compress</code> in that command if you're trying to save some bytes!{{/i}}</p> <p>Be sure to include <code>--compress</code> in that command if you're trying to save some bytes!</p>
<h3>{{_i}}JavaScript{{/i}}</h3> <h3>JavaScript</h3>
<p>{{_i}}<a href="http://lesscss.org/">Download the latest Less.js</a> and include the path to it (and Bootstrap) in the <code>&lt;head&gt;</code>.{{/i}}</p> <p><a href="http://lesscss.org/">Download the latest Less.js</a> and include the path to it (and Bootstrap) in the <code>&lt;head&gt;</code>.</p>
<pre class="prettyprint"> <pre class="prettyprint">
&lt;link rel="stylesheet/less" href="/path/to/bootstrap.less"&gt; &lt;link rel="stylesheet/less" href="/path/to/bootstrap.less"&gt;
&lt;script src="/path/to/less.js"&gt;&lt;/script&gt; &lt;script src="/path/to/less.js"&gt;&lt;/script&gt;
</pre> </pre>
<p>{{_i}}To recompile the .less files, just save them and reload your page. Less.js compiles them and stores them in local storage.{{/i}}</p> <p>To recompile the .less files, just save them and reload your page. Less.js compiles them and stores them in local storage.</p>
<h3>{{_i}}Unofficial Mac app{{/i}}</h3> <h3>Unofficial Mac app</h3>
<p>{{_i}}<a href="http://incident57.com/less/">The unofficial Mac app</a> watches directories of .less files and compiles the code to local files after every save of a watched .less file. If you like, you can toggle preferences in the app for automatic minifying and which directory the compiled files end up in.{{/i}}</p> <p><a href="http://incident57.com/less/">The unofficial Mac app</a> watches directories of .less files and compiles the code to local files after every save of a watched .less file. If you like, you can toggle preferences in the app for automatic minifying and which directory the compiled files end up in.</p>
<h3>{{_i}}More apps{{/i}}</h3> <h3>More apps</h3>
<h4><a href="http://crunchapp.net/" target="_blank">Crunch</a></h4> <h4><a href="http://crunchapp.net/" target="_blank">Crunch</a></h4>
<p>{{_i}}Crunch is a great looking LESS editor and compiler built on Adobe Air.{{/i}}</p> <p>Crunch is a great looking LESS editor and compiler built on Adobe Air.</p>
<h4><a href="http://incident57.com/codekit/" target="_blank">CodeKit</a></h4> <h4><a href="http://incident57.com/codekit/" target="_blank">CodeKit</a></h4>
<p>{{_i}}Created by the same guy as the unofficial Mac app, CodeKit is a Mac app that compiles LESS, SASS, Stylus, and CoffeeScript.{{/i}}</p> <p>Created by the same guy as the unofficial Mac app, CodeKit is a Mac app that compiles LESS, SASS, Stylus, and CoffeeScript.</p>
<h4><a href="http://wearekiss.com/simpless" target="_blank">Simpless</a></h4> <h4><a href="http://wearekiss.com/simpless" target="_blank">Simpless</a></h4>
<p>{{_i}}Mac, Linux, and Windows app for drag and drop compiling of LESS files. Plus, the <a href="https://github.com/Paratron/SimpLESS" target="_blank">source code is on GitHub</a>.{{/i}}</p> <p>Mac, Linux, and Windows app for drag and drop compiling of LESS files. Plus, the <a href="https://github.com/Paratron/SimpLESS" target="_blank">source code is on GitHub</a>.</p>
</section> </section>
@@ -103,12 +103,12 @@
================================================== --> ================================================== -->
<section id="static-assets"> <section id="static-assets">
<div class="page-header"> <div class="page-header">
<h1>{{_i}}Use as static assets{{/i}}</h1> <h1>Use as static assets</h1>
</div> </div>
<p class="lead">{{_i}}<a href="./getting-started.html">Quickly start</a> any web project by dropping in the compiled or minified CSS and JS. Layer on custom styles separately for easy upgrades and maintenance moving forward.{{/i}}</p> <p class="lead"><a href="./getting-started.html">Quickly start</a> any web project by dropping in the compiled or minified CSS and JS. Layer on custom styles separately for easy upgrades and maintenance moving forward.</p>
<h3>{{_i}}Setup file structure{{/i}}</h3> <h3>Setup file structure</h3>
<p>{{_i}}Download the latest compiled Bootstrap and place into your project. For example, you might have something like this:{{/i}}</p> <p>Download the latest compiled Bootstrap and place into your project. For example, you might have something like this:</p>
<pre> <pre>
<span class="icon-folder-open"></span> app/ <span class="icon-folder-open"></span> app/
<span class="icon-folder-open"></span> layouts/ <span class="icon-folder-open"></span> layouts/
@@ -123,8 +123,8 @@
<span class="icon-file"></span> glyphicons-halflings-white.png <span class="icon-file"></span> glyphicons-halflings-white.png
</pre> </pre>
<h3>{{_i}}Utilize starter template{{/i}}</h3> <h3>Utilize starter template</h3>
<p>{{_i}}Copy the following base HTML to get started.{{/i}}</p> <p>Copy the following base HTML to get started.</p>
<pre class="prettyprint linenums"> <pre class="prettyprint linenums">
&lt;html&gt; &lt;html&gt;
&lt;head&gt; &lt;head&gt;
@@ -140,8 +140,8 @@
&lt;/html&gt; &lt;/html&gt;
</pre> </pre>
<h3>{{_i}}Layer on custom code{{/i}}</h3> <h3>Layer on custom code</h3>
<p>{{_i}}Work in your custom CSS, JS, and more as necessary to make Bootstrap your own with your own separate CSS and JS files.{{/i}}</p> <p>Work in your custom CSS, JS, and more as necessary to make Bootstrap your own with your own separate CSS and JS files.</p>
<pre class="prettyprint linenums"> <pre class="prettyprint linenums">
&lt;html&gt; &lt;html&gt;
&lt;head&gt; &lt;head&gt;

View File

@@ -2,8 +2,8 @@
================================================== --> ================================================== -->
<header class="jumbotron subhead" id="overview"> <header class="jumbotron subhead" id="overview">
<div class="container"> <div class="container">
<h1>{{_i}}Gallery{{/i}}</h1> <h1>Gallery</h1>
<p class="lead">{{_i}}Showcase of sites using Bootstrap.{{/i}}</p> <p class="lead">Showcase of sites using Bootstrap.</p>
</div> </div>
</header> </header>

View File

@@ -2,8 +2,8 @@
================================================== --> ================================================== -->
<header class="jumbotron subhead" id="overview"> <header class="jumbotron subhead" id="overview">
<div class="container"> <div class="container">
<h1>{{_i}}Getting started{{/i}}</h1> <h1>Getting started</h1>
<p class="lead">{{_i}}Overview of the project, its contents, and how to get started with a simple template.{{/i}}</p> <p class="lead">Overview of the project, its contents, and how to get started with a simple template.</p>
</div> </div>
</header> </header>
@@ -15,12 +15,12 @@
<div class="row"> <div class="row">
<div class="span3 bs-docs-sidebar"> <div class="span3 bs-docs-sidebar">
<ul class="nav nav-list bs-docs-sidenav"> <ul class="nav nav-list bs-docs-sidenav">
<li><a href="#download-bootstrap"><i class="glyphicon-chevron-right"></i> {{_i}}Download{{/i}}</a></li> <li><a href="#download-bootstrap"><i class="glyphicon-chevron-right"></i> Download</a></li>
<li><a href="#file-structure"><i class="glyphicon-chevron-right"></i> {{_i}}File structure{{/i}}</a></li> <li><a href="#file-structure"><i class="glyphicon-chevron-right"></i> File structure</a></li>
<li><a href="#contents"><i class="glyphicon-chevron-right"></i> {{_i}}What's included{{/i}}</a></li> <li><a href="#contents"><i class="glyphicon-chevron-right"></i> What's included</a></li>
<li><a href="#html-template"><i class="glyphicon-chevron-right"></i> {{_i}}HTML template{{/i}}</a></li> <li><a href="#html-template"><i class="glyphicon-chevron-right"></i> HTML template</a></li>
<li><a href="#examples"><i class="glyphicon-chevron-right"></i> {{_i}}Examples{{/i}}</a></li> <li><a href="#examples"><i class="glyphicon-chevron-right"></i> Examples</a></li>
<li><a href="#what-next"><i class="glyphicon-chevron-right"></i> {{_i}}What next?{{/i}}</a></li> <li><a href="#what-next"><i class="glyphicon-chevron-right"></i> What next?</a></li>
</ul> </ul>
</div> </div>
<div class="span9"> <div class="span9">
@@ -31,20 +31,20 @@
================================================== --> ================================================== -->
<section id="download-bootstrap"> <section id="download-bootstrap">
<div class="page-header"> <div class="page-header">
<h1>{{_i}}1. Download{{/i}}</h1> <h1>1. Download</h1>
</div> </div>
<p class="lead">{{_i}}Before downloading, be sure to have a code editor (we recommend <a href="http://sublimetext.com/2">Sublime Text 2</a>) and some working knowledge of HTML and CSS. We won't walk through the source files here, but they are available for download. We'll focus on getting started with the compiled Bootstrap files.{{/i}}</p> <p class="lead">Before downloading, be sure to have a code editor (we recommend <a href="http://sublimetext.com/2">Sublime Text 2</a>) and some working knowledge of HTML and CSS. We won't walk through the source files here, but they are available for download. We'll focus on getting started with the compiled Bootstrap files.</p>
<div class="row"> <div class="row">
<div class="span6"> <div class="span6">
<h2>{{_i}}Download compiled{{/i}}</h2> <h2>Download compiled</h2>
<p>{{_i}}<strong>Fastest way to get started:</strong> get the compiled and minified versions of our CSS, JS, and images. No docs or original source files.{{/i}}</p> <p><strong>Fastest way to get started:</strong> get the compiled and minified versions of our CSS, JS, and images. No docs or original source files.</p>
<p><a class="btn btn-large btn-primary" href="assets/bootstrap.zip" {{#production}}onclick="_gaq.push(['_trackEvent', 'Getting started', 'Download', 'Download compiled']);"{{/production}}>{{_i}}Download Bootstrap{{/i}}</a></p> <p><a class="btn btn-large btn-primary" href="assets/bootstrap.zip" {{#production}}onclick="_gaq.push(['_trackEvent', 'Getting started', 'Download', 'Download compiled']);"{{/production}}>Download Bootstrap</a></p>
</div> </div>
<div class="span6"> <div class="span6">
<h2>Download source</h2> <h2>Download source</h2>
<p>Get the original files for all CSS and JavaScript, along with a local copy of the docs by downloading the latest version directly from GitHub.</p> <p>Get the original files for all CSS and JavaScript, along with a local copy of the docs by downloading the latest version directly from GitHub.</p>
<p><a class="btn btn-large" href="https://github.com/twitter/bootstrap/zipball/master" {{#production}}onclick="_gaq.push(['_trackEvent', 'Getting started', 'Download', 'Download source']);"{{/production}}>{{_i}}Download Bootstrap source{{/i}}</a></p> <p><a class="btn btn-large" href="https://github.com/twitter/bootstrap/zipball/master" {{#production}}onclick="_gaq.push(['_trackEvent', 'Getting started', 'Download', 'Download source']);"{{/production}}>Download Bootstrap source</a></p>
</div> </div>
</div> </div>
</section> </section>
@@ -55,10 +55,10 @@
================================================== --> ================================================== -->
<section id="file-structure"> <section id="file-structure">
<div class="page-header"> <div class="page-header">
<h1>{{_i}}2. File structure{{/i}}</h1> <h1>2. File structure</h1>
</div> </div>
<p class="lead">{{_i}}Within the download you'll find the following file structure and contents, logically grouping common assets and providing both compiled and minified variations.{{/i}}</p> <p class="lead">Within the download you'll find the following file structure and contents, logically grouping common assets and providing both compiled and minified variations.</p>
<p>{{_i}}Once downloaded, unzip the compressed folder to see the structure of (the compiled) Bootstrap. You'll see something like this:{{/i}}</p> <p>Once downloaded, unzip the compressed folder to see the structure of (the compiled) Bootstrap. You'll see something like this:</p>
<pre class="prettyprint"> <pre class="prettyprint">
bootstrap/ bootstrap/
├── css/ ├── css/
@@ -71,8 +71,8 @@
├── glyphicons-halflings.png ├── glyphicons-halflings.png
└── glyphicons-halflings-white.png └── glyphicons-halflings-white.png
</pre> </pre>
<p>{{_i}}This is the most basic form of Bootstrap: compiled files for quick drop-in usage in nearly any web project. We provide compiled CSS and JS (<code>bootstrap.*</code>), as well as compiled and minified CSS and JS (<code>bootstrap.min.*</code>). The image files are compressed using <a href="http://imageoptim.com/">ImageOptim</a>, a Mac app for compressing PNGs.{{/i}}</p> <p>This is the most basic form of Bootstrap: compiled files for quick drop-in usage in nearly any web project. We provide compiled CSS and JS (<code>bootstrap.*</code>), as well as compiled and minified CSS and JS (<code>bootstrap.min.*</code>). The image files are compressed using <a href="http://imageoptim.com/">ImageOptim</a>, a Mac app for compressing PNGs.</p>
<p>{{_i}}Please note that all JavaScript plugins require jQuery to be included.{{/i}}</p> <p>Please note that all JavaScript plugins require jQuery to be included.</p>
</section> </section>
@@ -81,42 +81,42 @@
================================================== --> ================================================== -->
<section id="contents"> <section id="contents">
<div class="page-header"> <div class="page-header">
<h1>{{_i}}3. What's included{{/i}}</h1> <h1>3. What's included</h1>
</div> </div>
<p class="lead">{{_i}}Bootstrap comes equipped with HTML, CSS, and JS for all sorts of things, but they can be summarized with a handful of categories visible at the top of the <a href="http://getbootstrap.com">Bootstrap documentation</a>.{{/i}}</p> <p class="lead">Bootstrap comes equipped with HTML, CSS, and JS for all sorts of things, but they can be summarized with a handful of categories visible at the top of the <a href="http://getbootstrap.com">Bootstrap documentation</a>.</p>
<h2>{{_i}}Docs sections{{/i}}</h2> <h2>Docs sections</h2>
<h4><a href="http://twitter.github.com/bootstrap/scaffolding.html">{{_i}}Scaffolding{{/i}}</a></h4> <h4><a href="http://twitter.github.com/bootstrap/scaffolding.html">Scaffolding</a></h4>
<p>{{_i}}Global styles for the body to reset type and background, link styles, grid system, and two simple layouts.{{/i}}</p> <p>Global styles for the body to reset type and background, link styles, grid system, and two simple layouts.</p>
<h4><a href="http://twitter.github.com/bootstrap/base-css.html">{{_i}}Base CSS{{/i}}</a></h4> <h4><a href="http://twitter.github.com/bootstrap/base-css.html">Base CSS</a></h4>
<p>{{_i}}Styles for common HTML elements like typography, code, tables, forms, and buttons. Also includes <a href="http://glyphicons.com">Glyphicons</a>, a great little icon set.{{/i}}</p> <p>Styles for common HTML elements like typography, code, tables, forms, and buttons. Also includes <a href="http://glyphicons.com">Glyphicons</a>, a great little icon set.</p>
<h4><a href="http://twitter.github.com/bootstrap/components.html">{{_i}}Components{{/i}}</a></h4> <h4><a href="http://twitter.github.com/bootstrap/components.html">Components</a></h4>
<p>{{_i}}Basic styles for common interface components like tabs and pills, navbar, alerts, page headers, and more.{{/i}}</p> <p>Basic styles for common interface components like tabs and pills, navbar, alerts, page headers, and more.</p>
<h4><a href="http://twitter.github.com/bootstrap/javascript.html">{{_i}}JavaScript plugins{{/i}}</a></h4> <h4><a href="http://twitter.github.com/bootstrap/javascript.html">JavaScript plugins</a></h4>
<p>{{_i}}Similar to Components, these JavaScript plugins are interactive components for things like tooltips, popovers, modals, and more.{{/i}}</p> <p>Similar to Components, these JavaScript plugins are interactive components for things like tooltips, popovers, modals, and more.</p>
<h2>{{_i}}List of components{{/i}}</h2> <h2>List of components</h2>
<p>{{_i}}Together, the <strong>Components</strong> and <strong>JavaScript plugins</strong> sections provide the following interface elements:{{/i}}</p> <p>Together, the <strong>Components</strong> and <strong>JavaScript plugins</strong> sections provide the following interface elements:</p>
<ul> <ul>
<li>{{_i}}Button groups{{/i}}</li> <li>Button groups</li>
<li>{{_i}}Button dropdowns{{/i}}</li> <li>Button dropdowns</li>
<li>{{_i}}Navigational tabs, pills, and lists{{/i}}</li> <li>Navigational tabs, pills, and lists</li>
<li>{{_i}}Navbar{{/i}}</li> <li>Navbar</li>
<li>{{_i}}Labels{{/i}}</li> <li>Labels</li>
<li>{{_i}}Badges{{/i}}</li> <li>Badges</li>
<li>{{_i}}Page headers and hero unit{{/i}}</li> <li>Page headers and hero unit</li>
<li>{{_i}}Thumbnails{{/i}}</li> <li>Thumbnails</li>
<li>{{_i}}Alerts{{/i}}</li> <li>Alerts</li>
<li>{{_i}}Progress bars{{/i}}</li> <li>Progress bars</li>
<li>{{_i}}Modals{{/i}}</li> <li>Modals</li>
<li>{{_i}}Dropdowns{{/i}}</li> <li>Dropdowns</li>
<li>{{_i}}Tooltips{{/i}}</li> <li>Tooltips</li>
<li>{{_i}}Popovers{{/i}}</li> <li>Popovers</li>
<li>{{_i}}Accordion{{/i}}</li> <li>Accordion</li>
<li>{{_i}}Carousel{{/i}}</li> <li>Carousel</li>
<li>{{_i}}Typeahead{{/i}}</li> <li>Typeahead</li>
</ul> </ul>
<p>{{_i}}In future guides, we may walk through these components individually in more detail. Until then, look for each of these in the documentation for information on how to utilize and customize them.{{/i}}</p> <p>In future guides, we may walk through these components individually in more detail. Until then, look for each of these in the documentation for information on how to utilize and customize them.</p>
</section> </section>
@@ -125,10 +125,10 @@
================================================== --> ================================================== -->
<section id="html-template"> <section id="html-template">
<div class="page-header"> <div class="page-header">
<h1>{{_i}}4. Basic HTML template{{/i}}</h1> <h1>4. Basic HTML template</h1>
</div> </div>
<p class="lead">{{_i}}With a brief intro into the contents out of the way, we can focus on putting Bootstrap to use. To do that, we'll utilize a basic HTML template that includes everything we mentioned in the <a href="#file-structure">File structure</a>.{{/i}}</p> <p class="lead">With a brief intro into the contents out of the way, we can focus on putting Bootstrap to use. To do that, we'll utilize a basic HTML template that includes everything we mentioned in the <a href="#file-structure">File structure</a>.</p>
<p>{{_i}}Now, here's a look at a <strong>typical HTML file</strong>:{{/i}}</p> <p>Now, here's a look at a <strong>typical HTML file</strong>:</p>
<pre class="prettyprint linenums"> <pre class="prettyprint linenums">
&lt;!DOCTYPE html&gt; &lt;!DOCTYPE html&gt;
&lt;html&gt; &lt;html&gt;
@@ -141,7 +141,7 @@
&lt;/body&gt; &lt;/body&gt;
&lt;/html&gt; &lt;/html&gt;
</pre> </pre>
<p>{{_i}}To make this <strong>a Bootstrapped template</strong>, just include the appropriate CSS and JS files:{{/i}}</p> <p>To make this <strong>a Bootstrapped template</strong>, just include the appropriate CSS and JS files:</p>
<pre class="prettyprint linenums"> <pre class="prettyprint linenums">
&lt;!DOCTYPE html&gt; &lt;!DOCTYPE html&gt;
&lt;html&gt; &lt;html&gt;
@@ -157,7 +157,7 @@
&lt;/body&gt; &lt;/body&gt;
&lt;/html&gt; &lt;/html&gt;
</pre> </pre>
<p>{{_i}}<strong>And you're set!</strong> With those two files added, you can begin to develop any site or application with Bootstrap.{{/i}}</p> <p><strong>And you're set!</strong> With those two files added, you can begin to develop any site or application with Bootstrap.</p>
</section> </section>
@@ -166,51 +166,51 @@
================================================== --> ================================================== -->
<section id="examples"> <section id="examples">
<div class="page-header"> <div class="page-header">
<h1>{{_i}}5. Examples{{/i}}</h1> <h1>5. Examples</h1>
</div> </div>
<p class="lead">{{_i}}Move beyond the base template with a few example layouts. We encourage folks to iterate on these examples and not simply use them as an end result.{{/i}}</p> <p class="lead">Move beyond the base template with a few example layouts. We encourage folks to iterate on these examples and not simply use them as an end result.</p>
<div class="row bootstrap-examples"> <div class="row bootstrap-examples">
<div class="span4"> <div class="span4">
<a class="thumbnail" href="examples/starter-template.html"> <a class="thumbnail" href="examples/starter-template.html">
<img src="assets/img/examples/bootstrap-example-starter.jpg" alt=""> <img src="assets/img/examples/bootstrap-example-starter.jpg" alt="">
</a> </a>
<h4>{{_i}}Starter template{{/i}}</h4> <h4>Starter template</h4>
<p>{{_i}}A barebones HTML document with all the Bootstrap CSS and JavaScript included.{{/i}}</p> <p>A barebones HTML document with all the Bootstrap CSS and JavaScript included.</p>
</div> </div>
<div class="span4"> <div class="span4">
<a class="thumbnail" href="examples/hero.html"> <a class="thumbnail" href="examples/hero.html">
<img src="assets/img/examples/bootstrap-example-hero.jpg" alt=""> <img src="assets/img/examples/bootstrap-example-hero.jpg" alt="">
</a> </a>
<h4>{{_i}}Basic marketing site{{/i}}</h4> <h4>Basic marketing site</h4>
<p>{{_i}}Featuring a hero unit for a primary message and three supporting elements.{{/i}}</p> <p>Featuring a hero unit for a primary message and three supporting elements.</p>
</div> </div>
<div class="span4"> <div class="span4">
<a class="thumbnail" href="examples/marketing-narrow.html"> <a class="thumbnail" href="examples/marketing-narrow.html">
<img src="assets/img/examples/bootstrap-example-marketing-narrow.png" alt=""> <img src="assets/img/examples/bootstrap-example-marketing-narrow.png" alt="">
</a> </a>
<h4>{{_i}}Narrow marketing{{/i}}</h4> <h4>Narrow marketing</h4>
<p>{{_i}}Slim, lightweight marketing template for small projects or teams.{{/i}}</p> <p>Slim, lightweight marketing template for small projects or teams.</p>
</div> </div>
<div class="span4"> <div class="span4">
<a class="thumbnail" href="examples/signin.html"> <a class="thumbnail" href="examples/signin.html">
<img src="assets/img/examples/bootstrap-example-signin.png" alt=""> <img src="assets/img/examples/bootstrap-example-signin.png" alt="">
</a> </a>
<h4>{{_i}}Sign in{{/i}}</h4> <h4>Sign in</h4>
<p>{{_i}}Barebones sign in form with custom, larger form controls and a flexible layout.{{/i}}</p> <p>Barebones sign in form with custom, larger form controls and a flexible layout.</p>
</div> </div>
<div class="span4"> <div class="span4">
<a class="thumbnail" href="examples/sticky-footer.html"> <a class="thumbnail" href="examples/sticky-footer.html">
<img src="assets/img/examples/bootstrap-example-sticky-footer.png" alt=""> <img src="assets/img/examples/bootstrap-example-sticky-footer.png" alt="">
</a> </a>
<h4>{{_i}}Sticky footer{{/i}}</h4> <h4>Sticky footer</h4>
<p>{{_i}}Pin a fixed-height footer to the bottom of the user's viewport.{{/i}}</p> <p>Pin a fixed-height footer to the bottom of the user's viewport.</p>
</div> </div>
<div class="span4"> <div class="span4">
<a class="thumbnail" href="examples/carousel.html"> <a class="thumbnail" href="examples/carousel.html">
<img src="assets/img/examples/bootstrap-example-carousel.png" alt=""> <img src="assets/img/examples/bootstrap-example-carousel.png" alt="">
</a> </a>
<h4>{{_i}}Carousel jumbotron{{/i}}</h4> <h4>Carousel jumbotron</h4>
<p>{{_i}}A more interactive riff on the basic marketing site featuring a prominent carousel.{{/i}}</p> <p>A more interactive riff on the basic marketing site featuring a prominent carousel.</p>
</div> </div>
</div> </div>
</section> </section>
@@ -222,11 +222,11 @@
================================================== --> ================================================== -->
<section id="what-next"> <section id="what-next">
<div class="page-header"> <div class="page-header">
<h1>{{_i}}What next?{{/i}}</h1> <h1>What next?</h1>
</div> </div>
<p class="lead">{{_i}}Head to the docs for information, examples, and code snippets, or take the next leap and customize Bootstrap for any upcoming project.{{/i}}</p> <p class="lead">Head to the docs for information, examples, and code snippets, or take the next leap and customize Bootstrap for any upcoming project.</p>
<a class="btn btn-large btn-primary" href="./scaffolding.html" {{#production}}onclick="_gaq.push(['_trackEvent', 'Getting started', 'Next steps', 'Visit docs']);"{{/production}}>{{_i}}Visit the Bootstrap docs{{/i}}</a> <a class="btn btn-large btn-primary" href="./scaffolding.html" {{#production}}onclick="_gaq.push(['_trackEvent', 'Getting started', 'Next steps', 'Visit docs']);"{{/production}}>Visit the Bootstrap docs</a>
<a class="btn btn-large" href="./customize.html" style="margin-left: 5px;" {{#production}}onclick="_gaq.push(['_trackEvent', 'Getting started', 'Next steps', 'Customize']);"{{/production}}>{{_i}}Customize Bootstrap{{/i}}</a> <a class="btn btn-large" href="./customize.html" style="margin-left: 5px;" {{#production}}onclick="_gaq.push(['_trackEvent', 'Getting started', 'Next steps', 'Customize']);"{{/production}}>Customize Bootstrap</a>
</section> </section>

View File

@@ -1,22 +1,22 @@
<div class="jumbotron masthead"> <div class="jumbotron masthead">
<div class="container"> <div class="container">
<h1>{{_i}}Bootstrap{{/i}}</h1> <h1>Bootstrap</h1>
<p>{{_i}}Sleek, intuitive, and powerful front-end framework for faster and easier web development.{{/i}}</p> <p>Sleek, intuitive, and powerful front-end framework for faster and easier web development.</p>
<p> <p>
<a href="assets/bootstrap.zip" class="btn btn-primary btn-large" {{#production}}onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Download', 'Download 3.0.0']);"{{/production}}>{{_i}}Download Bootstrap{{/i}}</a> <a href="assets/bootstrap.zip" class="btn btn-primary btn-large" {{#production}}onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Download', 'Download 3.0.0']);"{{/production}}>Download Bootstrap</a>
</p> </p>
<ul class="masthead-links"> <ul class="masthead-links">
<li> <li>
<a href="http://github.com/twitter/bootstrap" {{#production}}onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'GitHub project']);"{{/production}}>{{_i}}GitHub project{{/i}}</a> <a href="http://github.com/twitter/bootstrap" {{#production}}onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'GitHub project']);"{{/production}}>GitHub project</a>
</li> </li>
<li> <li>
<a href="./getting-started.html#examples" {{#production}}onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'Examples']);"{{/production}}>{{_i}}Examples{{/i}}</a> <a href="./getting-started.html#examples" {{#production}}onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'Examples']);"{{/production}}>Examples</a>
</li> </li>
<li> <li>
<a href="./extend.html" {{#production}}onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'Extend']);"{{/production}}>{{_i}}Extend{{/i}}</a> <a href="./extend.html" {{#production}}onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'Extend']);"{{/production}}>Extend</a>
</li> </li>
<li> <li>
{{_i}}Version 3.0.0{{/i}} Version 3.0.0
</li> </li>
</ul> </ul>
</div> </div>
@@ -26,31 +26,31 @@
<div class="marketing"> <div class="marketing">
<h1>{{_i}}Introducing Bootstrap.{{/i}}</h1> <h1>Introducing Bootstrap.</h1>
<p class="marketing-byline">{{_i}}Need reasons to love Bootstrap? Look no further.{{/i}}</p> <p class="marketing-byline">Need reasons to love Bootstrap? Look no further.</p>
<div class="row"> <div class="row">
<div class="span4"> <div class="span4">
<img class="marketing-img" src="assets/img/bs-docs-twitter-github.png"> <img class="marketing-img" src="assets/img/bs-docs-twitter-github.png">
<h2>{{_i}}By nerds, for nerds.{{/i}}</h2> <h2>By nerds, for nerds.</h2>
<p>{{_i}}Built at Twitter by <a href="http://twitter.com/mdo">@mdo</a> and <a href="http://twitter.com/fat">@fat</a>, Bootstrap utilizes <a href="http://lesscss.org">LESS CSS</a>, is compiled via <a href="http://nodejs.org">Node</a>, and is managed through <a href="http://github.com">GitHub</a> to help nerds do awesome stuff on the web.{{/i}}</p> <p>Built at Twitter by <a href="http://twitter.com/mdo">@mdo</a> and <a href="http://twitter.com/fat">@fat</a>, Bootstrap utilizes <a href="http://lesscss.org">LESS CSS</a>, is compiled via <a href="http://nodejs.org">Node</a>, and is managed through <a href="http://github.com">GitHub</a> to help nerds do awesome stuff on the web.</p>
</div> </div>
<div class="span4"> <div class="span4">
<img class="marketing-img" src="assets/img/bs-docs-responsive-illustrations.png"> <img class="marketing-img" src="assets/img/bs-docs-responsive-illustrations.png">
<h2>{{_i}}Made for everyone.{{/i}}</h2> <h2>Made for everyone.</h2>
<p>{{_i}}Bootstrap was made to not only look and behave great in the latest desktop browsers (including IE8+), but in tablet and smartphone browsers via <a href="./scaffolding.html#responsive">responsive CSS</a> as well.{{/i}}</p> <p>Bootstrap was made to not only look and behave great in the latest desktop browsers (including IE8+), but in tablet and smartphone browsers via <a href="./scaffolding.html#responsive">responsive CSS</a> as well.</p>
</div> </div>
<div class="span4"> <div class="span4">
<img class="marketing-img" src="assets/img/bs-docs-bootstrap-features.png"> <img class="marketing-img" src="assets/img/bs-docs-bootstrap-features.png">
<h2>{{_i}}Packed with features.{{/i}}</h2> <h2>Packed with features.</h2>
<p>{{_i}}A 12-column responsive <a href="./scaffolding.html#gridSystem">grid</a>, dozens of components, <a href="./javascript.html">JavaScript plugins</a>, typography, form controls, and even a <a href="./customize.html">web-based Customizer</a> to make Bootstrap your own.{{/i}}</p> <p>A 12-column responsive <a href="./scaffolding.html#gridSystem">grid</a>, dozens of components, <a href="./javascript.html">JavaScript plugins</a>, typography, form controls, and even a <a href="./customize.html">web-based Customizer</a> to make Bootstrap your own.</p>
</div> </div>
</div> </div>
<hr class="soften"> <hr class="soften">
<h1>{{_i}}Built with Bootstrap.{{/i}}</h1> <h1>Built with Bootstrap.</h1>
<p class="marketing-byline">{{_i}}For even more sites built with Bootstrap, <a href="http://builtwithbootstrap.tumblr.com/" target="_blank">visit the unofficial Tumblr</a> or <a href="./getting-started.html#examples">browse the examples</a>.{{/i}}</p> <p class="marketing-byline">For even more sites built with Bootstrap, <a href="http://builtwithbootstrap.tumblr.com/" target="_blank">visit the unofficial Tumblr</a> or <a href="./getting-started.html#examples">browse the examples</a>.</p>
<div class="row example-sites"> <div class="row example-sites">
<div class="span3"> <div class="span3">
<a class="thumbnail" href="http://soundready.fm/" target="_blank"> <a class="thumbnail" href="http://soundready.fm/" target="_blank">

File diff suppressed because it is too large Load Diff