Better % Rounding For Disk Space Used



  • I am trying to get the % to round more accurately for disk space used. I have updated the math code in the functions file and try editing the system information widget, but I cant seem to get the % to change from just rounding up. If anyone can help me please PM me. I had my custom code working in 2.1.5, but I like the bars better in 2.2 so I am updating all my custom code.



  • Javascript, CSS etc files will need to be refershed in the browser every time you change the file on pfSense.
    It might just be that the browser is caching that stuff and so never receives and runs your changed files.



  • @phil.davis:

    Javascript, CSS etc files will need to be refershed in the browser every time you change the file on pfSense.
    It might just be that the browser is caching that stuff and so never receives and runs your changed files.

    I changed the code in system info and got it to work, but I cant get the right filesystem info to show up without the RAM mount to show up as well



  • Figured it out, will need to do some re-coding