45 lines
856 B
HTML
45 lines
856 B
HTML
<body>
|
|
|
|
<h1>TM-Sim Controller</h1>
|
|
<h2>Status</h2>
|
|
{slave_selected} <br>
|
|
{band_current} <br>
|
|
{rule_used} <br>
|
|
|
|
<br>
|
|
<h2>Command Selected Slave</h2>
|
|
<form action="/run_step">
|
|
<button type="submit">Step</button>
|
|
</form>
|
|
|
|
<form action="/run_all">
|
|
<button type="submit">Run</button>
|
|
</form>
|
|
|
|
<form action="/reset">
|
|
<button type="submit">Reset</button>
|
|
</form>
|
|
|
|
<br>
|
|
<h2>Select Slave</h2>
|
|
<form action="/run">
|
|
{select_slave}
|
|
<button type="submit">Select</button>
|
|
</form> <br>
|
|
|
|
<br>
|
|
<h2>Pass Band</h2>
|
|
<form action="/pass">
|
|
<label for="select_slave">Slave from</label> <br>
|
|
{select_slave}
|
|
<label for="to_slave">Slave to</label> <br>
|
|
{to_slave}
|
|
<button type="submit">Pass</button>
|
|
</form> <br>
|
|
|
|
<form action="/">
|
|
<button type="submit">Go to Setup</button>
|
|
</form>
|
|
|
|
</body>
|