luci-app-bmx6: Adapt the code to last bmx6 (some fields changed).
[feed/routing.git] / luci-app-bmx6 / files / usr / lib / lua / luci / view / bmx6 / tunnels_j.htm
index d4cc38b680620360131534c7bb4398721a2017a7..92b22a97d7ffdba35318e0e57c671283408f0cee 100644 (file)
                        <th class="cbi-section-table-cell"><%:Network%></th>
                        <th class="cbi-section-table-cell"><%:Bandwidth%></th>
                        <th class="cbi-section-table-cell"><%:SearchNet%></th>
                        <th class="cbi-section-table-cell"><%:Network%></th>
                        <th class="cbi-section-table-cell"><%:Bandwidth%></th>
                        <th class="cbi-section-table-cell"><%:SearchNet%></th>
-                       <th class="cbi-section-table-cell"><%:Type%></th>
                        <th class="cbi-section-table-cell"><%:Path Metric%></th>
                        <th class="cbi-section-table-cell"><%:Path Metric%></th>
-                       <th class="cbi-section-table-cell"><%:IP metric%></th>
                        <th class="cbi-section-table-cell"><%:Tun metric%></th>
                        <th class="cbi-section-table-cell"><%:Tun metric%></th>
-                       <th class="cbi-section-table-cell"><%:Bonus%></th>
+                       <th class="cbi-section-table-cell"><%:Rating%></th>
                        <th class="cbi-section-table-cell"><%:Src%></th>
                        <th class="cbi-section-table-cell"><%:Search id%></th>
                </tr>
                        <th class="cbi-section-table-cell"><%:Src%></th>
                        <th class="cbi-section-table-cell"><%:Search id%></th>
                </tr>
@@ -97,8 +95,8 @@
                        if ( tunnel.tunName != "---" ) status = '<img src="'+tunicon+'"/>';
                        if ( advnet == "0.0.0.0/0" ) advnet = "<b>Internet</b>";
 
                        if ( tunnel.tunName != "---" ) status = '<img src="'+tunicon+'"/>';
                        if ( advnet == "0.0.0.0/0" ) advnet = "<b>Internet</b>";
 
-                       res.push([status, tunnel.name, nodename, advnet, tunnel.advBw, tunnel.net, tunnel.advType,
-                               tunnel.pathMtc, tunnel.ipMtc, tunnel.tunMtc, tunnel.bonus, tunnel.srcIngress, tunnel.id]);
+                       res.push([status, tunnel.name, nodename, advnet, tunnel.advBw, tunnel.net,
+                               tunnel.pathMtc, tunnel.tunMtc, tunnel.rating, tunnel.srcIngress, tunnel.id]);
                  }
                  return res;
                });
                  }
                  return res;
                });