diff --git a/.SRCINFO b/.SRCINFO index 215beed..01a041e 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = coolerdash pkgdesc = Monitor telemetry data on an AIO liquid cooler with an integrated LCD display - pkgver = 2.2.4 + pkgver = 2.2.5 pkgrel = 1 url = https://github.com/damachine/coolerdash install = coolerdash.install diff --git a/VERSION b/VERSION index 530cdd9..21bb5e1 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.2.4 +2.2.5 diff --git a/etc/coolercontrol/plugins/coolerdash/config.json b/etc/coolercontrol/plugins/coolerdash/config.json index 715b18a..62195fc 100644 --- a/etc/coolercontrol/plugins/coolerdash/config.json +++ b/etc/coolercontrol/plugins/coolerdash/config.json @@ -54,46 +54,46 @@ "size_labels": 30.0 }, - "cpu": { - "threshold_1": 55.0, - "threshold_2": 65.0, - "threshold_3": 75.0, - "max_scale": 115.0, - "threshold_1_color": { "r": 0, "g": 255, "b": 0 }, - "threshold_2_color": { "r": 255, "g": 140, "b": 0 }, - "threshold_3_color": { "r": 255, "g": 70, "b": 0 }, - "threshold_4_color": { "r": 255, "g": 0, "b": 0 } - }, - - "gpu": { - "threshold_1": 55.0, - "threshold_2": 65.0, - "threshold_3": 75.0, - "max_scale": 115.0, - "threshold_1_color": { "r": 0, "g": 255, "b": 0 }, - "threshold_2_color": { "r": 255, "g": 140, "b": 0 }, - "threshold_3_color": { "r": 255, "g": 70, "b": 0 }, - "threshold_4_color": { "r": 255, "g": 0, "b": 0 } - }, - - "liquid": { - "max_scale": 50.0, - "threshold_1": 25.0, - "threshold_2": 28.0, - "threshold_3": 31.0, - "threshold_1_color": { "r": 0, "g": 255, "b": 0 }, - "threshold_2_color": { "r": 255, "g": 140, "b": 0 }, - "threshold_3_color": { "r": 255, "g": 70, "b": 0 }, - "threshold_4_color": { "r": 255, "g": 0, "b": 0 } + "sensors": { + "cpu": { + "threshold_1": 55.0, + "threshold_2": 65.0, + "threshold_3": 75.0, + "max_scale": 115.0, + "threshold_1_color": { "r": 0, "g": 255, "b": 0 }, + "threshold_2_color": { "r": 255, "g": 140, "b": 0 }, + "threshold_3_color": { "r": 255, "g": 70, "b": 0 }, + "threshold_4_color": { "r": 255, "g": 0, "b": 0 }, + "offset_x": 0, + "offset_y": 0 + }, + "gpu": { + "threshold_1": 55.0, + "threshold_2": 65.0, + "threshold_3": 75.0, + "max_scale": 115.0, + "threshold_1_color": { "r": 0, "g": 255, "b": 0 }, + "threshold_2_color": { "r": 255, "g": 140, "b": 0 }, + "threshold_3_color": { "r": 255, "g": 70, "b": 0 }, + "threshold_4_color": { "r": 255, "g": 0, "b": 0 }, + "offset_x": 0, + "offset_y": 0 + }, + "liquid": { + "threshold_1": 25.0, + "threshold_2": 28.0, + "threshold_3": 31.0, + "max_scale": 50.0, + "threshold_1_color": { "r": 0, "g": 255, "b": 0 }, + "threshold_2_color": { "r": 255, "g": 140, "b": 0 }, + "threshold_3_color": { "r": 255, "g": 70, "b": 0 }, + "threshold_4_color": { "r": 255, "g": 0, "b": 0 }, + "offset_x": 0, + "offset_y": 0 + } }, "positioning": { - "temp_offset_x_cpu": 0, - "temp_offset_x_gpu": 0, - "temp_offset_y_cpu": 0, - "temp_offset_y_gpu": 0, - "temp_offset_x_liquid": 0, - "temp_offset_y_liquid": 0, "degree_spacing": 16, "label_offset_x": 0, "label_offset_y": 0 diff --git a/etc/coolercontrol/plugins/coolerdash/ui/index.html b/etc/coolercontrol/plugins/coolerdash/ui/index.html index ae0ac90..f97a438 100644 --- a/etc/coolercontrol/plugins/coolerdash/ui/index.html +++ b/etc/coolercontrol/plugins/coolerdash/ui/index.html @@ -465,6 +465,92 @@ ::-webkit-scrollbar-track { background: var(--bg-primary); border-radius: 4px; } ::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; } ::-webkit-scrollbar-thumb:hover { background: var(--accent); } + + /* Sensor Config Sections */ + .sensor-config-section { + margin-bottom: 16px; + } + + .sensor-config-section:last-child { + margin-bottom: 0; + } + + /* Collapsible details (used in Sensors + Layout tabs) */ + .sensor-details, + .collapsible-details { + border: 1px solid var(--border); + border-radius: 8px; + overflow: hidden; + } + + .collapsible-details + .collapsible-details { + margin-top: 12px; + } + + .sensor-details summary, + .collapsible-details summary { + padding: 12px 16px; + background: var(--bg-secondary); + cursor: pointer; + font-weight: 600; + font-size: 15px; + color: var(--text-primary); + display: flex; + align-items: center; + gap: 8px; + user-select: none; + list-style: none; + border-bottom: 1px solid transparent; + transition: background 0.15s; + } + + .sensor-details summary::-webkit-details-marker, + .collapsible-details summary::-webkit-details-marker { display: none; } + + .sensor-details summary::before, + .collapsible-details summary::before { + content: '\25B6'; + font-size: 10px; + transition: transform 0.2s; + color: var(--text-dim); + } + + .sensor-details[open] summary::before, + .collapsible-details[open] summary::before { + transform: rotate(90deg); + } + + .sensor-details[open] summary, + .collapsible-details[open] summary { + border-bottom: 1px solid var(--border); + } + + .sensor-details summary:hover, + .collapsible-details summary:hover { + background: var(--bg-primary); + } + + .sensor-details-content, + .collapsible-details-content { + padding: 16px; + } + + .sensor-details .sub-section-title, + .collapsible-details .sub-section-title { + font-size: 13px; + font-weight: 600; + color: var(--accent); + text-transform: uppercase; + letter-spacing: 0.5px; + margin: 16px 0 8px 0; + padding-bottom: 4px; + border-bottom: 1px solid rgba(255,107,129,0.15); + } + + .sensor-details .sub-section-title:first-child, + .collapsible-details .sub-section-title:first-child { + margin-top: 0; + }
@@ -472,9 +558,9 @@Customize your LCD temperature dashboard • Changes require plugin restart
+Customize your LCD temperature dashboard • Changes require plugin restart
- 💡 Tip: After an update, click Reset to apply new default values. Feedback & bug reports are welcome — see the Info tab for links. + 💡 Tip: After an update, click Reset to apply new default values. Feedback & bug reports are welcome — see the Info tab for links.