-
Notifications
You must be signed in to change notification settings - Fork 0
/
database.html
204 lines (197 loc) · 6.15 KB
/
database.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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Belajar Bootstrap</title>
<link
rel="stylesheet"
href="/vendor/twbs/bootstrap/dist/css/bootstrap.min.css"
/>
<link
rel="stylesheet"
href="/vendor/twbs/bootstrap/dist/assets/style.css"
/>
</head>
<body>
<div class="container">
<!-- Bagian Header -->
<div class="row">
<div class="col-md-12 header" id="site-header">
<!-- isi header -->
<header>
<h1 class="title-site">Belajar Bootstrap</h1>
<p class="description">
Belajar Membuat Template Website Dengan Bootstarp
</p>
</header>
<nav class="menus">
<ul>
<li><a href="home.html">Home</a></li>
<li><a href="#">About Us</a></li>
<li><a href="#">Portofolio</a></li>
<li><a href="form.html">Formulir</a></li>
<li><a href="database.html">Database</a></li>
</ul>
</nav>
</div>
</div>
<div class="row">
<div class="col-md-8 articles" id="site-content">
<!-- isi content -->
<button type="button" class="btn btn-primary mb-2 mt-2">
Tambah Data
</button>
<table class="table table-striped">
<thead>
<tr>
<th>Nama Belakang</th>
<th>Nama Email</th>
<th>Jurusan</th>
<th>Aksi</th>
</tr>
</thead>
<tbody>
<tr>
<td>Andi Purnomo</td>
<td>[email protected]</td>
<td>Teknik Informatika</td>
<td>
<button type="button" class="btn btn-info">Edit</button>
<button type="button" class="btn btn-success">Detail</button>
<button type="button" class="btn btn-danger">Hapus</button>
</td>
</tr>
<tr>
<td>Bagus Wardana</td>
<td>[email protected]</td>
<td>Teknik Informatika</td>
<td>
<button type="button" class="btn btn-info">Edit</button>
<button type="button" class="btn btn-success">Detail</button>
<button type="button" class="btn btn-danger">Hapus</button>
</td>
</tr>
<tr>
<td>Mabadi'ul Hasan</td>
<td>[email protected]</td>
<td>Teknik Informatika</td>
<td>
<button
type="button"
class="btn btn-info"
data-bs-toggle="modal"
data-bs-target="#exampleModal"
>
Edit
</button>
<button
type="button"
class="btn btn-success"
data-bs-toggle="modal"
data-bs-target="#exampleModal"
>
Detail
</button>
<button
type="button"
class="btn btn-danger"
data-bs-toggle="modal"
data-bs-target="#exampleModal"
>
Hapus
</button>
</td>
</tr>
</tbody>
</table>
</div>
<div class="col-md-4 sidebar" id="site-sidebar">
<!-- Isi content sidebar -->
<aside class="widgets">
<h3 class="widget-title">Menu</h3>
<ul>
<li><a href="#">Olahraga</a></li>
<li><a href="#">Politik</a></li>
<li><a href="#">Hiburan</a></li>
<li><a href="#">Games</a></li>
<li><a href="#">Sepakbola</a></li>
</ul>
</aside>
</div>
</div>
<div class="row">
<div class="col-md-12 footer" id="site-footer">
<!-- isi footer -->
<footer class="”copyright" text-center”>
<p>© 2015 onphpid.com</p>
</footer>
</div>
</div>
</div>
<!-- -->
<!-- coba modal -->
<div class="modal" tabindex="-1">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">Mau apa</h5>
<button
type="button"
class="btn-close"
data-bs-dismiss="modal"
aria-label="Close"
></button>
</div>
<div class="modal-body">
<p>Modal body text goes here.</p>
</div>
<div class="modal-footer">
<button
type="button"
class="btn btn-secondary"
data-bs-dismiss="modal"
>
Close
</button>
<button type="button" class="btn btn-primary">Save changes</button>
</div>
</div>
</div>
</div>
<!-- Modal -->
<div
class="modal fade"
id="exampleModal"
tabindex="-1"
aria-labelledby="exampleModalLabel"
aria-hidden="true"
>
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">Modal title</h5>
<button
type="button"
class="btn-close"
data-bs-dismiss="modal"
aria-label="Close"
></button>
</div>
<div class="modal-body">...</div>
<div class="modal-footer">
<button
type="button"
class="btn btn-secondary"
data-bs-dismiss="modal"
>
Close
</button>
<button type="button" class="btn btn-primary">Save changes</button>
</div>
</div>
</div>
</div>
<script src="vendor/twbs/bootstrap/dist/js/bootstrap.min.js"></script>
</body>
</html>