remove the label attribute from the checkboxes

This commit is contained in:
Jakob Ketterl
2021-02-22 00:57:02 +01:00
parent 770fd749cd
commit 9beb3b9168
9 changed files with 16 additions and 27 deletions

View File

@ -12,8 +12,7 @@ class BackgroundDecodingController(SettingsFormController):
"Background decoding",
CheckboxInput(
"services_enabled",
"Service",
checkboxText="Enable background decoding services",
"Enable background decoding services",
),
ServicesCheckboxInput("services_decoders", "Enabled services"),
),

View File

@ -37,14 +37,13 @@ class DecodingSettingsController(SettingsFormController):
),
CheckboxInput(
"digital_voice_dmr_id_lookup",
"DMR id lookup",
checkboxText='Enable lookup of DMR ids in the <a href="https://www.radioid.net/" target="_blank">'
'Enable lookup of DMR ids in the <a href="https://www.radioid.net/" target="_blank">'
+ "radioid</a> database to show callsigns and names",
),
),
Section(
"Digimodes",
CheckboxInput("digimodes_enable", "", checkboxText="Enable Digimodes"),
CheckboxInput("digimodes_enable", "Enable Digimodes"),
NumberInput("digimodes_fft_size", "Digimodes FFT size", append="bins"),
),
Section(

View File

@ -14,8 +14,7 @@ class ReportingController(SettingsFormController):
"APRS-IS reporting",
CheckboxInput(
"aprs_igate_enabled",
"APRS I-Gate",
checkboxText="Send received APRS data to APRS-IS",
"Send received APRS data to APRS-IS",
),
TextInput(
"aprs_callsign",
@ -26,8 +25,7 @@ class ReportingController(SettingsFormController):
TextInput("aprs_igate_password", "APRS-IS network password"),
CheckboxInput(
"aprs_igate_beacon",
"APRS beacon",
checkboxText="Send the receiver position to the APRS-IS network",
"Send the receiver position to the APRS-IS network",
infotext="Please check that your receiver location is setup correctly before enabling the beacon",
),
DropdownInput(
@ -60,8 +58,7 @@ class ReportingController(SettingsFormController):
"pskreporter settings",
CheckboxInput(
"pskreporter_enabled",
"Reporting",
checkboxText="Enable sending spots to pskreporter.info",
"Enable sending spots to pskreporter.info",
),
TextInput(
"pskreporter_callsign",
@ -79,8 +76,7 @@ class ReportingController(SettingsFormController):
"WSPRnet settings",
CheckboxInput(
"wsprnet_enabled",
"Reporting",
checkboxText="Enable sending spots to wsprnet.org",
"Enable sending spots to wsprnet.org",
),
TextInput(
"wsprnet_callsign",