-
Notifications
You must be signed in to change notification settings - Fork 0
/
MaskUploadHistory.html
executable file
·46 lines (36 loc) · 1.3 KB
/
MaskUploadHistory.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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="css/Mask.css">
<link rel="stylesheet" type="text/css" href="css/mui-style.css">
<script type="module" src="js/MaskTable.js"></script>
</head>
<h3>User Mask Upload History</h3>
<!-- Search bar / page number -->
<div id="searchBar" style="display: flex; justify-content: space-between; align-items: center;">
<div id="searchInputContainer">
<input type="text" id="searchInput" placeholder="Search Table..." />
<button id="submitTableSearch" onclick="searchTable()">Search Table</button>
</div>
<div id="pageSizeContainer">
<label for="pageSizeInput">Page Size (rows):</label>
<input type="number" id="pageSizeInput" value="10" min="1" onchange="updatePageSize()" />
</div>
</div>
<div style="overflow-x: auto;">
<table id="BasicMaskTable">
<thead class="tabHead">
<tr id="headerRow"></tr>
</thead>
<tbody id="GeneratedMaskTable"></tbody>
</table>
</div>
<div id="paginationContainer"></div>
<script type="module">
import { displayTable } from './js/MaskTable.js';
const apiUrl = '/user-file-upload-history';
let options = ['Plot', 'Details', 'Fits File'];
displayTable(apiUrl, options);
</script>