unignore bower_components
[bootswatch] / 2 / bower_components / bootstrap / docs / templates / pages / getting-started.mustache
1 <!-- Subhead
2 ================================================== -->
3 <header class="jumbotron subhead" id="overview">
4   <div class="container">
5     <h1>{{_i}}Getting started{{/i}}</h1>
6     <p class="lead">{{_i}}Overview of the project, its contents, and how to get started with a simple template.{{/i}}</p>
7   </div>
8 </header>
9
10
11   <div class="container">
12
13     <!-- Docs nav
14     ================================================== -->
15     <div class="row">
16       <div class="span3 bs-docs-sidebar">
17         <ul class="nav nav-list bs-docs-sidenav">
18           <li><a href="#download-bootstrap"><i class="icon-chevron-right"></i> {{_i}}Download{{/i}}</a></li>
19           <li><a href="#file-structure"><i class="icon-chevron-right"></i> {{_i}}File structure{{/i}}</a></li>
20           <li><a href="#contents"><i class="icon-chevron-right"></i> {{_i}}What's included{{/i}}</a></li>
21           <li><a href="#html-template"><i class="icon-chevron-right"></i> {{_i}}HTML template{{/i}}</a></li>
22           <li><a href="#examples"><i class="icon-chevron-right"></i> {{_i}}Examples{{/i}}</a></li>
23           <li><a href="#what-next"><i class="icon-chevron-right"></i> {{_i}}What next?{{/i}}</a></li>
24         </ul>
25       </div>
26       <div class="span9">
27
28
29
30         <!-- Download
31         ================================================== -->
32         <section id="download-bootstrap">
33           <div class="page-header">
34             <h1>{{_i}}1. Download{{/i}}</h1>
35           </div>
36           <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>
37
38           <div class="row-fluid">
39             <div class="span6">
40               <h2>{{_i}}Download compiled{{/i}}</h2>
41               <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>
42               <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>
43             </div>
44             <div class="span6">
45               <h2>Download source</h2>
46               <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>
47               <p><a class="btn btn-large" href="https://github.com/twbs/bootstrap/zipball/master" {{#production}}onclick="_gaq.push(['_trackEvent', 'Getting started', 'Download', 'Download source']);"{{/production}}>{{_i}}Download Bootstrap source{{/i}}</a></p>
48             </div>
49           </div>
50         </section>
51
52
53
54         <!-- File structure
55         ================================================== -->
56         <section id="file-structure">
57           <div class="page-header">
58             <h1>{{_i}}2. File structure{{/i}}</h1>
59           </div>
60           <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>
61           <p>{{_i}}Once downloaded, unzip the compressed folder to see the structure of (the compiled) Bootstrap. You'll see something like this:{{/i}}</p>
62 <pre class="prettyprint">
63   bootstrap/
64   ├── css/
65   │   ├── bootstrap.css
66   │   ├── bootstrap.min.css
67   ├── js/
68   │   ├── bootstrap.js
69   │   ├── bootstrap.min.js
70   └── img/
71       ├── glyphicons-halflings.png
72       └── glyphicons-halflings-white.png
73 </pre>
74           <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>
75           <p>{{_i}}Please note that all JavaScript plugins require jQuery to be included.{{/i}}</p>
76         </section>
77
78
79
80         <!-- Contents
81         ================================================== -->
82         <section id="contents">
83           <div class="page-header">
84             <h1>{{_i}}3. What's included{{/i}}</h1>
85           </div>
86           <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>
87
88           <h2>{{_i}}Docs sections{{/i}}</h2>
89           <h4><a href="http://twbs.github.com/bootstrap/scaffolding.html">{{_i}}Scaffolding{{/i}}</a></h4>
90           <p>{{_i}}Global styles for the body to reset type and background, link styles, grid system, and two simple layouts.{{/i}}</p>
91           <h4><a href="http://twbs.github.com/bootstrap/base-css.html">{{_i}}Base CSS{{/i}}</a></h4>
92           <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>
93           <h4><a href="http://twbs.github.com/bootstrap/components.html">{{_i}}Components{{/i}}</a></h4>
94           <p>{{_i}}Basic styles for common interface components like tabs and pills, navbar, alerts, page headers, and more.{{/i}}</p>
95           <h4><a href="http://twbs.github.com/bootstrap/javascript.html">{{_i}}JavaScript plugins{{/i}}</a></h4>
96           <p>{{_i}}Similar to Components, these JavaScript plugins are interactive components for things like tooltips, popovers, modals, and more.{{/i}}</p>
97
98           <h2>{{_i}}List of components{{/i}}</h2>
99           <p>{{_i}}Together, the <strong>Components</strong> and <strong>JavaScript plugins</strong> sections provide the following interface elements:{{/i}}</p>
100           <ul>
101             <li>{{_i}}Button groups{{/i}}</li>
102             <li>{{_i}}Button dropdowns{{/i}}</li>
103             <li>{{_i}}Navigational tabs, pills, and lists{{/i}}</li>
104             <li>{{_i}}Navbar{{/i}}</li>
105             <li>{{_i}}Labels{{/i}}</li>
106             <li>{{_i}}Badges{{/i}}</li>
107             <li>{{_i}}Page headers and hero unit{{/i}}</li>
108             <li>{{_i}}Thumbnails{{/i}}</li>
109             <li>{{_i}}Alerts{{/i}}</li>
110             <li>{{_i}}Progress bars{{/i}}</li>
111             <li>{{_i}}Modals{{/i}}</li>
112             <li>{{_i}}Dropdowns{{/i}}</li>
113             <li>{{_i}}Tooltips{{/i}}</li>
114             <li>{{_i}}Popovers{{/i}}</li>
115             <li>{{_i}}Accordion{{/i}}</li>
116             <li>{{_i}}Carousel{{/i}}</li>
117             <li>{{_i}}Typeahead{{/i}}</li>
118           </ul>
119           <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>
120         </section>
121
122
123
124         <!-- HTML template
125         ================================================== -->
126         <section id="html-template">
127           <div class="page-header">
128             <h1>{{_i}}4. Basic HTML template{{/i}}</h1>
129           </div>
130           <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="./getting-started.html#file-structure">File structure</a>.{{/i}}</p>
131           <p>{{_i}}Now, here's a look at a <strong>typical HTML file</strong>:{{/i}}</p>
132 <pre class="prettyprint linenums">
133 &lt;!DOCTYPE html&gt;
134 &lt;html&gt;
135   &lt;head&gt;
136     &lt;title&gt;Bootstrap 101 Template&lt;/title&gt;
137     &lt;meta name="viewport" content="width=device-width, initial-scale=1.0"&gt;
138   &lt;/head&gt;
139   &lt;body&gt;
140     &lt;h1&gt;Hello, world!&lt;/h1&gt;
141     &lt;script src="http://code.jquery.com/jquery.js"&gt;&lt;/script&gt;
142   &lt;/body&gt;
143 &lt;/html&gt;
144 </pre>
145           <p>{{_i}}To make this <strong>a Bootstrapped template</strong>, just include the appropriate CSS and JS files:{{/i}}</p>
146 <pre class="prettyprint linenums">
147 &lt;!DOCTYPE html&gt;
148 &lt;html&gt;
149   &lt;head&gt;
150     &lt;title&gt;Bootstrap 101 Template&lt;/title&gt;
151     &lt;meta name="viewport" content="width=device-width, initial-scale=1.0"&gt;
152     &lt;!-- Bootstrap --&gt;
153     &lt;link href="css/bootstrap.min.css" rel="stylesheet" media="screen"&gt;
154   &lt;/head&gt;
155   &lt;body&gt;
156     &lt;h1&gt;Hello, world!&lt;/h1&gt;
157     &lt;script src="http://code.jquery.com/jquery.js"&gt;&lt;/script&gt;
158     &lt;script src="js/bootstrap.min.js"&gt;&lt;/script&gt;
159   &lt;/body&gt;
160 &lt;/html&gt;
161 </pre>
162           <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>
163         </section>
164
165
166
167         <!-- Examples
168         ================================================== -->
169         <section id="examples">
170           <div class="page-header">
171             <h1>{{_i}}5. Examples{{/i}}</h1>
172           </div>
173           <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>
174           <ul class="thumbnails bootstrap-examples">
175             <li class="span3">
176               <a class="thumbnail" href="examples/starter-template.html">
177                 <img src="assets/img/examples/bootstrap-example-starter.png" alt="">
178               </a>
179               <h4>{{_i}}Starter template{{/i}}</h4>
180               <p>{{_i}}A barebones HTML document with all the Bootstrap CSS and JavaScript included.{{/i}}</p>
181             </li>
182             <li class="span3">
183               <a class="thumbnail" href="examples/hero.html">
184                 <img src="assets/img/examples/bootstrap-example-marketing.png" alt="">
185               </a>
186               <h4>{{_i}}Basic marketing site{{/i}}</h4>
187               <p>{{_i}}Featuring a hero unit for a primary message and three supporting elements.{{/i}}</p>
188             </li>
189             <li class="span3">
190               <a class="thumbnail" href="examples/fluid.html">
191                 <img src="assets/img/examples/bootstrap-example-fluid.png" alt="">
192               </a>
193               <h4>{{_i}}Fluid layout{{/i}}</h4>
194               <p>{{_i}}Uses our new responsive, fluid grid system to create a seamless liquid layout.{{/i}}</p>
195             </li>
196
197             <li class="span3">
198               <a class="thumbnail" href="examples/marketing-narrow.html">
199                 <img src="assets/img/examples/bootstrap-example-marketing-narrow.png" alt="">
200               </a>
201               <h4>{{_i}}Narrow marketing{{/i}}</h4>
202               <p>{{_i}}Slim, lightweight marketing template for small projects or teams.{{/i}}</p>
203             </li>
204             <li class="span3">
205               <a class="thumbnail" href="examples/justified-nav.html">
206                 <img src="assets/img/examples/bootstrap-example-justified-nav.png" alt="">
207               </a>
208               <h4>{{_i}}Justified nav{{/i}}</h4>
209               <p>{{_i}}Marketing page with equal-width navigation links in a modified navbar.{{/i}}</p>
210             </li>
211             <li class="span3">
212               <a class="thumbnail" href="examples/signin.html">
213                 <img src="assets/img/examples/bootstrap-example-signin.png" alt="">
214               </a>
215               <h4>{{_i}}Sign in{{/i}}</h4>
216               <p>{{_i}}Barebones sign in form with custom, larger form controls and a flexible layout.{{/i}}</p>
217             </li>
218
219             <li class="span3">
220               <a class="thumbnail" href="examples/sticky-footer.html">
221                 <img src="assets/img/examples/bootstrap-example-sticky-footer.png" alt="">
222               </a>
223               <h4>{{_i}}Sticky footer{{/i}}</h4>
224               <p>{{_i}}Pin a fixed-height footer to the bottom of the user's viewport.{{/i}}</p>
225             </li>
226             <li class="span3">
227               <a class="thumbnail" href="examples/carousel.html">
228                 <img src="assets/img/examples/bootstrap-example-carousel.png" alt="">
229               </a>
230               <h4>{{_i}}Carousel jumbotron{{/i}}</h4>
231               <p>{{_i}}A more interactive riff on the basic marketing site featuring a prominent carousel.{{/i}}</p>
232             </li>
233           </ul>
234         </section>
235
236
237
238
239         <!-- Next
240         ================================================== -->
241         <section id="what-next">
242           <div class="page-header">
243             <h1>{{_i}}What next?{{/i}}</h1>
244           </div>
245           <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>
246           <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>
247           <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>
248         </section>
249
250
251
252
253       </div>{{! /span9 }}
254     </div>{{! row}}
255
256   </div>{{! /.container }}