-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
77 lines (72 loc) · 2.77 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<!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>