html tweaks

pull/7/head v0.9.1
Thorsten von Eicken 10 years ago
parent 1e0e8a4aaf
commit 47eb82c4d7
  1. 6
      html/wifi/connecting.html

@ -15,9 +15,9 @@ function getStatus() {
$("#status").innerHTML="Connecting..."; $("#status").innerHTML="Connecting...";
window.setTimeout(getStatus, 1000); window.setTimeout(getStatus, 1000);
} else if (data.status=="got IP address") { } else if (data.status=="got IP address") {
$("#status").innerHTML="Connected! Got IP "+data.ip+ $("#status").innerHTML="Connected! Got IP "+data.ip+ ".<br/>" +
". If you're in the same network, you can access it <a href=\"http://"+data.ip+ "If you're in the same network, you can access it <a href=\"http://"+data.ip+
"/\">here</a>."; "/\">here</a>.<br/>ESP Link will switch to STA-only mode in a few seconds.";
} else { } else {
$("#status").innerHTML="Oops: " + data.status + ". Reason: " + data.reason + $("#status").innerHTML="Oops: " + data.status + ". Reason: " + data.reason +
"<br/>Check password and selected AP.<br/><a href=\"wifi.tpl\">Go Back</a>"; "<br/>Check password and selected AP.<br/><a href=\"wifi.tpl\">Go Back</a>";

Loading…
Cancel
Save