Mercurial > code > home > repos > homeauto
view service/tomatoWifi/table.mustache @ 867:d9bc9a82dcca
redo wifi scraper to work with zyxel router report page too. add last connected time (from mongo) to web table
Ignore-this: 18bade72e14d40532bd019791d03fa7d
darcs-hash:20130407000819-312f9-6b262edf71421b17947050e80560005d7bffa80b
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Sat, 06 Apr 2013 17:08:19 -0700 |
parents | 9e99114dde57 |
children |
line wrap: on
line source
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <div xmlns="http://www.w3.org/1999/xhtml" class="wifiNow"> <table><tr> <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> <th class="router">Router</th> </tr> {{#rows}} <tr class="{{cls}}"> <td>{{name}}</td> <td class="connected">{{connectedAgo}}</td> <td class="ip">{{ip}}</td> <td class="rssi">{{signal}}</td> <td class="mac">{{mac}}</td> <td>{{router}}</td> </tr> {{/rows}} </table> </div>