-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
28 lines (26 loc) · 1.08 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
<html>
<head>
<title>tpmstream</title>
<meta charset="utf-8">
<script defer src="https://pyscript.net/latest/pyscript.js"></script>
<link rel="stylesheet" href="https://pyscript.net/latest/pyscript.css" />
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-9ndCyUaIbzAi2FUVXJi0CjmCapSmO7SnpJef0486qhLnuZ2cdeRhO02iuK6FUUVM" crossorigin="anonymous">
<link rel="stylesheet" href="./style.css" />
</head>
<body>
<py-config>
packages = ["tpmstream"]
</py-config>
<py-script src="./main.py"></py-script>
<div class="container-fluid">
<select id="tpm-type" placeholder="Detect..." py-change="on_select()" class="form-select" aria-label="Default select example">
<option value="">Detect...</option>
</select>
<div class="input-area">
<textarea id="in" class="form-control" placeholder="Enter hexadecimal..." py-input="on_input()"></textarea>
</div>
<div id="out" class="output-area">
</div>
</div>
</body>
</html>