vortex-5 / ddwrt-bwmon

An Individual Bandwidth Monitor For DD-WRT
171 stars 37 forks source link

add reset button to UI #63

Closed dbjohnson closed 5 years ago

dbjohnson commented 5 years ago

This PR simply adds a button to the UI that will trigger the ./clean.sh script and reset stats.

vortex-5 commented 5 years ago

Sounds good.

vortex-5 commented 5 years ago

I added an improvement after the button doesn't auto hide if the user has no php access I.E. they are not running the script currently with lighttpd.

Legacy users may opt to put it into the router's /user folder which ddwrt will serve up with the main config page.

One commit after yours is the commit to remove the button when the user is not in a mode that allows execution of php scripts.