-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathview.html
More file actions
90 lines (87 loc) · 3.81 KB
/
view.html
File metadata and controls
90 lines (87 loc) · 3.81 KB
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
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>22100122 김세현 학부생 view.html화면</title>
<link rel="stylesheet" href="my.css">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
</head>
<body class="addBody">
<nav class="navbar navbar-expand-md navbar-dark bg-dark fixed-top">
<a class="navbar-brand" href="#">OSS</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav me-auto">
<li class="nav-item active">
<a class="nav-link" href="#">Home <span class="visually-hidden">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Link</a>
</li>
<li class="nav-item">
<a class="nav-link disabled" href="#">Disabled</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="dropdown01" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Dropdown</a>
<div class="dropdown-menu" aria-labelledby="dropdown01">
<a class="dropdown-item" href="#">Action</a>
<a class="dropdown-item" href="#">Another action</a>
<a class="dropdown-item" href="#">Something else here</a>
</div>
</li>
</ul>
<form class="d-flex">
<input class="form-control me-2" type="text" placeholder="Search" aria-label="Search">
<button class="btn btn-outline-success" type="submit">Search</button>
</form>
</div>
</nav>
<div class="container mt-5">
<h1 class="text-center">View Page!</h1>
<table class="table">
<tbody>
<tr>
<th>종류</th>
<td>운동</td>
</tr>
<tr>
<th>취미명</th>
<td>수영</td>
</tr>
<tr>
<th>비용</th>
<td>68,000</td>
</tr>
<tr>
<th>시작날짜</th>
<td>2024-03-12</td>
</tr>
<tr>
<th>소속</th>
<td>동네 초급반</td>
</tr>
<tr>
<th>실내 가능여부</th>
<td>가능</td>
</tr>
</tbody>
</table>
<div class="text-center">
<button type="button" onclick="window.location.href='edit.html'" class="btn btn-primary" id="edit">수정</button>
<button type="button" onclick="confirmDelete()" class="btn btn-secondary" id="delete">삭제</button>
<button type="button" onclick="window.location.href='index.html'" class="btn btn-secondary" id="list">목록</button>
</div>
</div>
<script>
function confirmDelete() {
if (confirm('게시물을 삭제할까요?')) {
// Logic to delete the item can be added here
alert('게시물이 삭제되었습니다.'); // Placeholder for deletion logic
}
}
</script>
</body>
</html>