aboutsummaryrefslogtreecommitdiff
path: root/js/tests/visual/alert.html
diff options
context:
space:
mode:
authorJacob <[email protected]>2014-06-08 16:05:08 -0700
committerJacob <[email protected]>2014-06-08 16:05:08 -0700
commitfe74a8bb3e903c88bd84a2fdfe535013c9effa25 (patch)
tree9d089adaa854cfe23431cadb728b1a3d9ac4d6d8 /js/tests/visual/alert.html
parent5dbfdd47c57a10cc8e97e74635a4197d31c24f7c (diff)
parent91103e6d1f750bc53dce7b4720cf78a50e1baa54 (diff)
downloadbootstrap-fe74a8bb3e903c88bd84a2fdfe535013c9effa25.tar.xz
bootstrap-fe74a8bb3e903c88bd84a2fdfe535013c9effa25.zip
Merge pull request #13755 from twbs/fat-visual-test
Adds isolated visual tests for javascript plugins (decoupled from docs)....
Diffstat (limited to 'js/tests/visual/alert.html')
-rw-r--r--js/tests/visual/alert.html38
1 files changed, 38 insertions, 0 deletions
diff --git a/js/tests/visual/alert.html b/js/tests/visual/alert.html
new file mode 100644
index 000000000..688e6362c
--- /dev/null
+++ b/js/tests/visual/alert.html
@@ -0,0 +1,38 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <title>Alert</title>
+ <link rel="stylesheet" type="text/css" href="../../../dist/css/bootstrap.min.css">
+</head>
+<body>
+
+<div class="container">
+
+ <div class="page-header">
+ <h1>Alert <small>Bootstrap Visual Test</small></h1>
+ </div>
+
+ <div class="alert alert-warning fade in">
+ <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
+ <strong>Holy guacamole!</strong> Best check yo self, you're not looking too good.
+ </div>
+
+ <div class="alert alert-danger fade in">
+ <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
+ <h4>Oh snap! You got an error!</h4>
+ <p>Change this and that and try again. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum.</p>
+ <p>
+ <button type="button" class="btn btn-danger">Take this action</button>
+ <button type="button" class="btn btn-default">Or do this</button>
+ </p>
+ </div>
+
+</div>
+
+<!-- JavaScript Includes -->
+<script src="../vendor/jquery.min.js"></script>
+<script src="../../transition.js"></script>
+<script src="../../alert.js"></script>
+
+</body>
+</html>