-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmath_input.html
More file actions
47 lines (43 loc) · 2.03 KB
/
Copy pathmath_input.html
File metadata and controls
47 lines (43 loc) · 2.03 KB
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
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!-- MathLive (CDN) -->
<script src="https://cdn.jsdelivr.net/npm/mathlive/dist/mathlive.min.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/mathlive/dist/mathlive.core.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/mathlive/dist/mathlive.css">
<!-- Qt WebChannel to talk to Python (provided by Qt) -->
<script src="qrc:///qtwebchannel/qwebchannel.js" defer></script>
<!-- File kamu -->
<link rel="stylesheet" href="css/style.css" />
<script src="js/script.js" defer></script>
</head>
<body style="background: transparent !important;">
<div class="editor-row">
<div class="mf-col">
<math-field id="mf" dir="ltr" style="min-height:120px; width:100%;"></math-field>
<div id="result-panel" class="result-panel" style="display:block; position:relative; z-index:1; background:#fff; border:1px solid #ccc; padding:8px; margin-top:10px;">
<math-field id="result-math" readOnly virtual-keyboard-mode="off"></math-field>
<div id="result-text" class="result-text"></div>
</div>
<div id="tf-metrics" class="tf-metrics" hidden>
<div class="metrics-header">Transfer Function Metrics</div>
<div class="metrics-grid">
<div><label>Overshoot</label><span id="m-overshoot">—</span></div>
<div><label>Peak Time</label><span id="m-peaktime">—</span></div>
<div><label>Settling Time</label><span id="m-settling">—</span></div>
<div><label>Poles</label><span id="m-poles">—</span></div>
<div><label>Zeros</label><span id="m-zeros">—</span></div>
</div>
</div>
</div>
<div class="vk-col">
<div id="vk"></div>
<!-- Toast now lives in VK column, below the keyboard -->
<div id="vk-toast" class="toast" aria-live="polite" aria-atomic="true"></div>
</div>
</div>
<!-- Actions removed: evaluation happens automatically on input -->
</body>
</html>