mirror of
https://git.ianrenton.com/ian/spothole.git
synced 2026-08-11 23:21:42 +00:00
Replace dash-separated config & API properties with underscore-separated versions. #127
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">Theme</h5>
|
||||
<p class="card-text spothole-card-text">
|
||||
{% module Template("widgets/color-scheme.html", web_ui_options=web_ui_options) %}
|
||||
{% module Template("widgets/color_scheme.html", web_ui_options=web_ui_options) %}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
+2
-2
@@ -2,10 +2,10 @@
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">Theme</h5>
|
||||
<p class="card-text spothole-card-text">
|
||||
{% module Template("widgets/color-scheme.html", web_ui_options=web_ui_options) %}
|
||||
{% module Template("widgets/color_scheme.html", web_ui_options=web_ui_options) %}
|
||||
</p>
|
||||
<p class="card-text spothole-card-text">
|
||||
{% module Template("widgets/band-color-scheme.html", web_ui_options=web_ui_options) %}
|
||||
{% module Template("widgets/band_color_scheme.html", web_ui_options=web_ui_options) %}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,6 +1,6 @@
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">DE Continent</h5>
|
||||
<div id="de-continent-options" class="card-text spothole-card-text"></div>
|
||||
<div id="de_continent_options" class="card-text spothole-card-text"></div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,6 +1,6 @@
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">DX Continent</h5>
|
||||
<div id="dx-continent-options" class="card-text spothole-card-text"></div>
|
||||
<div id="dx_continent_options" class="card-text spothole-card-text"></div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -3,9 +3,9 @@
|
||||
<h5 class="card-title">HamQTH</h5>
|
||||
<div class="card-text spothole-card-text">
|
||||
<div class="form-check mb-2">
|
||||
<input type="checkbox" class="storeable-checkbox form-check-input" id="hamqth-enabled"
|
||||
<input type="checkbox" class="storeable-checkbox form-check-input" id="hamqth_enabled"
|
||||
onchange="saveSettings();">
|
||||
<label for="hamqth-enabled" class="form-check-label">Use data from HamQTH</label>
|
||||
<label for="hamqth_enabled" class="form-check-label">Use data from HamQTH</label>
|
||||
</div>
|
||||
<div class="mb-2">
|
||||
<input type="text" class="storeable-text form-control" id="hamqth-username"
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">Number of Alerts</h5>
|
||||
<p class="card-text spothole-card-text">Show up to
|
||||
<select id="alerts-to-fetch" class="storeable-select form-select ms-2 me-2" oninput="filtersUpdated();"
|
||||
<select id="alerts_to_fetch" class="storeable-select form-select ms-2 me-2" oninput="filtersUpdated();"
|
||||
style="width: 5em;display: inline-block;">
|
||||
{% for c in web_ui_options["alert-count"] %}
|
||||
{% for c in web_ui_options["alert_count"] %}
|
||||
<option value="{{c}}" {% if web_ui_options[
|
||||
"alert-count-default"] == c %}selected{% end %}>{{c}}</option>
|
||||
"alert_count_default"] == c %}selected{% end %}>{{c}}</option>
|
||||
{% end %}
|
||||
</select>
|
||||
alerts
|
||||
@@ -2,11 +2,11 @@
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">Number of Spots</h5>
|
||||
<p class="card-text spothole-card-text">Show up to
|
||||
<select id="spots-to-fetch" class="storeable-select form-select ms-2 me-2 d-inline-block"
|
||||
<select id="spots_to_fetch" class="storeable-select form-select ms-2 me-2 d-inline-block"
|
||||
oninput="filtersUpdated();" style="width: 5em; display: inline-block;">
|
||||
{% for c in web_ui_options["spot-count"] %}
|
||||
{% for c in web_ui_options["spot_count"] %}
|
||||
<option value="{{c}}" {% if web_ui_options[
|
||||
"spot-count-default"] == c %}selected{% end %}>{{c}}</option>
|
||||
"spot_count_default"] == c %}selected{% end %}>{{c}}</option>
|
||||
{% end %}
|
||||
</select>
|
||||
spots
|
||||
@@ -3,9 +3,9 @@
|
||||
<h5 class="card-title">QRZ.com</h5>
|
||||
<div class="card-text spothole-card-text">
|
||||
<div class="form-check mb-2">
|
||||
<input type="checkbox" class="storeable-checkbox form-check-input" id="qrz-enabled"
|
||||
<input type="checkbox" class="storeable-checkbox form-check-input" id="qrz_enabled"
|
||||
onchange="saveSettings();">
|
||||
<label for="qrz-enabled" class="form-check-label">Use data from QRZ.com</label>
|
||||
<label for="qrz_enabled" class="form-check-label">Use data from QRZ.com</label>
|
||||
</div>
|
||||
<div class="mb-2">
|
||||
<input type="text" class="storeable-text form-control" id="qrz-username"
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">Spot Age</h5>
|
||||
<p class="card-text spothole-card-text">Last
|
||||
<select id="max-spot-age" class="storeable-select form-select ms-2 me-2 d-inline-block"
|
||||
<select id="max_spot_age" class="storeable-select form-select ms-2 me-2 d-inline-block"
|
||||
oninput="filtersUpdated();" style="width: 5em; display: inline-block;">
|
||||
{% for a in web_ui_options["max-spot-age"] %}
|
||||
{% for a in web_ui_options["max_spot_age"] %}
|
||||
<option value="{{a*60}}" {% if web_ui_options[
|
||||
"max-spot-age-default"] == a*60 %}selected{% end %}>{{a}}</option>
|
||||
"max_spot_age_default"] == a*60 %}selected{% end %}>{{a}}</option>
|
||||
{% end %}
|
||||
</select>
|
||||
minutes
|
||||
Reference in New Issue
Block a user