colored separators in more places?
-
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
-
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.
-
@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. :)