-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
39 lines (31 loc) · 1.14 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Modal builder</title>
<link rel="stylesheet" href="modal-builder.css"/>
</head>
<body>
<form id="modal-builder-form" action="#">
<div class="input-group">
<label for="modal-title">Modal title: </label>
<input type="text" name="modal-title" id="modal-title" />
</div>
<div class="input-group">
<label for="modal-body">Modal body: </label>
<input type="text" name="modal-body" id="modal-body" />
</div>
<div class="input-group">
<label for="modal-buttons">Modal buttons (Comma separated list): </label>
<input type="text" name="modal-buttons" id="modal-buttons" />
</div>
<div class="input-group">
<input type="submit" name="build-modal" value="Build" id="myBtn" />
</div>
</form>
<script src="modal-builder.js"></script>
<script>
new ModalBuilder("modal-builder-form");
</script>
</body>
</html>