mirror of https://github.com/nealey/vail.git
257 lines
7.6 KiB
HTML
257 lines
7.6 KiB
HTML
<!DOCTYPE html>
|
||
<html>
|
||
<head>
|
||
<title>Vail</title>
|
||
<meta charset="utf-8">
|
||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||
|
||
<!-- Bulma CSS -->
|
||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.3/css/bulma.min.css">
|
||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@mdi/font@6.5.95/css/materialdesignicons.min.css">
|
||
|
||
<!-- Vail stuff -->
|
||
<link rel="manifest" href="manifest.json">
|
||
<link rel="icon" href="vail.png" sizes="256x256" type="image/png">
|
||
<link rel="icon" href="vail.svg" sizes="any" type="image/svg+xml">
|
||
<script type="module" src="vail.mjs"></script>
|
||
<script type="module" src="ui.mjs"></script>
|
||
<link rel="stylesheet" href="vail.css">
|
||
</head>
|
||
<body>
|
||
<nav class="navbar is-dark">
|
||
<div class="navbar-brand">
|
||
<a class="navbar-item">
|
||
<img class="" src="vail.svg" alt="">
|
||
<div class="block">Vail</div>
|
||
</a>
|
||
</div>
|
||
<div class="navbar-menu">
|
||
<div class="navbar-end">
|
||
<a class="navbar-item" href="https://github.com/nealey/vail/wiki" target="_blank">Help</a>
|
||
</div>
|
||
</div>
|
||
</nav>
|
||
|
||
<section class="section">
|
||
<div class="columns">
|
||
<div class="column">
|
||
<div class="box" id="transciever">
|
||
<h1 class="title">Repeater</h1>
|
||
<div class="level">
|
||
<div class="level-left">
|
||
<div class="level-item">
|
||
|
||
<div class="field is-horizontal">
|
||
<div class="field-label is-hidden">
|
||
<label class="label" for="repeater">Repeater</label>
|
||
</div>
|
||
<div class="field-body">
|
||
<div class="field">
|
||
<div class="control">
|
||
<input class="input" type="text" id="repeater" list="repeater-list">
|
||
<datalist id="repeater-list">
|
||
<option>General</option>
|
||
<option value="1">Channel 1</option>
|
||
<option value="2">Channel 2</option>
|
||
<option value="3">Channel 3</option>
|
||
<option value="Null">No transmit</option>
|
||
<option>Echo</option>
|
||
<option>Echo 5s</option>
|
||
<option>Echo 10s</option>
|
||
<option>Fortunes</option>
|
||
<option>Fortunes: Pauses ×2</option>
|
||
<option>Fortunes: Pauses ×4</option>
|
||
<option>Fortunes: Pauses ×8</option>
|
||
</datalist>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="level-right">
|
||
<div class="level-item">
|
||
<!-- This appears as a little light that turns on when someone's sending -->
|
||
<span class="tag" id="recv">
|
||
<output class="has-text-info" id="note"></output>
|
||
<i class="mdi mdi-volume-off" id="muted"></i>
|
||
</span>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="block">
|
||
<div class="" id="charts">
|
||
<canvas class="chart" id="rxChart" data-color="orange"></canvas>
|
||
<canvas class="chart" id="txChart" data-color="teal"></canvas>
|
||
<canvas class="chart" id="key0Chart" data-color="olive"></canvas>
|
||
<canvas class="chart" id="key1Chart" data-color="purple"></canvas>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="block">
|
||
<table class="wide">
|
||
<tr>
|
||
<td>
|
||
<button class="button key is-primary" data-key="0" title="right click for Key">
|
||
Key
|
||
</button>
|
||
<div class="shortcuts">
|
||
<kbd title="keyboard button">.</kbd>
|
||
<kbd title="keyboard button">x</kbd>
|
||
<i class="mdi mdi-gamepad-circle-left" title="Gamepad Left Button"></i>
|
||
</div>
|
||
</td>
|
||
<td>
|
||
<button class="button key is-primary" data-key="1" title="right click for Key">
|
||
Key
|
||
</button>
|
||
<div class="shortcuts">
|
||
<kbd title="keyboard button">/</kbd>
|
||
<kbd title="keyboard button">z</kbd>
|
||
<i class="mdi mdi-gamepad-circle-up" title="Gamepad Top Button"></i>
|
||
</div>
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
|
||
<div>
|
||
<div class="field is-horizontal">
|
||
<div class="field-label">
|
||
<label class="label">Mode</label>
|
||
</div>
|
||
<div class="field-body">
|
||
<div class="field">
|
||
<div class="control">
|
||
<div class="select">
|
||
<select id="keyer-mode">
|
||
<option value="cootie">Straight Key / Cootie</option>
|
||
<option value="bug">Bug</option>
|
||
<option value="elbug">ElBug</option>
|
||
<option value="singledot">Single Dot</option>
|
||
<option value="ultimatic">Ultimatic</option>
|
||
<option value="iambic">Iambic (Plain)</option>
|
||
<option value="iambica">Iambic A</option>
|
||
<option value="iambicb">Iambic B</option>
|
||
<option value="keyahead">Keyahead</option>
|
||
</select>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="field is-horizontal">
|
||
<div class="field-label">
|
||
<label class="label">
|
||
<output for="keyer-rate"></output> WPM
|
||
/
|
||
<span data-fill="keyer-ms"></span>ms
|
||
</label>
|
||
</div>
|
||
<div class="field-body">
|
||
<div class="field">
|
||
<div class="control">
|
||
<input
|
||
id="keyer-rate"
|
||
type="range"
|
||
min="5"
|
||
max="40"
|
||
step="1"
|
||
value="12">
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
</div>
|
||
</div>
|
||
|
||
<div class="column">
|
||
<div class="box">
|
||
<h2 class="title">Knobs</h2>
|
||
<div class="block">
|
||
<div class="control">
|
||
<button id="ck" class="button is-primary">
|
||
CK
|
||
</button>
|
||
</div>
|
||
<div class="">
|
||
Send <code>CK</code> (check) to the repeater, and play when it comes back.
|
||
</div>
|
||
</div>
|
||
<div class="block">
|
||
<div class="control">
|
||
<button id="reset" class="button">
|
||
Reset
|
||
</button>
|
||
</div>
|
||
<div>
|
||
Reset all Vail preferences to default.
|
||
</div>
|
||
</div>
|
||
|
||
|
||
<div class="field is-horizontal">
|
||
<div class="field-label">
|
||
<label class="label">
|
||
<output for="rx-delay"></output>s
|
||
rx delay
|
||
</label>
|
||
</div>
|
||
<div class="field-body">
|
||
<div class="field">
|
||
<div class="control">
|
||
<input
|
||
id="rx-delay"
|
||
type="range"
|
||
min="0"
|
||
max="10"
|
||
value="4"
|
||
step="0.1"
|
||
list="rx-delays">
|
||
<datalist id="rx-delays">
|
||
<option value="0"></option>
|
||
<option value="1"></option>
|
||
<option value="2" label="2s"></option>
|
||
<option value="3"></option>
|
||
<option value="4" label="4s"></option>
|
||
<option value="5"></option>
|
||
<option value="6" label="6s"></option>
|
||
<option value="7"></option>
|
||
<option value="8" label="8s"></option>
|
||
<option value="9"></option>
|
||
<option value="10"></option>
|
||
</datalist>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<p>
|
||
<label class="checkbox">
|
||
<input type="checkbox" id="telegraph-buzzer">
|
||
Telegraph sounds
|
||
</label>
|
||
</p>
|
||
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</section>
|
||
|
||
<div class="box">
|
||
<h2 class="title">Notes</h2>
|
||
<textarea class="textarea" placeholder="Enter your own notes here" id="notes"></textarea>
|
||
<a href="https://github.com/nealey/vail/wiki" target="_blank">Vail Wiki</a>
|
||
</div>
|
||
|
||
<div class="columns is-centered bottom">
|
||
<div class="column is-half" id="errors"></div>
|
||
</div>
|
||
</body>
|
||
</html>
|
||
<!-- vim: set noet ts=2 sw=2 : -->
|