Navigation

    Netgate Discussion Forum
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    Summary table on status_dhcp_leases

    Development
    3
    3
    734
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      wcchandler last edited by

      Hey,

      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)

      1 Reply Last reply Reply Quote 0
      • C
        Cino last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • T
          Think-Networks last edited by

          I would definitely find this useful :)

          Here to learn and offer any help I can!

          Think Networks, Inc.
          http://www.think-networks.com

          1 Reply Last reply Reply Quote 0
          • First post
            Last post