View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
1991 | RackTables | default | public | 2020-09-29 15:05 | 2020-10-05 20:27 |
Reporter | mriske | Assigned To | infrastation | ||
Priority | low | Severity | feature | Reproducibility | N/A |
Status | closed | Resolution | fixed | ||
Product Version | 0.21.4 | ||||
Target Version | 0.21.5 | Fixed in Version | 0.21.5 | ||
Summary | 1991: A way to add more tag colors? | ||||
Description | Is there a way to add more colors for the tags? If possible, a color wheel or the option to edit the hex color code would be perfect. We use the colored tags to differentiate our sites/locations. Thanks in advance! | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Internally the code can handle any 24-bit colour, it is only a matter of having a more advanced colour picker in the tag editor. Can you suggest any 3rd-party pickers that would fit well with RackTables? Ideally a GPL-licensed component that somebody else maintains. | |
I'm sorry, unfortunately i don't know anything about these things. I can look around, but i don't think i can contribute. |
|
Would it do the job for you if you could replace the default hard-coded list of available tag colours with your own hard-coded list in secret.php? | |
Yes, that would suffice. Is it already possible? Is it then possible to have more than the existing 17 colors? |
|
RackTables 0.21.5 is available for download, it will allow you to modify the palette if you create a .php file with a name of your choice (for example, "tag_palette.php") in the directory "plugins" (or the plugins directory explicitly configured via $racktables_plugins_dir) with the contents along the lines below: --------8<--------8<--------8<--------8<--------8<--------8<--------8<-------- <?php # To replace the default palette: $tag_palette = array ('ff0000', '00ff00', '0000ff'); # red, green, blue # To extend the default palette: $tag_palette = array_merge ($tag_palette, array ('ff0000', '00ff00', '0000ff')); --------8<--------8<--------8<--------8<--------8<--------8<--------8<-------- Closing as fixed. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2020-09-29 15:05 | mriske | New Issue | |
2020-09-29 15:05 | mriske | File Added: grafik.png | |
2020-09-29 16:36 | infrastation | Note Added: 0004191 | |
2020-09-29 17:45 | mriske | Note Added: 0004193 | |
2020-10-05 03:02 | infrastation | Note Added: 0004195 | |
2020-10-05 09:36 | mriske | Note Added: 0004197 | |
2020-10-05 13:53 | infrastation | Target Version | => 0.21.5 |
2020-10-05 20:26 | infrastation | Status | new => closed |
2020-10-05 20:26 | infrastation | Resolution | open => fixed |
2020-10-05 20:26 | infrastation | Fixed in Version | => 0.21.5 |
2020-10-05 20:26 | infrastation | Note Added: 0004199 | |
2020-10-05 20:27 | infrastation | Assigned To | => infrastation |