-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
138 lines (137 loc) · 3.7 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]> <html class="no-js"> <!--<![endif]-->
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Relational Checkboxes Demo</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="demo.css">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<h4>Parents</h4>
<table class="table__settings">
<tbody>
<tr class="clickable">
<td>
<label for="parent1">
<input type="checkbox" id="parent1">
</label>
</td>
<td>
<label for="parent1" class="setting-description">
Parent 1
</label>
</td>
</tr>
<tr class="clickable">
<td>
<label for="parent2">
<input type="checkbox" id="parent2">
</label>
</td>
<td>
<label for="parent2" class="setting-description">
Parent 2
</label>
</td>
</tr>
<tr class="clickable">
<td>
<label for="parent3">
<input type="checkbox" id="parent3">
</label>
</td>
<td>
<label for="parent3" class="setting-description">
Parent 3
</label>
</td>
</tr>
<tr class="clickable">
<td>
<label for="fallback">
<input type="checkbox" id="fallback">
</label>
</td>
<td>
<label for="fallback" class="setting-description">
Fallback
</label>
</td>
</tr>
</tbody>
</table>
<h4>Children</h4>
<table class="table__settings">
<tbody>
<tr class="clickable">
<td>
<label for="child1">
<input type="checkbox" id="child1">
</label>
</td>
<td>
<label for="child1" class="setting-description">
Child 1
</label>
</td>
</tr>
<tr class="clickable">
<td>
<label for="child2">
<input type="checkbox" id="child2">
</label>
</td>
<td>
<label for="child2" class="setting-description">
Child 2
</label>
</td>
</tr>
<tr class="clickable">
<td>
<label for="child3">
<input type="checkbox" id="child3">
</label>
</td>
<td>
<label for="child3" class="setting-description">
Child 3
</label>
</td>
</tr>
<tr class="clickable">
<td>
<label for="child4">
<input type="checkbox" id="child4">
</label>
</td>
<td>
<label for="child4" class="setting-description">
Child 4
</label>
</td>
</tr>
<tr class="clickable">
<td>
<label for="child5">
<input type="checkbox" id="child5">
</label>
</td>
<td>
<label for="child5" class="setting-description">
Child 5
</label>
</td>
</tr>
</tbody>
</table>
<script src="demo.js" async defer type="module"></script>
</body>
</html>