-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMaskPlot.html
executable file
·59 lines (48 loc) · 1.29 KB
/
MaskPlot.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
<body>
<script src="js/MaskPlot.js"></script>
<script src="jillix-svg.pan-zoom.js-e5e73ba/src/"></script>
<div id="svgPlot"></div>
<br><br>
<table class="centered-info-table-container">
<tr>
<th>Mask Design Id</th>
<th> - </th>
<th>Mask Blueprint Id</th>
<th> - </th>
<th>Mask Design Name</th>
<th> - </th>
<th>Current Use Date</th>
<th> - </th>
<th>Mask Status</th>
</tr>
<tr>
<td align="center"><div id="design-id"></div></td>
<td> - </td>
<td align="center"><div id="blue-id"></div></td>
<td> - </td>
<td align="center"><div id="design-name-id"></div></td>
<td> - </td>
<td align="center"><div id="use-date-id"></div></td>
<td> - </td>
<td align="center"><div id="mask-status-id"></div></td>
</tr>
</table>
<script type="module">
function displayPlot() {
const urlParams = new URLSearchParams(window.location.search);
const blueID = urlParams.get('blue-id');
const designID = urlParams.get('design-id');
if (blueID) {
getPlot(`blue-id=${blueID}`);
} else if (designID) {
getPlot(`design-id=${designID}`);
}
else {
console.log('blue-id not defined');
}
};
window.onload = displayPlot();
// load the Date-Use and Design ID
window.onload = loadParams();
</script>
</body>