Quantcast
Channel: PirateBox Forum - PirateBox OpenWrt
Viewing all articles
Browse latest Browse all 3254

Re: Show no. of connected clients on front page

$
0
0
In scripts.js, you can find that it will replace the contents of any div with the id "station" with the contents of the station_cnt.txt. Simply make an empty div box with id "station." To make it look like the other stuff on the default page, also give it class "card."

Make sure you've set the feature up beforehand (check on the open wrt:mods page)

This worked for me:
<div id="station" class="card"></div>

Viewing all articles
Browse latest Browse all 3254

Trending Articles