diff service/tomatoWifi/table.mustache @ 62:f8cc3d1baa85

redo wifi scraper to work with zyxel router report page too. add last connected time (from mongo) to web table Ignore-this: 18bade72e14d40532bd019791d03fa7d
author drewp@bigasterisk.com
date Sat, 06 Apr 2013 17:08:19 -0700
parents 6fd208b97616
children
line wrap: on
line diff
--- a/service/tomatoWifi/table.mustache	Sun Feb 10 13:41:35 2013 -0800
+++ b/service/tomatoWifi/table.mustache	Sat Apr 06 17:08:19 2013 -0700
@@ -5,8 +5,8 @@
 
   <table><tr> 
 
-    <th class="name">Name</th> 
-    <th class="lease">Lease</th> 
+    <th class="name">Name</th>
+    <th class="connected">Connected</th>
     <th class="ip">IP address</th> 
     <th class="rssi">dBm</th> 
     <th class="mac">MAC address</th> 
@@ -15,7 +15,7 @@
   {{#rows}}
   <tr class="{{cls}}">
     <td>{{name}}</td>
-    <td class="lease">{{lease}}</td>
+    <td class="connected">{{connectedAgo}}</td>
     <td class="ip">{{ip}}</td>
     <td class="rssi">{{signal}}</td>
     <td class="mac">{{mac}}</td>
@@ -25,4 +25,4 @@
   </table>
 
 
-</div>
\ No newline at end of file
+</div>