Changeset 12051


Ignore:
Timestamp:
05/06/09 11:13:07 (4 years ago)
Author:
eko
Message:

fixes WDS status display on 2nd radio + more

Location:
src/router/kromo
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/router/kromo/common/Info.htm

    r12049 r12051  
    4848                return; 
    4949        } 
    50         for(var i = 0; i < val.length; i = i + 5) { 
     50        for(var i = 0; i < val.length; i = i + 6) { 
    5151                var row = table.insertRow(-1); 
    5252                 
     
    6767                row.insertCell(-1).innerHTML = val[i + 3]; 
    6868                row.insertCell(-1).innerHTML = val[i + 4]; 
    69                 setMeterBar(row.insertCell(-1), (val[i + 2] == "0" ? 0 : parseInt(val[i + 2]) * 1.24 + 116), ""); 
     69                row.insertCell(-1).innerHTML = val[i + 5]; 
     70                setMeterBar(row.insertCell(-1), (val[i + 3] == "0" ? 0 : parseInt(val[i + 3]) * 1.24 + 116), ""); 
    7071        } 
    7172        setElementVisible("wds", true); 
     
    457458                                                                <table class="table center" cellspacing="5" id="wireless_table" summary="wireless clients table"> 
    458459                                                                        <tr> 
    459                                                                                 <th width="18%"><% tran("share.mac"); %></th> 
    460                                                                                 <th width="16%"><% tran("share.intrface"); %></th> 
     460                                                                                <th width="16%"><% tran("share.mac"); %></th> 
     461                                                                                <th width="10%"><% tran("share.intrface"); %></th> 
    461462                                                                                <th width="10%"><% tran("status_router.sys_up"); %></th> 
    462463                                                                                <th width="8%"><% tran("share.txrate"); %></th> 
     
    475476                                                                        <table class="table center" cellspacing="5" id="wds_table" summary="wds clients table"> 
    476477                                                                                <tr> 
    477                                                                                         <th width="28%"><% tran("share.mac"); %></th> 
    478                                                                                         <th width="24%"><% tran("share.descr"); %></th> 
     478                                                                                        <th width="16%"><% tran("share.mac"); %></th> 
     479                                                                                        <th width="10%"><% tran("share.intrface"); %></th> 
     480                                                                                        <th width="26%"><% tran("share.descr"); %></th> 
    479481                                                                                        <th width="8%"><% tran("share.signal"); %></th> 
    480482                                                                                        <th width="8%"><% tran("share.noise"); %></th> 
  • src/router/kromo/dd-wrt/Status_Wireless.asp

    r12049 r12051  
    4444                return; 
    4545        } 
    46         for(var i = 0; i < val.length; i = i + 5) { 
     46        for(var i = 0; i < val.length; i = i + 6) { 
    4747                var row = table.insertRow(-1); 
    4848                 
     
    5959                row.insertCell(-1).innerHTML = val[i + 3]; 
    6060                row.insertCell(-1).innerHTML = val[i + 4]; 
    61                 setMeterBar(row.insertCell(-1), (val[i + 2] == "0" ? 0 : parseInt(val[i + 2]) * 1.24 + 116), ""); 
     61                row.insertCell(-1).innerHTML = val[i + 5]; 
     62                setMeterBar(row.insertCell(-1), (val[i + 3] == "0" ? 0 : parseInt(val[i + 3]) * 1.24 + 116), ""); 
    6263        } 
    6364        setElementVisible("wds", true); 
     
    213214                                                                <table class="table center" cellspacing="5" id="wireless_table" summary="wireless clients table"> 
    214215                                                                        <tr> 
    215                                                                                 <th width="14%"><% tran("share.mac"); %></th> 
    216                                                                                 <th width="8%"><% tran("share.intrface"); %></th> 
     216                                                                                <th width="16%"><% tran("share.mac"); %></th> 
     217                                                                                <th width="10%"><% tran("share.intrface"); %></th> 
    217218                                                                                <th width="10%"><% tran("status_router.sys_up"); %></th> 
    218                                                                                 <th width="11%"><% tran("share.txrate"); %></th> 
    219                                                                                 <th width="11%"><% tran("share.rxrate"); %></th> 
     219                                                                                <th width="8%"><% tran("share.txrate"); %></th> 
     220                                                                                <th width="8%"><% tran("share.rxrate"); %></th> 
    220221                                                                                <th width="8%"><% tran("share.signal"); %></th> 
    221222                                                                                <th width="8%"><% tran("share.noise"); %></th> 
    222                                                                                 <th width="7%">SNR</th> 
     223                                                                                <th width="8%">SNR</th> 
    223224                                                                                <th width="24%"><% tran("status_wireless.signal_qual"); %></th> 
    224225                                                                        </tr> 
     
    231232                                                                        <table class="table center" cellspacing="5" id="wds_table" summary="wds clients table"> 
    232233                                                                                <tr> 
    233                                                                                         <th width="28%"><% tran("share.mac"); %></th> 
    234                                                                                         <th width="24%"><% tran("share.descr"); %></th> 
     234                                                                                        <th width="16%"><% tran("share.mac"); %></th> 
     235                                                                                        <th width="10%"><% tran("share.intrface"); %></th> 
     236                                                                                        <th width="26%"><% tran("share.descr"); %></th> 
    235237                                                                                        <th width="8%"><% tran("share.signal"); %></th> 
    236238                                                                                        <th width="8%"><% tran("share.noise"); %></th> 
Note: See TracChangeset for help on using the changeset viewer.