show ScreenBorder option to Old Classic units since it seems to work

This commit is contained in:
zefie
2021-11-09 11:56:56 -05:00
parent 0bc75f017b
commit 2ff327fb02
2 changed files with 9 additions and 7 deletions

View File

@@ -56,16 +56,18 @@ Television
<td abswidth=20> <td abswidth=20>
<TR> <TR>
<td> <td>
<td WIDTH=170 HEIGHT=244 VALIGN=top ALIGN=left> <td WIDTH=300 HEIGHT=244 VALIGN=top ALIGN=left>
<br><font size="-1"> <br><font size="-1">
<A HREF="wtv-setup:/center-display" selected><BLACKFACE>Center</BLACKFACE></A><BR> <A HREF="wtv-setup:/center-display" selected><BLACKFACE>Center</BLACKFACE></A><BR>
<FONT SIZE="-1">Center WebTV on your screen</FONT><BR>`; <FONT SIZE="-1">Center WebTV on your screen</FONT><BR>`;
// TODO: figure out which versions still support this
/* // old classic apparently can do Screen Border
<spacer type=block width=1 height=5><BR> if (ssid_sessions[socket.ssid].get("wtv-client-rom-type") == "bf0app") {
data += `<spacer type=block width=1 height=5><BR>
<A HREF="wtv-setup:/screen-border" selected><BLACKFACE>Border</BLACKFACE></A><BR> <A HREF="wtv-setup:/screen-border" selected><BLACKFACE>Border</BLACKFACE></A><BR>
<FONT SIZE="-1">Change the color of the screen border</FONT><BR> <FONT SIZE="-1">Change the color of the screen border</FONT><BR>`;
*/ }
data += ` data += `
<TD WIDTH=20> <TD WIDTH=20>
<TD WIDTH=500 VALIGN=top ALIGN=left> <TD WIDTH=500 VALIGN=top ALIGN=left>

View File

@@ -2,7 +2,7 @@ if (request_headers.query) {
if (request_headers.query.shade) { if (request_headers.query.shade) {
headers = `300 OK headers = `300 OK
Location: wtv-setup:/screen Location: wtv-setup:/screen
wtv-visit: client:setscreenborder?${request_headers.query.shade}`; wtv-visit: client:setscreenborder?shade=${request_headers.query.shade}`;
} else { } else {
var errpage = wtvshared.doErrorPage(400); var errpage = wtvshared.doErrorPage(400);
headers = errpage[0]; headers = errpage[0];