diff options
| author | Mark Otto <[email protected]> | 2012-02-04 22:31:09 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-02-04 22:31:09 -0800 |
| commit | b297a61f82e567a5dccb99d1a01d46c5d8329e95 (patch) | |
| tree | 5be0e71beb1d7c0e6835b691d7d99e2ddf93f7ed /docs | |
| parent | 468688638d69e23141ec4abda074a36e888c12c7 (diff) | |
| download | bootstrap-b297a61f82e567a5dccb99d1a01d46c5d8329e95.tar.xz bootstrap-b297a61f82e567a5dccb99d1a01d46c5d8329e95.zip | |
#1732: make examples of alerts in docs components page dismissable
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/assets/bootstrap.zip | bin | 52410 -> 52410 bytes | |||
| -rw-r--r-- | docs/components.html | 14 | ||||
| -rw-r--r-- | docs/templates/pages/components.mustache | 14 |
3 files changed, 14 insertions, 14 deletions
diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip Binary files differindex 3656b6fd3..d4b01e1ad 100644 --- a/docs/assets/bootstrap.zip +++ b/docs/assets/bootstrap.zip diff --git a/docs/components.html b/docs/components.html index bd2e437a5..1d3971c06 100644 --- a/docs/components.html +++ b/docs/components.html @@ -1294,24 +1294,24 @@ <h3>Example alerts</h3> <p>Wrap your message and an optional close icon in a div with simple class.</p> <div class="alert"> - <a class="close">×</a> + <a class="close" data-dismiss="alert">×</a> <strong>Warning!</strong> Best check yo self, you're not looking too good. </div> <pre class="prettyprint linenums"> <div class="alert"> - <a class="close">×</a> + <a class="close data-dismiss="alert"gt;×</a> <strong>Warning!</strong> Best check yo self, you're not looking too good. </div> </pre> <p>Easily extend the standard alert message with two optional classes: <code>.alert-block</code> for more padding and text controls and <code>.alert-heading</code> for a matching heading.</p> <div class="alert alert-block"> - <a class="close">×</a> + <a class="close" data-dismiss="alert">×</a> <h4 class="alert-heading">Warning!</h4> <p>Best check yo self, you're not looking too good. Nulla vitae elit libero, a pharetra augue. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.</p> </div> <pre class="prettyprint linenums"> <div class="alert alert-block"> - <a class="close">×</a> + <a class="close" data-dismiss="alert">×</a> <h4 class="alert-heading">Warning!</h4> Best check yo self, you're not... </div> @@ -1324,7 +1324,7 @@ <div class="span4"> <h3>Error or danger</h3> <div class="alert alert-error"> - <a class="close">×</a> + <a class="close" data-dismiss="alert">×</a> <strong>Oh snap!</strong> Change a few things up and try submitting again. </div> <pre class="prettyprint linenums"> @@ -1336,7 +1336,7 @@ <div class="span4"> <h3>Success</h3> <div class="alert alert-success"> - <a class="close">×</a> + <a class="close" data-dismiss="alert">×</a> <strong>Well done!</strong> You successfully read this important alert message. </div> <pre class="prettyprint linenums"> @@ -1348,7 +1348,7 @@ <div class="span4"> <h3>Information</h3> <div class="alert alert-info"> - <a class="close">×</a> + <a class="close" data-dismiss="alert">×</a> <strong>Heads up!</strong> This alert needs your attention, but it's not super important. </div> <pre class="prettyprint linenums"> diff --git a/docs/templates/pages/components.mustache b/docs/templates/pages/components.mustache index 1f726c35a..466a8a2e5 100644 --- a/docs/templates/pages/components.mustache +++ b/docs/templates/pages/components.mustache @@ -1218,24 +1218,24 @@ <h3>{{_i}}Example alerts{{/i}}</h3> <p>{{_i}}Wrap your message and an optional close icon in a div with simple class.{{/i}}</p> <div class="alert"> - <a class="close">×</a> + <a class="close" data-dismiss="alert">×</a> <strong>{{_i}}Warning!{{/i}}</strong> {{_i}}Best check yo self, you're not looking too good.{{/i}} </div> <pre class="prettyprint linenums"> <div class="alert"> - <a class="close">×</a> + <a class="close data-dismiss="alert"gt;×</a> <strong>{{_i}}Warning!{{/i}}</strong> {{_i}}Best check yo self, you're not looking too good.{{/i}} </div> </pre> <p>{{_i}}Easily extend the standard alert message with two optional classes: <code>.alert-block</code> for more padding and text controls and <code>.alert-heading</code> for a matching heading.{{/i}}</p> <div class="alert alert-block"> - <a class="close">×</a> + <a class="close" data-dismiss="alert">×</a> <h4 class="alert-heading">{{_i}}Warning!{{/i}}</h4> <p>{{_i}}Best check yo self, you're not looking too good.{{/i}} Nulla vitae elit libero, a pharetra augue. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.</p> </div> <pre class="prettyprint linenums"> <div class="alert alert-block"> - <a class="close">×</a> + <a class="close" data-dismiss="alert">×</a> <h4 class="alert-heading">{{_i}}Warning!{{/i}}</h4> {{_i}}Best check yo self, you're not...{{/i}} </div> @@ -1248,7 +1248,7 @@ <div class="span4"> <h3>{{_i}}Error or danger{{/i}}</h3> <div class="alert alert-error"> - <a class="close">×</a> + <a class="close" data-dismiss="alert">×</a> <strong>{{_i}}Oh snap!{{/i}}</strong> {{_i}}Change a few things up and try submitting again.{{/i}} </div> <pre class="prettyprint linenums"> @@ -1260,7 +1260,7 @@ <div class="span4"> <h3>{{_i}}Success{{/i}}</h3> <div class="alert alert-success"> - <a class="close">×</a> + <a class="close" data-dismiss="alert">×</a> <strong>{{_i}}Well done!{{/i}}</strong> {{_i}}You successfully read this important alert message.{{/i}} </div> <pre class="prettyprint linenums"> @@ -1272,7 +1272,7 @@ <div class="span4"> <h3>{{_i}}Information{{/i}}</h3> <div class="alert alert-info"> - <a class="close">×</a> + <a class="close" data-dismiss="alert">×</a> <strong>{{_i}}Heads up!{{/i}}</strong> {{_i}}This alert needs your attention, but it's not super important.{{/i}} </div> <pre class="prettyprint linenums"> |
