Skip to content

Commit 25302b0

Browse files
committed
fix(testing): add 4-Channel (RGBW) options and improve 3-Channel (RGB) labels
1 parent 9623d3e commit 25302b0

1 file changed

Lines changed: 57 additions & 54 deletions

File tree

www/testing.php

Lines changed: 57 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1661,6 +1661,7 @@ class="form-text text-muted">(1-<? echo FPPD_MAX_CHANNELS; ?>)
16611661
<div class="col-md-6">
16621662
<div class="backdrop">
16631663
<h3>Chase Patterns</h3>
1664+
<h5 class="mt-2 mb-2">3-Channel (RGB)</h5>
16641665
<div
16651666
class="testPatternOptionRow custom-control custom-radio">
16661667
<input type='radio' class="custom-control-input"
@@ -1669,14 +1670,6 @@ class="testPatternOptionRow custom-control custom-radio">
16691670
class="custom-control-label"
16701671
for='RGBChase-RGB'>Chase:
16711672
R-G-B</label></div>
1672-
<div
1673-
class="testPatternOptionRow custom-control custom-radio">
1674-
<input type='radio' class="custom-control-input"
1675-
name='testModeMode' value='RGBChase-RGBW'
1676-
id='RGBChase-RGBW' onChange='SetTestMode();'><label
1677-
class="custom-control-label"
1678-
for='RGBChase-RGBW'>Chase:
1679-
R-G-B-W</label></div>
16801673
<div
16811674
class="testPatternOptionRow custom-control custom-radio">
16821675
<input type='radio' class="custom-control-input"
@@ -1685,14 +1678,6 @@ class="testPatternOptionRow custom-control custom-radio">
16851678
class="custom-control-label"
16861679
for='RGBChase-RGBA'>Chase:
16871680
R-G-B-All</label></div>
1688-
<div
1689-
class="testPatternOptionRow custom-control custom-radio">
1690-
<input type='radio' class="custom-control-input"
1691-
name='testModeMode' value='RGBChase-RGBWA'
1692-
id='RGBChase-RGBWA' onChange='SetTestMode();'><label
1693-
class="custom-control-label"
1694-
for='RGBChase-RGBWA'>Chase:
1695-
R-G-B-W-All</label></div>
16961681
<div
16971682
class="testPatternOptionRow custom-control custom-radio">
16981683
<input type='radio' class="custom-control-input"
@@ -1701,14 +1686,6 @@ class="testPatternOptionRow custom-control custom-radio">
17011686
class="custom-control-label"
17021687
for='RGBChase-RGBN'>Chase:
17031688
R-G-B-None</label></div>
1704-
<div
1705-
class="testPatternOptionRow custom-control custom-radio">
1706-
<input type='radio' class="custom-control-input"
1707-
name='testModeMode' value='RGBChase-RGBWN'
1708-
id='RGBChase-RGBWN' onChange='SetTestMode();'><label
1709-
class="custom-control-label"
1710-
for='RGBChase-RGBWN'>Chase:
1711-
R-G-B-W-None</label></div>
17121689
<div
17131690
class="testPatternOptionRow custom-control custom-radio">
17141691
<input type='radio' class="custom-control-input"
@@ -1717,15 +1694,40 @@ class="testPatternOptionRow custom-control custom-radio">
17171694
class="custom-control-label"
17181695
for='RGBChase-RGBAN'>Chase:
17191696
R-G-B-All-None</label></div>
1697+
<h5 class="mt-3 mb-2">4-Channel (RGBW)</h5>
1698+
<div
1699+
class="testPatternOptionRow custom-control custom-radio">
1700+
<input type='radio' class="custom-control-input"
1701+
name='testModeMode' value='RGBChase-RGBW'
1702+
id='RGBChase-RGBW' onChange='SetTestMode();'><label
1703+
class="custom-control-label"
1704+
for='RGBChase-RGBW'>Chase:
1705+
R-G-B-W</label></div>
1706+
<div
1707+
class="testPatternOptionRow custom-control custom-radio">
1708+
<input type='radio' class="custom-control-input"
1709+
name='testModeMode' value='RGBChase-RGBWA'
1710+
id='RGBChase-RGBWA' onChange='SetTestMode();'><label
1711+
class="custom-control-label"
1712+
for='RGBChase-RGBWA'>Chase:
1713+
R-G-B-W-All</label></div>
1714+
<div
1715+
class="testPatternOptionRow custom-control custom-radio">
1716+
<input type='radio' class="custom-control-input"
1717+
name='testModeMode' value='RGBChase-RGBWN'
1718+
id='RGBChase-RGBWN' onChange='SetTestMode();'><label
1719+
class="custom-control-label"
1720+
for='RGBChase-RGBWN'>Chase:
1721+
R-G-B-W-None</label></div>
17201722
<div
17211723
class="testPatternOptionRow custom-control custom-radio">
17221724
<input type='radio' class="custom-control-input"
17231725
name='testModeMode' value='RGBChase-RGBWAN'
1724-
id='RGBChase-RGBWAN'
1725-
onChange='SetTestMode();'><label
1726+
id='RGBChase-RGBWAN' onChange='SetTestMode();'><label
17261727
class="custom-control-label"
17271728
for='RGBChase-RGBWAN'>Chase:
17281729
R-G-B-W-All-None</label></div>
1730+
<h5 class="mt-3 mb-2">Custom</h5>
17291731
<div
17301732
class="testPatternOptionRow custom-control custom-radio">
17311733
<input type='radio' class="custom-control-input"
@@ -1771,23 +1773,15 @@ class="btn btn-outline-danger btn-sm"
17711773
<div class="col-md-6">
17721774
<div class="backdrop ">
17731775
<h3>Cycle Patterns</h3>
1776+
<h5 class="mt-2 mb-2">3-Channel (RGB)</h5>
17741777
<div
17751778
class="testPatternOptionRow custom-control custom-radio">
17761779
<input type='radio' class="custom-control-input"
17771780
name='testModeMode' value='RGBCycle-RGB'
1778-
id='RGBCycle-RGB' checked
1779-
onChange='SetTestMode();'><label
1781+
id='RGBCycle-RGB' checked onChange='SetTestMode();'><label
17801782
class="custom-control-label"
17811783
for='RGBCycle-RGB'>Cycle:
17821784
R-G-B</label></div>
1783-
<div
1784-
class="testPatternOptionRow custom-control custom-radio">
1785-
<input type='radio' class="custom-control-input"
1786-
name='testModeMode' value='RGBCycle-RGBW'
1787-
id='RGBCycle-RGBW' onChange='SetTestMode();'><label
1788-
class="custom-control-label"
1789-
for='RGBCycle-RGBW'>Cycle:
1790-
R-G-B-W</label></div>
17911785
<div
17921786
class="testPatternOptionRow custom-control custom-radio">
17931787
<input type='radio' class="custom-control-input"
@@ -1796,14 +1790,6 @@ class="testPatternOptionRow custom-control custom-radio">
17961790
class="custom-control-label"
17971791
for='RGBCycle-RGBA'>Cycle:
17981792
R-G-B-All</label></div>
1799-
<div
1800-
class="testPatternOptionRow custom-control custom-radio">
1801-
<input type='radio' class="custom-control-input"
1802-
name='testModeMode' value='RGBCycle-RGBWA'
1803-
id='RGBCycle-RGBWA' onChange='SetTestMode();'><label
1804-
class="custom-control-label"
1805-
for='RGBCycle-RGBWA'>Cycle:
1806-
R-G-B-W-All</label></div>
18071793
<div
18081794
class="testPatternOptionRow custom-control custom-radio">
18091795
<input type='radio' class="custom-control-input"
@@ -1812,14 +1798,6 @@ class="testPatternOptionRow custom-control custom-radio">
18121798
class="custom-control-label"
18131799
for='RGBCycle-RGBN'>Cycle:
18141800
R-G-B-None</label></div>
1815-
<div
1816-
class="testPatternOptionRow custom-control custom-radio">
1817-
<input type='radio' class="custom-control-input"
1818-
name='testModeMode' value='RGBCycle-RGBWN'
1819-
id='RGBCycle-RGBWN' onChange='SetTestMode();'><label
1820-
class="custom-control-label"
1821-
for='RGBCycle-RGBWN'>Cycle:
1822-
R-G-B-W-None</label></div>
18231801
<div
18241802
class="testPatternOptionRow custom-control custom-radio">
18251803
<input type='radio' class="custom-control-input"
@@ -1828,15 +1806,40 @@ class="testPatternOptionRow custom-control custom-radio">
18281806
class="custom-control-label"
18291807
for='RGBCycle-RGBAN'>Cycle:
18301808
R-G-B-All-None</label></div>
1809+
<h5 class="mt-3 mb-2">4-Channel (RGBW)</h5>
1810+
<div
1811+
class="testPatternOptionRow custom-control custom-radio">
1812+
<input type='radio' class="custom-control-input"
1813+
name='testModeMode' value='RGBCycle-RGBW'
1814+
id='RGBCycle-RGBW' onChange='SetTestMode();'><label
1815+
class="custom-control-label"
1816+
for='RGBCycle-RGBW'>Cycle:
1817+
R-G-B-W</label></div>
1818+
<div
1819+
class="testPatternOptionRow custom-control custom-radio">
1820+
<input type='radio' class="custom-control-input"
1821+
name='testModeMode' value='RGBCycle-RGBWA'
1822+
id='RGBCycle-RGBWA' onChange='SetTestMode();'><label
1823+
class="custom-control-label"
1824+
for='RGBCycle-RGBWA'>Cycle:
1825+
R-G-B-W-All</label></div>
1826+
<div
1827+
class="testPatternOptionRow custom-control custom-radio">
1828+
<input type='radio' class="custom-control-input"
1829+
name='testModeMode' value='RGBCycle-RGBWN'
1830+
id='RGBCycle-RGBWN' onChange='SetTestMode();'><label
1831+
class="custom-control-label"
1832+
for='RGBCycle-RGBWN'>Cycle:
1833+
R-G-B-W-None</label></div>
18311834
<div
18321835
class="testPatternOptionRow custom-control custom-radio">
18331836
<input type='radio' class="custom-control-input"
18341837
name='testModeMode' value='RGBCycle-RGBWAN'
1835-
id='RGBCycle-RGBWAN'
1836-
onChange='SetTestMode();'><label
1838+
id='RGBCycle-RGBWAN' onChange='SetTestMode();'><label
18371839
class="custom-control-label"
18381840
for='RGBCycle-RGBWAN'>Cycle:
18391841
R-G-B-W-All-None</label></div>
1842+
<h5 class="mt-3 mb-2">Custom</h5>
18401843
<div
18411844
class="testPatternOptionRow custom-control custom-radio">
18421845
<input type='radio' class="custom-control-input"

0 commit comments

Comments
 (0)