diff --git a/files/www/aredn.css b/files/www/aredn.css index 213f11ef..fb053cfe 100644 --- a/files/www/aredn.css +++ b/files/www/aredn.css @@ -15,8 +15,17 @@ hr { body table { font-size: 12px; - + border-collapse: collapse; } + +.dist-alert { + border: medium solid red; +} +.dist-norm { + border: none; +} + + .navbar_select { background:black; color:white; border-radius: 10px; } .navbar_select a:link { background:black; color:white } .navbar_select a:visited { background:black; color:white } diff --git a/files/www/black_on_white.css b/files/www/black_on_white.css index c7dd5f06..11da4a84 100644 --- a/files/www/black_on_white.css +++ b/files/www/black_on_white.css @@ -14,8 +14,15 @@ hr { } body table { - font-size: 16px; - + font-size: 12px; + border-collapse: collapse; +} + +.dist-alert { + border: medium solid red; +} +.dist-norm { + border: none; } .navbar_select { background:white; color:black } .navbar_select a:link { background:white; color:black } diff --git a/files/www/cgi-bin/setup b/files/www/cgi-bin/setup index e22d0469..55b12f21 100755 --- a/files/www/cgi-bin/setup +++ b/files/www/cgi-bin/setup @@ -362,6 +362,43 @@ reboot_page("/cgi-bin/status") if $parms{button_reboot}; http_header() unless $debug == 2; html_header(nvram_get("node") . " setup", 1); print "
\n"; + +print " + +"; + alert_banner(); print "
\n" unless $debug == 2; print "\n" if $debug == 2; @@ -603,8 +640,17 @@ if($wifi_proto ne "disabled") for($i = wifi_maxpower($wifi_channel); $i >= 1; --$i) { selopt($i+$txpoweroffset ." dBm", $i, $wifi_txpower) } print "  \n"; - print "Distance\n"; - print " meters\n"; + print "Distance to
FARTHEST Node\n"; + $wifi_distance_disp=int($wifi_distance/1000); + + print " kilometers
"; + + print "
"; + print "Miles "; + print "Kilometers
"; + print ""; + print "\n"; + print "\n"; } diff --git a/files/www/red_on_black.css b/files/www/red_on_black.css index eddad85f..5aa63c6e 100644 --- a/files/www/red_on_black.css +++ b/files/www/red_on_black.css @@ -14,8 +14,15 @@ hr { } body table { - font-size: 16px; - + font-size: 12px; + border-collapse: collapse; +} + +.dist-alert { + border: medium solid red; +} +.dist-norm { + border: none; } .navbar_select { background:black; color:red } .navbar_select a:link { background:black; color:red } diff --git a/files/www/white_on_black.css b/files/www/white_on_black.css index 9b0e50c4..23b46103 100644 --- a/files/www/white_on_black.css +++ b/files/www/white_on_black.css @@ -14,8 +14,15 @@ hr { } body table { - font-size: 16px; - + font-size: 12px; + border-collapse: collapse; +} + +.dist-alert { + border: medium solid red; +} +.dist-norm { + border: none; } .navbar_select { background:black; color:white } .navbar_select a:link { background:black; color:white } diff --git a/files/www/yellow_on_black.css b/files/www/yellow_on_black.css index fb797547..3c2f6094 100644 --- a/files/www/yellow_on_black.css +++ b/files/www/yellow_on_black.css @@ -14,8 +14,15 @@ hr { } body table { - font-size: 16px; - + font-size: 12px; + border-collapse: collapse; +} + +.dist-alert { + border: medium solid red; +} +.dist-norm { + border: none; } .navbar_select { background:black; color:yellow } .navbar_select a:link { background:black; color:yellow }