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

    colored separators in more places?

    Scheduled Pinned Locked Moved CE 2.7.0 Development Snapshots (Retired)
    3 Posts 2 Posters 462 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.
    • JeGrJ
      JeGr LAYER 8 Moderator
      last edited by

      Just as a sort-of feature request:

      coloured separators are already "a thing" in port forwardings and rules. They would also be very helpful in 1:1 (BiNAT) and Outbound NAT tabs. Especially in complex and/or datacenter setups there can be lots of outbound rules or 1:1 NAT setups with bigger IP allocations and separators would easily help in getting a better overview and having a more sorted approach to long listings.

      Also (if possible) a few more colors would be appreciated ;) Perhaps the list from the System / General setup / Login Background selection? Don't have to be that much though, but having around 6-8 colors would really help in "color coding" various rule scenarios.

      Cheers

      Don't forget to upvote ๐Ÿ‘ those who kindly offered their time and brainpower to help you!

      If you're interested, I'm available to discuss details of German-speaking paid support (for companies) if needed.

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        The separators use bootstrap colors (something like info, success, warning, or whatever) so they are limited to those four. Not sure what it might take to expand that without a lot of extra effort.

        As for other areas, I'm pretty sure there are already feature requests in for those, or at least for some of the other NAT pages.

        It's not simple code to just drop in, though, so it's a fair amount of work wherever it goes.

        Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        JeGrJ 1 Reply Last reply Reply Quote 1
        • JeGrJ
          JeGr LAYER 8 Moderator @jimp
          last edited by JeGr

          @jimp said in colored separators in more places?:

          The separators use bootstrap colors (something like info, success, warning, or whatever) so they are limited to those four. Not sure what it might take to expand that without a lot of extra effort.

          You're too fast ;) Just wanted to add, I know those are the predefined bootstrap sets and having them in more areas would be a much higher priority. And I know, there has to be some backend code to service those new seps, as they are managed in their own config.xml array etc. etc. So yeah, I'm sure there are more pressing matters, would be nice to add at least to the other NAT tabs though sometimes.

          But it would be great to just have a "sort of" alternative colors, so defining like bg-danger2 (a dark violet perhaps as a sort of darker red) and bg-info2 (with a cyan/bluegreenish like coloring) as well as a bg-warning2 (simply orange) would go a long way to help.
          Just an idea as the bootstrap bg-xy's should be relatively easy to add to the stylesheet. :)

          edit: If I'm not mistaken, the colors are simple CSS blocks in /css/pfSense.css, so one could simply sneak 2-3 new ones in there, too and just try them out ;) Would need a little bit of frontend code for the new color-blips for the selector, but saving the bg-xy value should be safe and selecting it from the stylesheet if it's in there should be pretty straightforward. :)

          Don't forget to upvote ๐Ÿ‘ those who kindly offered their time and brainpower to help you!

          If you're interested, I'm available to discuss details of German-speaking paid support (for companies) if needed.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.