Clean Up main page, add new help menu and linl

This commit is contained in:
raven 2022-12-22 01:42:17 -05:00
parent 9606f32cbd
commit 7eaf0f2b86
2 changed files with 24 additions and 1 deletions

23
htdocs/help.html Normal file
View File

@ -0,0 +1,23 @@
<h1 id="controls-">Controls:</h1>
<h1 id="keyboard">Keyboard</h1>
<p>HOME: H</p>
<p>UP: W</p>
<p>LEFT: A</p>
<p>DOWN: S</p>
<p>RIGHT: D</p>
<p>Back: X</p>
<p>Volume Up: P</p>
<p>Volume Down: O</p>
<p>MUTE: M</p>
<p>Enter: Enter</p>
<p>Picture Mode: L</p>
<h1 id="numberpad">NumberPad</h1>
<p>UP: 8</p>
<p>DOWN: 2</p>
<p>LEFT: 4</p>
<p>RIGHT: 6</p>
<p>VOL UP: +</p>
<p>VOL DOWN: -</p>
<p>BACK: .</p>
<p>MUTE: 0</p>
<p>Enter: enter</p>

View File

@ -60,7 +60,7 @@
document.getElementById("view").innerHTML = "WOO"
} else {
document.getElementById("view").innerHTML = "CURRENT COMMAND SHORTCUTS: <BR>HOME: H<BR> UP: W<BR> LEFT: A<BR> DOWN: S <BR> RIGHT: D<BR> Back: X<BR> Volume Up: P<BR> Volume Down: O<BR>MUTE: M<BR> Enter: Enter<BR>Picture Mode: L<BR><BR><BR><a href=\"javascript:window.open('input.html','Click to Send Text Imput!','width=600,height=400')\">Open Text Input</a><BR><BR><button onclick=\"startTimer()\">Enable AutoScroll</button> / <button onclick=\"stopTimer()\"> Disable</button> <BR><BR>Commands Not Working? Issue a new Token using: r";
document.getElementById("view").innerHTML = "<a href=\"javascript:window.open('help.html','Click for Key ShortCuts!','width=600,height=400')\">Click for Key ShortCuts!</a><BR><BR><a href=\"javascript:window.open('input.html','Click to Send Text Imput!','width=600,height=400')\">Open Text Input</a><BR><BR><button onclick=\"startTimer()\">Enable AutoScroll</button> / <button onclick=\"stopTimer()\"> Disable</button> <BR><BR>Commands Not Working? Issue a new Token using: R";
function addEvent(element, eventName, callback) {