Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show boolean option in settings page #3285

Merged
merged 3 commits into from
Oct 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
108 changes: 54 additions & 54 deletions sd-card/html/edit_config_template.html
Original file line number Diff line number Diff line change
Expand Up @@ -363,8 +363,8 @@ <h2>Configuration</h2>
</td>
<td>
<select id="TakeImage_CamAutoSharpness_value1" onchange="cameraParameterChanged()">
<option value="true">enable</option>
<option value="false" selected>disable</option>
<option value="true">enable (true)</option>
<option value="false" selected>disable (false)</option>
</select>
</td>
<td>$TOOLTIP_TakeImage_CamAutoSharpness</td>
Expand Down Expand Up @@ -421,8 +421,8 @@ <h2>Configuration</h2>
</td>
<td>
<select id="TakeImage_CamAwb_value1" onchange="cameraParameterChanged()">
<option value="true">enable</option>
<option value="false" selected>disable</option>
<option value="true">enable (true)</option>
<option value="false" selected>disable (false)</option>
</select>
</td>
<td>$TOOLTIP_TakeImage_CamAwb</td>
Expand All @@ -434,8 +434,8 @@ <h2>Configuration</h2>
</td>
<td>
<select id="TakeImage_CamAwbGain_value1" onchange="cameraParameterChanged()">
<option value="true">enable</option>
<option value="false" selected>disable</option>
<option value="true">enable (true)</option>
<option value="false" selected>disable (false)</option>
</select>
</td>
<td>$TOOLTIP_TakeImage_CamAwbGain</td>
Expand All @@ -447,8 +447,8 @@ <h2>Configuration</h2>
</td>
<td>
<select id="TakeImage_CamAec_value1" onchange="cameraParameterChanged()">
<option value="true">enable</option>
<option value="false" selected>disable</option>
<option value="true">enable (true)</option>
<option value="false" selected>disable (false)</option>
</select>
</td>
<td>$TOOLTIP_TakeImage_CamAec</td>
Expand All @@ -460,8 +460,8 @@ <h2>Configuration</h2>
</td>
<td>
<select id="TakeImage_CamAec2_value1" onchange="cameraParameterChanged()">
<option value="true">enable</option>
<option value="false" selected>disable</option>
<option value="true">enable (true)</option>
<option value="false" selected>disable (false)</option>
</select>
</td>
<td>$TOOLTIP_TakeImage_CamAec2</td>
Expand Down Expand Up @@ -495,8 +495,8 @@ <h2>Configuration</h2>
</td>
<td>
<select id="TakeImage_CamAgc_value1" onchange="cameraParameterChanged()">
<option value="true">enable</option>
<option value="false" selected>disable</option>
<option value="true">enable (true)</option>
<option value="false" selected>disable (false)</option>
</select>
</td>
<td>$TOOLTIP_TakeImage_CamAgc</td>
Expand All @@ -520,8 +520,8 @@ <h2>Configuration</h2>
</td>
<td>
<select id="TakeImage_CamBpc_value1" onchange="cameraParameterChanged()">
<option value="true">enable</option>
<option value="false" selected>disable</option>
<option value="true">enable (true)</option>
<option value="false" selected>disable (false)</option>
</select>
</td>
<td>$TOOLTIP_TakeImage_CamBpc</td>
Expand All @@ -533,8 +533,8 @@ <h2>Configuration</h2>
</td>
<td>
<select id="TakeImage_CamWpc_value1" onchange="cameraParameterChanged()">
<option value="true">enable</option>
<option value="false" selected>disable</option>
<option value="true">enable (true)</option>
<option value="false" selected>disable (false)</option>
</select>
</td>
<td>$TOOLTIP_TakeImage_CamWpc</td>
Expand All @@ -546,8 +546,8 @@ <h2>Configuration</h2>
</td>
<td>
<select id="TakeImage_CamRawGma_value1" onchange="cameraParameterChanged()">
<option value="true">enable</option>
<option value="false" selected>disable</option>
<option value="true">enable (true)</option>
<option value="false" selected>disable (false)</option>
</select>
</td>
<td>$TOOLTIP_TakeImage_CamRawGma</td>
Expand All @@ -559,8 +559,8 @@ <h2>Configuration</h2>
</td>
<td>
<select id="TakeImage_CamLenc_value1" onchange="cameraParameterChanged()">
<option value="true">enable</option>
<option value="false" selected>disable</option>
<option value="true">enable (true)</option>
<option value="false" selected>disable (false)</option>
</select>
</td>
<td>$TOOLTIP_TakeImage_CamLenc</td>
Expand All @@ -572,8 +572,8 @@ <h2>Configuration</h2>
</td>
<td>
<select id="TakeImage_CamHmirror_value1" onchange="cameraParameterChanged()">
<option value="true">enable</option>
<option value="false" selected>disable</option>
<option value="true">enable (true)</option>
<option value="false" selected>disable (false)</option>
</select>
</td>
<td>$TOOLTIP_TakeImage_CamHmirror</td>
Expand All @@ -585,8 +585,8 @@ <h2>Configuration</h2>
</td>
<td>
<select id="TakeImage_CamVflip_value1" onchange="cameraParameterChanged()">
<option value="true">enable</option>
<option value="false" selected>disable</option>
<option value="true">enable (true)</option>
<option value="false" selected>disable (false)</option>
</select>
</td>
<td>$TOOLTIP_TakeImage_CamVflip</td>
Expand All @@ -598,8 +598,8 @@ <h2>Configuration</h2>
</td>
<td>
<select id="TakeImage_CamDcw_value1" onchange="cameraParameterChanged()">
<option value="true">enable</option>
<option value="false" selected>disable</option>
<option value="true">enable (true)</option>
<option value="false" selected>disable (false)</option>
</select>
</td>
<td>$TOOLTIP_TakeImage_CamDcw</td>
Expand All @@ -622,8 +622,8 @@ <h2>Configuration</h2>
</td>
<td>
<select id="TakeImage_CamZoom_value1" onchange="cameraParameterChanged()">
<option value="true">enable</option>
<option value="false" selected>disable</option>
<option value="true">enable (true)</option>
<option value="false" selected>disable (false)</option>
</select>
</td>
<td>$TOOLTIP_TakeImage_CamZoom</td>
Expand Down Expand Up @@ -681,8 +681,8 @@ <h2>Configuration</h2>
</td>
<td>
<select id="TakeImage_Demo_value1">
<option value="true">enable</option>
<option value="false" selected>disable</option>
<option value="true">enable (true)</option>
<option value="false" selected>disable (false)</option>
</select>
</td>
<td>$TOOLTIP_TakeImage_Demo</td>
Expand Down Expand Up @@ -850,8 +850,8 @@ <h4><input type="checkbox" id="Category_Analog_enabled" value="1" onclick = 'Up
</td>
<td>
<select id="PostProcessing_PreValueUse_value1">
<option value="true">enable</option>
<option value="false" selected>disable</option>
<option value="true">enable (true)</option>
<option value="false" selected>disable (false)</option>
</select>
</td>
<td>$TOOLTIP_PostProcessing_PreValueUse</td>
Expand All @@ -875,8 +875,8 @@ <h4><input type="checkbox" id="Category_Analog_enabled" value="1" onclick = 'Up
</td>
<td>
<select id="PostProcessing_ErrorMessage_value1">
<option value="true">enable</option>
<option value="false" selected>disable</option>
<option value="true">enable (true)</option>
<option value="false" selected>disable (false)</option>
</select>
</td>
<td>$TOOLTIP_PostProcessing_ErrorMessage</td>
Expand All @@ -888,8 +888,8 @@ <h4><input type="checkbox" id="Category_Analog_enabled" value="1" onclick = 'Up
</td>
<td>
<select id="PostProcessing_CheckDigitIncreaseConsistency_value1">
<option value="true">enable</option>
<option value="false" selected>disable</option>
<option value="true">enable (true)</option>
<option value="false" selected>disable (false)</option>
</select>
</td>
<td>$TOOLTIP_PostProcessing_CheckDigitIncreaseConsistency</td>
Expand All @@ -910,8 +910,8 @@ <h4><input type="checkbox" id="Category_Analog_enabled" value="1" onclick = 'Up
</td>
<td>
<select id="PostProcessing_AllowNegativeRates_value1">
<option value="true">enable</option>
<option value="false" selected>disable</option>
<option value="true">enable (true)</option>
<option value="false" selected>disable (false)</option>
</select>
</td>
<td>$TOOLTIP_PostProcessing_NUMBER.AllowNegativeRates</td>
Expand Down Expand Up @@ -988,8 +988,8 @@ <h4><input type="checkbox" id="Category_Analog_enabled" value="1" onclick = 'Up
</td>
<td>
<select id="PostProcessing_ExtendedResolution_value1">
<option value="true">enable</option>
<option value="false" selected>disable</option>
<option value="true">enable (true)</option>
<option value="false" selected>disable (false)</option>
</select>
</td>
<td>$TOOLTIP_PostProcessing_NUMBER.ExtendedResolution</td>
Expand All @@ -1001,8 +1001,8 @@ <h4><input type="checkbox" id="Category_Analog_enabled" value="1" onclick = 'Up
</td>
<td>
<select id="PostProcessing_IgnoreLeadingNaN_value1">
<option value="true">enable</option>
<option value="false" selected>disable</option>
<option value="true">enable (true)</option>
<option value="false" selected>disable (false)</option>
</select>
</td>
<td>$TOOLTIP_PostProcessing_NUMBER.IgnoreLeadingNaN</td>
Expand All @@ -1014,8 +1014,8 @@ <h4><input type="checkbox" id="Category_Analog_enabled" value="1" onclick = 'Up
</td>
<td>
<select id="PostProcessing_IgnoreAllNaN_value1">
<option value="true">enable</option>
<option value="false" selected>disable</option>
<option value="true">enable (true)</option>
<option value="false" selected>disable (false)</option>
</select>
</td>
<td>$TOOLTIP_PostProcessing_NUMBER.IgnoreAllNaN</td>
Expand Down Expand Up @@ -1126,8 +1126,8 @@ <h4>
</td>
<td>
<select id="MQTT_RetainMessages_value1">
<option value="true">enable</option>
<option value="false" selected>disable</option>
<option value="true">enable (true)</option>
<option value="false" selected>disable (false)</option>
</select>
</td>
<td>$TOOLTIP_MQTT_RetainMessages</td>
Expand All @@ -1148,8 +1148,8 @@ <h4>
</td>
<td>
<select id="MQTT_HomeassistantDiscovery_value1">
<option value="true">enable</option>
<option value="false" selected>disable</option>
<option value="true">enable (true)</option>
<option value="false" selected>disable (false)</option>
</select>
</td>
<td>$TOOLTIP_MQTT_HomeassistantDiscovery</td>
Expand Down Expand Up @@ -1900,8 +1900,8 @@ <h4><input type="checkbox" id="Category_GPIO_enabled" value="1" onclick='Update
</td>
<td>
<select id="AutoTimer_AutoStart_value1">
<option value="true">enable</option>
<option value="false" selected>disable</option>
<option value="true">enable (true)</option>
<option value="false" selected>disable (false)</option>
</select>
</td>
<td>$TOOLTIP_AutoTimer_AutoStart</td>
Expand Down Expand Up @@ -1930,8 +1930,8 @@ <h4><input type="checkbox" id="Category_GPIO_enabled" value="1" onclick='Update
</td>
<td>
<select id="DataLogging_DataLogActive_value1">
<option value="true">enable</option>
<option value="false" selected>disable</option>
<option value="true">enable (true)</option>
<option value="false" selected>disable (false)</option>
</select>
</td>
<td>$TOOLTIP_DataLogging_DataLogActive</td>
Expand Down Expand Up @@ -2053,8 +2053,8 @@ <h4><input type="checkbox" id="Category_GPIO_enabled" value="1" onclick='Update
</td>
<td>
<select id="System_Tooltip_value1" onchange="UpdateTooltipModus()">
<option value="true">enable</option>
<option value="false" selected>disable</option>
<option value="true">enable (true)</option>
<option value="false" selected>disable (false)</option>
</select>
</td>
<td></td>
Expand Down
24 changes: 12 additions & 12 deletions sd-card/html/edit_reference.html
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,8 @@ <h2>Reference Image and Camera Settings</h2>
</td>
<td>
<select id="TakeImage_CamZoom_value1" onchange="cameraParameterChanged()">
<option value="true">enable</option>
<option value="false" selected>disable</option>
<option value="true">enable (true)</option>
<option value="false" selected>disable (false)</option>
</select>
</td>
<td>$TOOLTIP_TakeImage_CamZoom</td>
Expand Down Expand Up @@ -232,8 +232,8 @@ <h2>Reference Image and Camera Settings</h2>
</td>
<td>
<select id="TakeImage_CamAec2_value1" onchange="cameraParameterChanged()">
<option value="true">enable</option>
<option value="false" selected>disable</option>
<option value="true">enable (true)</option>
<option value="false" selected>disable (false)</option>
</select>
</td>
<td>$TOOLTIP_TakeImage_CamAec2</td>
Expand All @@ -245,8 +245,8 @@ <h2>Reference Image and Camera Settings</h2>
</td>
<td>
<select id="TakeImage_CamHmirror_value1" onchange="cameraParameterChanged()">
<option value="true">enable</option>
<option value="false" selected>disable</option>
<option value="true">enable (true)</option>
<option value="false" selected>disable (false)</option>
</select>
</td>
<td>$TOOLTIP_TakeImage_CamHmirror</td>
Expand All @@ -267,8 +267,8 @@ <h2>Reference Image and Camera Settings</h2>
</td>
<td>
<select id="TakeImage_CamVflip_value1" onchange="cameraParameterChanged()">
<option value="true">enable</option>
<option value="false" selected>disable</option>
<option value="true">enable (true)</option>
<option value="false" selected>disable (false)</option>
</select>
</td>
<td>$TOOLTIP_TakeImage_CamVflip</td>
Expand Down Expand Up @@ -332,8 +332,8 @@ <h2>Reference Image and Camera Settings</h2>
</td>
<td>
<select id="TakeImage_CamAec_value1" onchange="cameraParameterChanged()">
<option value="true">enable</option>
<option value="false" selected>disable</option>
<option value="true">enable (true)</option>
<option value="false" selected>disable (false)</option>
</select>
</td>
<td>$TOOLTIP_TakeImage_CamAec</td>
Expand All @@ -355,8 +355,8 @@ <h2>Reference Image and Camera Settings</h2>
</td>
<td>
<select id="TakeImage_CamAutoSharpness_value1" onchange="cameraParameterChanged()">
<option value="true">enable</option>
<option value="false" selected>disable</option>
<option value="true">enable (true)</option>
<option value="false" selected>disable (false)</option>
</select>
</td>
<td>$TOOLTIP_TakeImage_CamAutoSharpness</td>
Expand Down