Summary table on status_dhcp_leases
I have a large DHCP pool that gets annoying to load. I thought it might be nice to just have a summary table on that page with a button to click to load details (instead of loading details at first).
This (see attachment) is a rough draft of a table, using similar style from Status > Interfaces.
The code is available here: https://github.com/wcchandler/pfsense/blob/master/usr/local/www/status_dhcp_leases.php I'm trying to stay consistent with the coding style.
Some specific questions – would this be useful to anyone else? Should it implement a "show details" type of functionality? Should the summary table be listed first (if you want details included)? Should there be an option in Services > DHCP Server (similar to "Time Format Change")? Should the summary tables be broken down into specific pools?
Also, this is my first time trying to help out code-wise so feel free to slap my wrists and tell me "bad boy" if I'm doing something wrong.
![Screenshot from 2014-09-15 10:12:43.png](/public/imported_attachments/1/Screenshot from 2014-09-15 10:12:43.png)
![Screenshot from 2014-09-15 10:12:43.png_thumb](/public/imported_attachments/1/Screenshot from 2014-09-15 10:12:43.png_thumb)
I can see this coming in handy for most deployments of pfsense. You should see if I can do a request it merge into the core code.
I would definitely find this useful :)