0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-17 09:52:29 +01:00

Merge branch 'noahblon-master' into 2.0.1-wip

Conflicts:
	docs/assets/bootstrap.zip
This commit is contained in:
Mark Otto 2012-02-05 01:26:44 -08:00
commit 9b5b8460b4
7 changed files with 18 additions and 18 deletions

Binary file not shown.

View File

@ -1014,9 +1014,9 @@ For example, <code>section</code> should be wrapped as inline.
</div>
</div>
<div class="control-group warning">
<label class="control-label" for="inputError">Input with warning</label>
<label class="control-label" for="inputWarning">Input with warning</label>
<div class="controls">
<input type="text" id="inputError">
<input type="text" id="inputWarning">
<span class="help-inline">Something may have gone wrong</span>
</div>
</div>
@ -1028,9 +1028,9 @@ For example, &lt;code&gt;section&lt;/code&gt; should be wrapped as inline.
</div>
</div>
<div class="control-group success">
<label class="control-label" for="inputError">Input with success</label>
<label class="control-label" for="inputSuccess">Input with success</label>
<div class="controls">
<input type="text" id="inputError">
<input type="text" id="inputSuccess">
<span class="help-inline">Woohoo!</span>
</div>
</div>
@ -1534,11 +1534,11 @@ For example, &lt;code&gt;section&lt;/code&gt; should be wrapped as inline.
<div class="span4">
<form>
<div class="control-group">
<label class="control-label" for="prependedInput">Email address</label>
<label class="control-label" for="inputIcon">Email address</label>
<div class="controls">
<div class="input-prepend">
<span class="add-on"><i class="icon-envelope"></i></span>
<input class="span2" id="iconInput" type="text">
<input class="span2" id="inputIcon" type="text">
</div>
</div>
</div>

View File

@ -93,7 +93,7 @@
<div class="page-header">
<a class="btn btn-small pull-right toggle-all" href="#">Toggle all</a>
<h1>
1. Chose components
1. Choose components
<small>Get just the CSS you need</small>
</h1>
</div>

View File

@ -923,7 +923,7 @@ $('a[data-toggle="tab"]').on('shown', function (e) {
<hr>
<h2>Using bootstrap-alerts.js</h2>
<p>Enable dismissal of an alert via javascript:</p>
<pre class="prettyprint linenums">$(".alert-message").alert()</pre>
<pre class="prettyprint linenums">$(".alert").alert()</pre>
<h3>Markup</h3>
<p>Just add <code>data-dismiss="alert"</code> to your close button to automatically give an alert close functionality.</p>
<pre class="prettyprint linenums">&lt;a class="close" data-dismiss="alert" href="#"&gt;&amp;times;&lt;/a&gt;</pre>
@ -932,7 +932,7 @@ $('a[data-toggle="tab"]').on('shown', function (e) {
<p>Wraps all alerts with close functionality. To have your alerts animate out when closed, make sure they have the <code>.fade</code> and <code>.in</code> class already applied to them.</p>
<h4>.alert('close')</h4>
<p>Closes an alert.</p>
<pre class="prettyprint linenums">$(".alert-message").alert('close')</pre>
<pre class="prettyprint linenums">$(".alert").alert('close')</pre>
<h3>Events</h3>
<p>Bootstrap's alert class exposes a few events for hooking into alert functionality.</p>
<table class="table table-bordered table-striped">

View File

@ -938,9 +938,9 @@
</div>
</div>
<div class="control-group warning">
<label class="control-label" for="inputError">{{_i}}Input with warning{{/i}}</label>
<label class="control-label" for="inputWarning">{{_i}}Input with warning{{/i}}</label>
<div class="controls">
<input type="text" id="inputError">
<input type="text" id="inputWarning">
<span class="help-inline">{{_i}}Something may have gone wrong{{/i}}</span>
</div>
</div>
@ -952,9 +952,9 @@
</div>
</div>
<div class="control-group success">
<label class="control-label" for="inputError">{{_i}}Input with success{{/i}}</label>
<label class="control-label" for="inputSuccess">{{_i}}Input with success{{/i}}</label>
<div class="controls">
<input type="text" id="inputError">
<input type="text" id="inputSuccess">
<span class="help-inline">{{_i}}Woohoo!{{/i}}</span>
</div>
</div>
@ -1458,11 +1458,11 @@
<div class="span4">
<form>
<div class="control-group">
<label class="control-label" for="prependedInput">{{_i}}Email address{{/i}}</label>
<label class="control-label" for="inputIcon">{{_i}}Email address{{/i}}</label>
<div class="controls">
<div class="input-prepend">
<span class="add-on"><i class="icon-envelope"></i></span>
<input class="span2" id="iconInput" type="text">
<input class="span2" id="inputIcon" type="text">
</div>
</div>
</div>

View File

@ -17,7 +17,7 @@
<div class="page-header">
<a class="btn btn-small pull-right toggle-all" href="#">{{_i}}Toggle all{{/i}}</a>
<h1>
{{_i}}1. Chose components{{/i}}
{{_i}}1. Choose components{{/i}}
<small>{{_i}}Get just the CSS you need{{/i}}</small>
</h1>
</div>

View File

@ -847,7 +847,7 @@ $('a[data-toggle="tab"]').on('shown', function (e) {
<hr>
<h2>{{_i}}Using bootstrap-alerts.js{{/i}}</h2>
<p>{{_i}}Enable dismissal of an alert via javascript:{{/i}}</p>
<pre class="prettyprint linenums">$(".alert-message").alert()</pre>
<pre class="prettyprint linenums">$(".alert").alert()</pre>
<h3>{{_i}}Markup{{/i}}</h3>
<p>{{_i}}Just add <code>data-dismiss="alert"</code> to your close button to automatically give an alert close functionality.{{/i}}</p>
<pre class="prettyprint linenums">&lt;a class="close" data-dismiss="alert" href="#"&gt;&amp;times;&lt;/a&gt;</pre>
@ -856,7 +856,7 @@ $('a[data-toggle="tab"]').on('shown', function (e) {
<p>{{_i}}Wraps all alerts with close functionality. To have your alerts animate out when closed, make sure they have the <code>.fade</code> and <code>.in</code> class already applied to them.{{/i}}</p>
<h4>.alert('close')</h4>
<p>{{_i}}Closes an alert.{{/i}}</p>
<pre class="prettyprint linenums">$(".alert-message").alert('close')</pre>
<pre class="prettyprint linenums">$(".alert").alert('close')</pre>
<h3>{{_i}}Events{{/i}}</h3>
<p>{{_i}}Bootstrap's alert class exposes a few events for hooking into alert functionality.{{/i}}</p>
<table class="table table-bordered table-striped">