aboutsummaryrefslogtreecommitdiff
path: root/docs/_includes/components/alerts.html
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2014-12-04 19:18:29 -0800
committerChris Rebert <[email protected]>2014-12-04 19:18:29 -0800
commit0c5a5563b271a6a15db7452f8f4878d4bd797074 (patch)
tree5797ffeb3d82a32395e5553e90a5adf2a7ad1980 /docs/_includes/components/alerts.html
parentac49a0990689439be471752f6c5ea8a91256ad32 (diff)
parent44447eeefe61dbb16cab59900c3c061d9f207fbc (diff)
downloadbootstrap-0c5a5563b271a6a15db7452f8f4878d4bd797074.tar.xz
bootstrap-0c5a5563b271a6a15db7452f8f4878d4bd797074.zip
Merge pull request #15214 from twbs/example-ids
Give all embedded live docs examples data-example-id attrs [skip sauce]
Diffstat (limited to 'docs/_includes/components/alerts.html')
-rw-r--r--docs/_includes/components/alerts.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/_includes/components/alerts.html b/docs/_includes/components/alerts.html
index 4edcdd211..717308354 100644
--- a/docs/_includes/components/alerts.html
+++ b/docs/_includes/components/alerts.html
@@ -11,7 +11,7 @@
<p>Alerts don't have default classes, only base and modifier classes. A default gray alert doesn't make too much sense, so you're required to specify a type via contextual class. Choose from success, info, warning, or danger.</p>
</div>
- <div class="bs-example">
+ <div class="bs-example" data-example-id="simple-alerts">
<div class="alert alert-success" role="alert">
<strong>Well done!</strong> You successfully read this important alert message.
</div>
@@ -38,7 +38,7 @@
<h4>Requires JavaScript alert plugin</h4>
<p>For fully functioning, dismissible alerts, you must use the <a href="../javascript/#alerts">alerts JavaScript plugin</a>.</p>
</div>
- <div class="bs-example">
+ <div class="bs-example" data-example-id="dismissible-alert-css">
<div class="alert alert-warning alert-dismissible" role="alert">
<button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
<strong>Warning!</strong> Better check yourself, you're not looking too good.
@@ -58,7 +58,7 @@
<h2 id="alerts-links">Links in alerts</h2>
<p>Use the <code>.alert-link</code> utility class to quickly provide matching colored links within any alert.</p>
- <div class="bs-example">
+ <div class="bs-example" data-example-id="alerts-with-links">
<div class="alert alert-success" role="alert">
<strong>Well done!</strong> You successfully read <a href="#" class="alert-link">this important alert message</a>.
</div>