New model: HAMqsl data with solar activity and propagation. User can display brief information of the solar activity at the Dashboard. Model can be re-used in various other places.

This commit is contained in:
Szymon Porwolik
2025-09-23 00:33:52 +02:00
parent a40d5e46f8
commit ad528539b4
6 changed files with 248 additions and 1 deletions

View File

@@ -636,6 +636,16 @@
</select>
<small id="user_dashboard_banner_Help" class="form-text text-muted"><?= __("This allows to disable the global notification banner on the dashboard."); ?></small>
</div>
<div class="mb-3">
<label for="user_dashboard_solar"><?= __("Dashboard solar and propagation data"); ?></label>
<?php if(!isset($user_dashboard_solar)) { $user_dashboard_solar='Y'; }?>
<select class="form-select" id="user_dashboard_solar" name="user_dashboard_solar" aria-describedby="user_dashboard_solar_Help" required>
<option value='true' <?php if($user_dashboard_solar == "true") { echo "selected=\"selected\""; } ?>><?= __("Enabled"); ?></option>
<option value='false' <?php if($user_dashboard_solar == "false") { echo "selected=\"selected\""; } ?>><?= __("Disabled"); ?></option>
</select>
<small id="user_dashboard_solar_Help" class="form-text text-muted"><?= __("This switches the display of the solar and propagation data on the dashboard."); ?></small>
</div>
</div>
</div>
</div>