mirror of
https://github.com/CKegel/Web-SSTV.git
synced 2025-06-06 03:25:33 +00:00
48 lines
1.7 KiB
HTML
48 lines
1.7 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@picocss/pico@1/css/pico.min.css">
|
|
<link rel="stylesheet" href="./style.css">
|
|
<title>Web-SSTV</title>
|
|
</head>
|
|
<body>
|
|
<main class="container">
|
|
<h1>Web SSTV</h1>
|
|
<h3>Send SSTV signals from your browser:</h3>
|
|
<label id="modeLabel" for="modeSelect">Select a mode:</label>
|
|
<select id="modeSelect">
|
|
<option value="none" selected disabled hidden>No mode selected</option>
|
|
<option value="none" disabled>--- Martin ---</option>
|
|
<option value="M1">Martin M1</option>
|
|
<option value="M2">Martin M2</option>
|
|
<option value="none" disabled>--- Scottie ---</option>
|
|
<option value="S1">Scottie 1</option>
|
|
<option value="S2">Scottie 2</option>
|
|
<option value="SDX">Scottie DX</option>
|
|
<option value="none" disabled>--- PD ---</option>
|
|
<option value="PD50">PD-50</option>
|
|
<option value="PD90">PD-90</option>
|
|
</select>
|
|
|
|
<label id="imgLabel" for="imgPicker">Upload an image:</label>
|
|
<input type="file" name="imgPicker" id="imgPicker"/>
|
|
<center id="imgArea" class="container">
|
|
<canvas id="imgCanvas" width="320" height="256"></canvas>
|
|
<br>
|
|
<span id="warningText"></span>
|
|
</center>
|
|
<button id="startButton" class="contrast" disabled>Encode</button>
|
|
|
|
</main>
|
|
<footer class="container">
|
|
<small>SSTV signal decoding and more encoding modes coming soon.</small>
|
|
<br>
|
|
<small><a href="https://github.com/CKegel/Web-SSTV/">Check out the project on Github</a></small>
|
|
<br>
|
|
<small>© 2023 Christian Kegel - Available under the MIT License</small>
|
|
</footer>
|
|
</body>
|
|
<script src="./script.js"></script>
|
|
</html> |