-
Notifications
You must be signed in to change notification settings - Fork 0
/
MaskAdminSearch.html
executable file
·101 lines (84 loc) · 2.38 KB
/
MaskAdminSearch.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
<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">
<style>
#formContainer {
text-align: center;
}
#optionsDropdown {
font-size: 16px;
height: 30px;
}
#searchInput {
font-size: 16px;
height: 25px;
}
#searchInputForm {
font-size: 16px;
height: 25px;
}
#submitBtn {
font-size: 16px;
height: 30px;
margin-left: 10px;
}
#submitTableSearch {
font-size: 16px;
height: 30px;
margin-left: 10px;
}
#helpText {
font-style: italic;
color: #555;
font-weight: bold;
color: #721c24;
padding: 10px;
border-radius: 5px;
margin-top: 10px;
}
#helpText.show {
background-color: #acecd8;
border: 1px solid #7aa98d;
}
</style>
<script type="module" src="js/MaskAdminSearch.js"></script>
<title>Slit Mask Search</title>
</head>
<body>
<div id="formContainer">
<form id="inputForm">
<select id="optionsDropdown">
<option value="">Search Options</option>
</select>
<input type="text" id="searchInputForm" placeholder="Search by Option..." />
<button id="submitBtn">Search Options</button>
</form>
</div>
<div id="helpText"></div>
<h2></h2>
<!-- 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; white-space: nowrap;">
<table class="mui-table mui-table--bordered" style="min-width: 100%;">
<thead class="tabHead">
<tr id="headerRow"></tr>
</thead>
<tbody id="GeneratedMaskTable"></tbody>
</table>
</div>
<div id="paginationContainer"></div>
</body>
<script type="module">
import { adminSearch } from './js/MaskAdminSearch.js';
adminSearch();
</script>