-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
41 lines (38 loc) · 1.27 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
40
41
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Configurable JS Table</title>
<link rel="stylesheet" href="style.css" defer>
</head>
<body>
<div class="container">
<div class="settings-panel">
<div class="url-input">
<label for="search">API Url: </label>
<input type="text" id="apiInput" />
</div>
<div>
<label for="search">Table Config: </label>
<textarea type="text" id="configInput"></textarea>
</div>
<button class="load-button" onclick="getUserInput()">Load Data</button>
<button class="reset-button" onclick="resetScreen()">Reset All</button>
</div>
<div class="table-panel">
<div class="search-input">
<label for="search">Search: </label>
<input type="text" id="search" />
</div>
<div class="table-container">
<table>
<thead id="thead"></thead>
<tbody id="tbody"></tbody>
</table>
</div>
</div>
</div>
</body>
<script src="script.js" defer></script>
</html>