cosmetic fix to choose-user screen

This commit is contained in:
zefie
2022-02-08 02:11:59 -05:00
parent c31f4cfa8c
commit 2b345b7349

View File

@@ -73,12 +73,13 @@ Choose your name
</table> </table>
<table cellspacing=0 cellpadding=0 width=416> <table cellspacing=0 cellpadding=0 width=416>
<tr><td width=20> <tr><td width=20>
<tr><td absheight=39>`; <tr><td absheight=2>
<tr>`;
var accounts = ssid_sessions[socket.ssid].listPrimaryAccountUsers(); var accounts = ssid_sessions[socket.ssid].listPrimaryAccountUsers();
var accounts_listed = 0; var accounts_listed = 0;
for (const [key, value] of Object.entries(accounts)) { for (const [key, value] of Object.entries(accounts)) {
data += "<td valign=middle abswidth=50% maxlines=1>"; data += "<td absheight=37><td valign=middle abswidth=50% maxlines=1>";
if (key == "subscriber") var user_id = 0 if (key == "subscriber") var user_id = 0
else var user_id = key.replace("user", ''); else var user_id = key.replace("user", '');
data += `<a href=/ValidateLogin?user_id=${user_id}&user_login=true nocancel>`; data += `<a href=/ValidateLogin?user_id=${user_id}&user_login=true nocancel>`;
@@ -99,7 +100,6 @@ for (const [key, value] of Object.entries(accounts)) {
<td bgcolor=121212 width=400 absheight=2 colspan=3> <td bgcolor=121212 width=400 absheight=2 colspan=3>
<img src="ROMCache/Spacer.gif" width=1 height=1> <img src="ROMCache/Spacer.gif" width=1 height=1>
<tr> <tr>
<td absheight=37>
`; `;
accounts_listed++; accounts_listed++;
}; };