forked from M-Labs/ionpak-thermostat
58 lines
1.6 KiB
HTML
58 lines
1.6 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<title>ionpak</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<link rel="stylesheet" href="style.css">
|
|
<body>
|
|
|
|
<div class="w3-sidebar w3-light-grey w3-bar-block" style="width:15%">
|
|
<h3 class="w3-bar-item"><img src="logo.svg"></h3>
|
|
<a href="/" class="w3-bar-item w3-button">Measure</a>
|
|
<a href="/gauge_settings.html" class="w3-bar-item w3-button">Gauge settings</a>
|
|
<a href="/network_settings.html" class="w3-bar-item w3-button">Network settings</a>
|
|
<a href="/firmware.html" class="w3-bar-item w3-button">Firmware</a>
|
|
</div>
|
|
|
|
<div style="margin-left:15%">
|
|
|
|
<div class="w3-container w3-teal">
|
|
<h1>Measure</h1>
|
|
</div>
|
|
|
|
<div class="w3-container">
|
|
<h3>Pressure</h3>
|
|
<div class="w3-card w3-xxlarge">
|
|
{pressure:.1e} mbar
|
|
</div>
|
|
</div>
|
|
|
|
<div class="w3-container">
|
|
<h3>Details</h3>
|
|
<table class="w3-table">
|
|
<tr><th>Parameter</th><th>Current</th><th>Target</th></tr>
|
|
<tr><td>Anode regulator ready</td><td>{anode_ready}</td></tr>
|
|
<tr><td>Anode voltage</td><td>{anode_av:.1}V</td></tr>
|
|
<tr><td>Cathode regulator ready</td><td>{cathode_ready}</td></tr>
|
|
<tr><td>Electron current</td><td>{cathode_fbi:.0}μA</td></tr>
|
|
<tr><td>Filament voltage</td><td>{cathode_fv:.2}V</td><td>{cathode_fv_target:.2}V</td></tr>
|
|
<tr><td>Cathode bias</td><td>{cathode_fbv:.1}V</td></tr>
|
|
<tr><td>Ion current</td><td>{ion_current:.5}nA</td></tr>
|
|
</table>
|
|
|
|
<p>
|
|
At local time:
|
|
<script language="Javascript">
|
|
var date = new Date();
|
|
var n = date.toDateString();
|
|
var time = date.toLocaleString();
|
|
document.write(time);
|
|
</script>
|
|
</p>
|
|
<p><a href="/measure.json">JSON</a></p>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|