mirror of
https://github.com/amaterasusan/notification.git
synced 2026-06-10 23:53:17 +03:00
77 lines
2.8 KiB
HTML
77 lines
2.8 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<link href="./demo.css" rel="stylesheet" type="text/css">
|
|
<link href="./notification.css" rel="stylesheet" type="text/css">
|
|
<title>Notifications</title>
|
|
</head>
|
|
|
|
<body>
|
|
<div class="container-form">
|
|
<form autocomplete="off">
|
|
<h1>Notifications</h1>
|
|
<div class="group inline">
|
|
<div class="wrapper-checkbox"><input class="custom-checkbox" type="checkbox" name="hide-prev" id="hide-prev"></div>
|
|
<label for="hide-prev">Hide previous popup(s)</label>
|
|
</div>
|
|
<div class="group inline">
|
|
<div class="wrapper-checkbox"><input class="custom-checkbox" type="checkbox" id="use-html"></div>
|
|
<label for="use-html">Use the HTML example for the title and message</label>
|
|
</div>
|
|
<div class="group inline">
|
|
<div class="wrapper-checkbox"><input class="custom-checkbox" type="checkbox" name="hide-title" id="hide-title"></div>
|
|
<label for="hide-prev">Hide Title Block</label>
|
|
</div>
|
|
<div class="group">
|
|
<input type="text" id="title" placeholder="Enter a title" value="Error">
|
|
<span class="bar"></span>
|
|
<label>Title</label>
|
|
</div>
|
|
<div class="group">
|
|
<input type="text" id="message" placeholder="Enter a message" value="An error has occurred">
|
|
<span class="bar"></span>
|
|
<label>Message</label>
|
|
</div>
|
|
<div class="group">
|
|
<input type="number" id="duration" value="10000">
|
|
<span class="bar"></span>
|
|
<label>Duration (ms)</label>
|
|
</div>
|
|
<div class="group">
|
|
<select id="position">
|
|
<option value="top-right">top right</option>
|
|
<option value="bottom-right">bottom right</option>
|
|
<option value="top-left">top left</option>
|
|
<option value="bottom-left">bottom left</option>
|
|
<option value="center">center</option>
|
|
</select>
|
|
<span class="bar"></span>
|
|
<label>Position</label>
|
|
</div>
|
|
<div class="group">
|
|
<select id="type">
|
|
<option value="error">Error</option>
|
|
<option value="success">Success</option>
|
|
<option value="info">Info</option>
|
|
<option value="warning">Warning</option>
|
|
<option value="dialog">Dialog</option>
|
|
</select>
|
|
<span class="bar"></span>
|
|
<label>Type</label>
|
|
</div>
|
|
|
|
<div class="btn-box">
|
|
<button class="btn ripple" id="show-notification" type="button">Show notification</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
|
|
<script src="./notification.js" type="text/javascript"></script>
|
|
<script src="./demo.js" type="text/javascript"></script>
|
|
</body>
|
|
|
|
</html> |