-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgetFrontend.html
193 lines (164 loc) · 5.01 KB
/
getFrontend.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
.product-table-container {
max-width: 1400px;
margin: 20px auto;
padding: 20px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
border-radius: 8px;
background-color: #fff;
}
h2 {
color: #333;
}
#productTable {
width: 100%;
border-collapse: collapse;
margin-top: 20px;
}
#productTable th, #productTable td {
padding: 12px;
text-align: left;
border-bottom: 1px solid #ddd;
}
#productTable th {
background-color: #f2f2f2;
}
#productTableBody tr:hover {
background-color: #f5f5f5;
}
#productTableBody td img {
max-width: 50px;
max-height: 50px;
object-fit: cover;
border-radius: 50%;
}
#productTableBody td:last-child, #productTableBody th:last-child {
text-align: center;
}
#productTableBody td:nth-child(9) {
color: green;
}
#productTableBody td:nth-child(10), #productTableBody td:nth-child(11) {
text-align: center;
cursor: pointer;
color: #007bff;
}
#productTableBody td:nth-child(10):hover, #productTableBody td:nth-child(11):hover {
text-decoration: underline;
color: #0056b3;
}
/* Navbar styles */
.navbar {
overflow: hidden;
background-color: #333;
}
.navbar a {
float: left;
font-size: 16px;
color: white;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}
.navbar a:hover, .dropdown:hover .dropbtn {
background-color: #ddd;
color: black;
}
.navbar a.active {
background-color: #4CAF50;
color: white;
}
.dropdown {
float: left;
overflow: hidden;
}
.dropdown .dropbtn {
font-size: 16px;
border: none;
outline: none;
color: white;
padding: 14px 16px;
background-color: inherit;
font-family: inherit;
margin: 0;
}
.dropdown-content {
display: none;
position: absolute;
background-color: #f9f9f9;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
}
.dropdown-content a {
float: none;
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
text-align: left;
}
.dropdown-content a:hover {
background-color: #ddd;
}
.dropdown:hover .dropdown-content {
display: block;
}
</style>
<title>Frontend Table</title>
</head>
<body>
<div id="mainadminAuthorization"></div>
<!-- Navbar -->
<div class="navbar">
<a href="./home.html" class="active">Home</a>
<!-- First Dropdown -->
<div class="dropdown">
<button class="dropbtn">FRONTEND</button>
<div class="dropdown-content">
<a href="./createFrontend.html">Input Nilai</a>
<a href="./getFrontend.html">Lihat Tabel Nilai</a>
</div>
</div>
<!-- Second Dropdown -->
<div class="dropdown">
<button class="dropbtn">BACKEND</button>
<div class="dropdown-content">
<a href="./createBackend.html">Input Nilai</a>
<a href="./getBackend.html">Lihat Tabel Nilai</a>
</div>
</div>
</div>
<div class="product-table-container">
<h2>Daftar Frontend</h2>
<table id="productTable">
<thead>
<tr>
<!-- <th>ID</th> -->
<th>Dosen</th>
<th>Npm</th>
<th>Nama</th>
<th>Rilisjs</th>
<th>Pemanggilanjs</th>
<th>Kelengkapancss</th>
<th>CustomDomain</th>
<th>Status</th>
<th>Edit</th>
<th>Delete</th>
</tr>
</thead>
<tbody id="productTableBody"></tbody>
</table>
</div>
</body>
<!-- <script src="getblog.js"></script> -->
<!-- <script src="https://cdn.jsdelivr.net/gh/Fancypedia/repojs@0.5.4/cms/getblog.js"></script> -->
<script src="./getFrontend.js"></script>
<!-- <script type="module" src="https://cdn.jsdelivr.net/gh/Fancypedia/repojs@0.5.4/cms/inijs/main.js"></script> -->
<script type="module" src="./inijs/main.js"></script>
</html>