Fossil SCM
Add a checkbox to the /setup_timeline page to control the raw-bgcolor setting.
Commit
620e1e0fc484c4fa33b733be5d2c1921b62bd44c77131a26af8889a214775a33
Parent
d176fea43ef1b3f…
1 file changed
+10
+10
| --- src/setup.c | ||
| +++ src/setup.c | ||
| @@ -1003,10 +1003,20 @@ | ||
| 1003 | 1003 | "timeline-hard-newlines", "thnl", 0, 0); |
| 1004 | 1004 | @ <p>In timeline displays, newline characters in check-in comments force |
| 1005 | 1005 | @ a line break on the display. |
| 1006 | 1006 | @ (Property: "timeline-hard-newlines")</p> |
| 1007 | 1007 | |
| 1008 | + @ <hr> | |
| 1009 | + onoff_attribute("Do not adjust user-selected background colors", | |
| 1010 | + "raw-bgcolor", "rbgc", 0, 0); | |
| 1011 | + @ <p>Fossil normally attempts to adjust the saturation and intensity of | |
| 1012 | + @ user-specified background colors on check-ins and branches so that the | |
| 1013 | + @ foreground text is easily readable on all skins. Enable this setting | |
| 1014 | + @ to omit that adjustment and use exactly the background color specified | |
| 1015 | + @ by users. | |
| 1016 | + @ (Property: "raw-bgcolor")</p> | |
| 1017 | + | |
| 1008 | 1018 | @ <hr> |
| 1009 | 1019 | onoff_attribute("Use Universal Coordinated Time (UTC)", |
| 1010 | 1020 | "timeline-utc", "utc", 1, 0); |
| 1011 | 1021 | @ <p>Show times as UTC (also sometimes called Greenwich Mean Time (GMT) or |
| 1012 | 1022 | @ Zulu) instead of in local time. On this server, local time is currently |
| 1013 | 1023 |
| --- src/setup.c | |
| +++ src/setup.c | |
| @@ -1003,10 +1003,20 @@ | |
| 1003 | "timeline-hard-newlines", "thnl", 0, 0); |
| 1004 | @ <p>In timeline displays, newline characters in check-in comments force |
| 1005 | @ a line break on the display. |
| 1006 | @ (Property: "timeline-hard-newlines")</p> |
| 1007 | |
| 1008 | @ <hr> |
| 1009 | onoff_attribute("Use Universal Coordinated Time (UTC)", |
| 1010 | "timeline-utc", "utc", 1, 0); |
| 1011 | @ <p>Show times as UTC (also sometimes called Greenwich Mean Time (GMT) or |
| 1012 | @ Zulu) instead of in local time. On this server, local time is currently |
| 1013 |
| --- src/setup.c | |
| +++ src/setup.c | |
| @@ -1003,10 +1003,20 @@ | |
| 1003 | "timeline-hard-newlines", "thnl", 0, 0); |
| 1004 | @ <p>In timeline displays, newline characters in check-in comments force |
| 1005 | @ a line break on the display. |
| 1006 | @ (Property: "timeline-hard-newlines")</p> |
| 1007 | |
| 1008 | @ <hr> |
| 1009 | onoff_attribute("Do not adjust user-selected background colors", |
| 1010 | "raw-bgcolor", "rbgc", 0, 0); |
| 1011 | @ <p>Fossil normally attempts to adjust the saturation and intensity of |
| 1012 | @ user-specified background colors on check-ins and branches so that the |
| 1013 | @ foreground text is easily readable on all skins. Enable this setting |
| 1014 | @ to omit that adjustment and use exactly the background color specified |
| 1015 | @ by users. |
| 1016 | @ (Property: "raw-bgcolor")</p> |
| 1017 | |
| 1018 | @ <hr> |
| 1019 | onoff_attribute("Use Universal Coordinated Time (UTC)", |
| 1020 | "timeline-utc", "utc", 1, 0); |
| 1021 | @ <p>Show times as UTC (also sometimes called Greenwich Mean Time (GMT) or |
| 1022 | @ Zulu) instead of in local time. On this server, local time is currently |
| 1023 |