aceberg / WatchYourLAN

Lightweight network IP scanner. Can be used to notify about new hosts and monitor host online/offline history
https://hub.docker.com/r/aceberg/watchyourlan
MIT License
3.84k stars 119 forks source link

Feature Request: Add row numbers please... #84

Closed JZ-SmartThings closed 1 month ago

JZ-SmartThings commented 5 months ago

Self explanatory, would really love row numbers just for simple count purposes. Total would be great too but unnecessary if just row numbers were available. If not desiring row number in the default layout, an override config entry or variable can be used to spruce up the front-end. I've been trying to see where to do that but Go is an interesting animal and gotta really know where to slide that incrementing variable in :) I think it's under /internal/web/templates/index.html and some initialized int variable at the top which increments.

@aceberg excellent work and truly appreciate you sharing it! Just perfect for home labs... especially the notification piece. Love it!

aceberg commented 1 month ago

Done in v2.