Debian Codegraph @

js/tests/visual/alert.html

raw symbols SCIP
1 <!doctype html>
2 <html lang="en">
3 <head>
4 <meta charset="utf-8">
5 <meta name="viewport" content="width=device-width, initial-scale=1">
6 <link href="../../../dist/css/bootstrap.min.css" rel="stylesheet">
7 <title>Alert</title>
8 </head>
9 <body>
10 <div class="container">
11 <h1>Alert <small>Bootstrap Visual Test</small></h1>
12
13 <div class="alert alert-warning alert-dismissible fade show" role="alert">
14 <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
15 <strong>Holy guacamole!</strong> You should check in on some of those fields below.
16 </div>
17
18 <div class="alert alert-danger alert-dismissible fade show" role="alert">
19 <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
20 <p>
21 <strong>Oh snap!</strong> <a href="#" class="alert-link">Change a few things up</a> and try submitting again.
22 </p>
23 <p>
24 <button type="button" class="btn btn-danger">Danger</button>
25 <button type="button" class="btn btn-secondary">Secondary</button>
26 </p>
27 </div>
28
29 <div class="alert alert-danger alert-dismissible fade show" role="alert">
30 <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
31 <p>
32 <strong>Oh snap!</strong> <a href="#" class="alert-link">Change a few things up</a> and try submitting again. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum.
33 </p>
34 <p>
35 <button type="button" class="btn btn-danger">Take this action</button>
36 <button type="button" class="btn btn-primary">Or do this</button>
37 </p>
38 </div>
39
40 <div class="alert alert-warning alert-dismissible fade show" role="alert" style="transition-duration: 5s;">
41 <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
42 This alert will take 5 seconds to fade out.
43 </div>
44 </div>
45
46 <script src="../../../dist/js/bootstrap.bundle.js"></script>
47 </body>
48 </html>