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

colored separators in more places?

CE 2.7.0 Development Snapshots (Retired)
2
3
403
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.
  • J
    JeGr LAYER 8 Moderator
    last edited by Oct 5, 2022, 2:57 PM

    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
    • J
      jimp Rebel Alliance Developer Netgate
      last edited by Oct 5, 2022, 2:59 PM

      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!

      J 1 Reply Last reply Oct 5, 2022, 3:04 PM Reply Quote 1
      • J
        JeGr LAYER 8 Moderator @jimp
        last edited by JeGr Oct 5, 2022, 3:08 PM Oct 5, 2022, 3:04 PM

        @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
        2 out of 3
        • First post
          2/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.