-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path23.Modal.html
52 lines (51 loc) · 2.54 KB
/
23.Modal.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Modal</title>
<!--<link rel="stylesheet" href="css/bootstrap.min.css">
<script src="js/bootstrap.js"></script>
<script src="js/bootstrap.bundle.js"></script>-->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-KyZXEAg3QhqLMpG8r+8fhAXLRk2vvoC2f3B09zVXn8CA5QIVfZOJ3BCsw2P0p/We" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-U1DAWAznBHeqEIlVSCgzq+c9gqGAJn5c/t99JyeKa9xxaYpSvHU5awsuZVVFIhvj" crossorigin="anonymous"></script>
</head>
<body>
<div class="container my-4">
<!-- JavaScript Widget -->
<!-- Modal -->
<button class="btn btn-primary" data-bs-target="#showForm"
data-bs-toggle="modal">ลงทะเบียน</button>
<div class="modal fade" id="showForm">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">แบบฟอร์มลงทะเบียน</h5>
<button class="btn-close" data-bs-dismiss="modal"></button>
</div>
<div class="modal-body">
<form>
<div class="form-group">
<label>ชื่อ</label>
<input type="text" class="form-control">
</div>
<div class="form-group">
<label>นามสกุล</label>
<input type="text" class="form-control">
</div>
<div class="form-group">
<label>เบอร์โทรศัพท์</label>
<input type="text" class="form-control">
</div>
</form>
</div>
<div class="modal-footer">
<button class="btn btn-secondary" data-bs-dismiss="modal">ยกเลิก</button>
<button class="btn btn-success">บันทึกข้อมูล</button>
</div>
</div>
</div>
</div>
</div>
</body>
</html>