| 1 |
<!doctype html> |
| 2 |
<html lang="en"> |
| 3 |
<head> |
| 4 |
<meta charset="utf-8"> |
| 5 |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> |
| 6 |
<meta name="description" content="Alertify.js is a lightweight brower alert and dialog plugin."> |
| 7 |
<meta name="viewport" content="width=device-width, initial-scale=1"> |
| 8 |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.5/css/bootstrap.min.css"> |
| 9 |
<title>alertify.js</title> |
| 10 |
</head> |
| 11 |
<body> |
| 12 |
<div class="container"> |
| 13 |
<h5>Alert Dialog</h5> |
| 14 |
<button class="btn btn-default" id="alert">Try It</button><br> |
| 15 |
<h5>Confirm Dialog</h5> |
| 16 |
<button class="btn btn-default" id="confirm">Try It</button><br> |
| 17 |
<h5>Prompt Dialog</h5> |
| 18 |
<button class="btn btn-default" id="prompt">Try It</button> |
| 19 |
<h5>Custom Labels</h5> |
| 20 |
<button class="btn btn-default" id="labels">Try It</button> |
| 21 |
<h5>Ajax - Multiple Dialog</h5> |
| 22 |
<button class="btn btn-default" id="ajax">Try It</button> |
| 23 |
<h5>Standard Log</h5> |
| 24 |
<button class="btn btn-default" id="notification">Try It</button> |
| 25 |
<h5>Standard Log With HTML</h5> |
| 26 |
<p>HTML works just fine in log messages. Have at it!</p> |
| 27 |
<button class="btn btn-default" id="notification-html">Try It</button> |
| 28 |
<h5>Standard Log with callback</h5> |
| 29 |
<button class="btn btn-default" id="notification-callback">Try It</button> |
| 30 |
<h5>Success Log</h5> |
| 31 |
<button class="btn btn-default" id="success">Try It</button> |
| 32 |
<h5>Success Log with callback</h5> |
| 33 |
<button class="btn btn-default" id="success-callback">Try It</button> |
| 34 |
<h5>Error Log</h5> |
| 35 |
<button class="btn btn-default" id="error">Try It</button> |
| 36 |
<h5>Error Log with callback</h5> |
| 37 |
<button class="btn btn-default" id="error-callback">Try It</button> |
| 38 |
<h5>Closing Log On Click</h5> |
| 39 |
<button class="btn btn-default" id="click-to-close">Try It</button> |
| 40 |
<h5>Disable Log On Click</h5> |
| 41 |
<button class="btn btn-default" id="disable-click-to-close">Try It</button> |
| 42 |
<h5>Hide in 10 seconds</h5> |
| 43 |
<button class="btn btn-default" id="delay">Try It</button> |
| 44 |
<h5>Persistent Log</h5> |
| 45 |
<button class="btn btn-default" id="forever">Try It</button> |
| 46 |
<h5>Maximum Number of Log Messages</h5> |
| 47 |
<button class="btn btn-default" id="max-log-items">Try It</button> |
| 48 |
</div> |
| 49 |
<script src="js/all.js"></script> |
| 50 |
<script> |
| 51 |
alertify.theme("bootstrap"); |
| 52 |
</script> |
| 53 |
</body> |
| 54 |
</html> |