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

Summary table on status_dhcp_leases

Scheduled Pinned Locked Moved Development
3 Posts 3 Posters 853 Views
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 Sep 15, 2014, 2:29 PM

    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 Sep 29, 2014, 1:40 PM

      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 Oct 20, 2014, 8:17 AM

        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
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received