mirror of
https://github.com/cjfranko/NTP-Timeturner.git
synced 2025-11-08 18:32:02 +00:00
hide sections
This commit is contained in:
parent
8e369a2e3a
commit
1075be6e24
1 changed files with 60 additions and 60 deletions
|
|
@ -62,71 +62,71 @@
|
||||||
<h2>Controls</h2>
|
<h2>Controls</h2>
|
||||||
</div>
|
</div>
|
||||||
<div class="collapsible-content" id="controls-content">
|
<div class="collapsible-content" id="controls-content">
|
||||||
<div class="control-group">
|
<!-- <div class="control-group">
|
||||||
<label for="hw-offset">Hardware Offset (ms):</label>
|
<label for="hw-offset">Hardware Offset (ms):</label>
|
||||||
<input type="number" id="hw-offset" name="hw-offset">
|
<input type="number" id="hw-offset" name="hw-offset">
|
||||||
|
</div>
|
||||||
|
<div class="control-group">
|
||||||
|
<input type="checkbox" id="auto-sync-enabled" name="auto-sync-enabled" style="vertical-align: middle;">
|
||||||
|
<label for="auto-sync-enabled" style="vertical-align: middle;">Enable Auto Sync</label>
|
||||||
|
</div> -->
|
||||||
|
<div class="control-group">
|
||||||
|
<label>Timeturner Offset</label>
|
||||||
|
<div style="display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-start;">
|
||||||
|
<div style="display: flex; flex-direction: column;">
|
||||||
|
<label for="offset-h">Hours</label>
|
||||||
|
<input type="number" id="offset-h" style="width: 60px;">
|
||||||
|
</div>
|
||||||
|
<div style="display: flex; flex-direction: column;">
|
||||||
|
<label for="offset-m">Minutes</label>
|
||||||
|
<input type="number" id="offset-m" style="width: 60px;">
|
||||||
|
</div>
|
||||||
|
<div style="display: flex; flex-direction: column;">
|
||||||
|
<label for="offset-s">Seconds</label>
|
||||||
|
<input type="number" id="offset-s" style="width: 60px;">
|
||||||
|
</div>
|
||||||
|
<div style="display: flex; flex-direction: column;">
|
||||||
|
<label for="offset-f">Frames</label>
|
||||||
|
<input type="number" id="offset-f" style="width: 60px;">
|
||||||
|
</div>
|
||||||
|
<div style="display: flex; flex-direction: column;">
|
||||||
|
<label for="offset-ms">Milliseconds</label>
|
||||||
|
<input type="number" id="offset-ms" style="width: 60px;">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="control-group">
|
||||||
|
<button id="save-config">Save Config</button>
|
||||||
|
<button id="manual-sync">Manual Sync</button>
|
||||||
|
<span id="sync-message"></span>
|
||||||
|
</div>
|
||||||
|
<!--<div class="control-group">
|
||||||
|
<label>Nudge Clock (ms):</label>
|
||||||
|
<button id="nudge-down">-</button>
|
||||||
|
<input type="number" id="nudge-value" style="width: 60px;">
|
||||||
|
<button id="nudge-up">+</button>
|
||||||
|
<span id="nudge-message"></span>
|
||||||
|
</div> -->
|
||||||
|
<div class="control-group">
|
||||||
|
<label for="date-input">Set System Date:</label>
|
||||||
|
<input type="text" id="date-input" placeholder="YYYY-MM-DD" pattern="[0-9]{4}-[0-9]{2}-[0-9]{2}">
|
||||||
|
<button id="set-date">Set Date</button>
|
||||||
|
<span id="date-message"></span>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="control-group">
|
</div>
|
||||||
<input type="checkbox" id="auto-sync-enabled" name="auto-sync-enabled" style="vertical-align: middle;">
|
|
||||||
<label for="auto-sync-enabled" style="vertical-align: middle;">Enable Auto Sync</label>
|
<!-- Logs -->
|
||||||
</div>
|
<div class="card full-width collapsible-card">
|
||||||
<div class="control-group">
|
<div class="toggle-header" id="logs-toggle">
|
||||||
<label>Timeturner Offset</label>
|
<img src="assets/timeturner_logs.png" class="toggle-icon" alt="Logs Icon">
|
||||||
<div style="display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-start;">
|
<h2>Logs</h2>
|
||||||
<div style="display: flex; flex-direction: column;">
|
|
||||||
<label for="offset-h">Hours</label>
|
|
||||||
<input type="number" id="offset-h" style="width: 60px;">
|
|
||||||
</div>
|
</div>
|
||||||
<div style="display: flex; flex-direction: column;">
|
<div class="collapsible-content" id="logs-content">
|
||||||
<label for="offset-m">Minutes</label>
|
<pre id="logs" class="log-box"></pre>
|
||||||
<input type="number" id="offset-m" style="width: 60px;">
|
|
||||||
</div>
|
|
||||||
<div style="display: flex; flex-direction: column;">
|
|
||||||
<label for="offset-s">Seconds</label>
|
|
||||||
<input type="number" id="offset-s" style="width: 60px;">
|
|
||||||
</div>
|
|
||||||
<div style="display: flex; flex-direction: column;">
|
|
||||||
<label for="offset-f">Frames</label>
|
|
||||||
<input type="number" id="offset-f" style="width: 60px;">
|
|
||||||
</div>
|
|
||||||
<div style="display: flex; flex-direction: column;">
|
|
||||||
<label for="offset-ms">Milliseconds</label>
|
|
||||||
<input type="number" id="offset-ms" style="width: 60px;">
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="control-group">
|
|
||||||
<button id="save-config">Save Config</button>
|
|
||||||
<button id="manual-sync">Manual Sync</button>
|
|
||||||
<span id="sync-message"></span>
|
|
||||||
</div>
|
|
||||||
<div class="control-group">
|
|
||||||
<label>Nudge Clock (ms):</label>
|
|
||||||
<button id="nudge-down">-</button>
|
|
||||||
<input type="number" id="nudge-value" style="width: 60px;">
|
|
||||||
<button id="nudge-up">+</button>
|
|
||||||
<span id="nudge-message"></span>
|
|
||||||
</div>
|
|
||||||
<div class="control-group">
|
|
||||||
<label for="date-input">Set System Date:</label>
|
|
||||||
<input type="text" id="date-input" placeholder="YYYY-MM-DD" pattern="[0-9]{4}-[0-9]{2}-[0-9]{2}">
|
|
||||||
<button id="set-date">Set Date</button>
|
|
||||||
<span id="date-message"></span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- Logs -->
|
|
||||||
<div class="card full-width collapsible-card">
|
|
||||||
<div class="toggle-header" id="logs-toggle">
|
|
||||||
<img src="assets/timeturner_logs.png" class="toggle-icon" alt="Logs Icon">
|
|
||||||
<h2>Logs</h2>
|
|
||||||
</div>
|
|
||||||
<div class="collapsible-content" id="logs-content">
|
|
||||||
<pre id="logs" class="log-box"></pre>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<footer>
|
<footer>
|
||||||
<p>
|
<p>
|
||||||
Built by Chris Frankland-Wright and John Rogers | Have Blue Broadcast Media |
|
Built by Chris Frankland-Wright and John Rogers | Have Blue Broadcast Media |
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue