Add freq and direction tooltip

This commit is contained in:
phl0
2024-05-03 13:12:17 +02:00
parent 4af74ffb17
commit 1884ac630c

View File

@@ -3,12 +3,15 @@
<h2>Hamsat - Satellite Rovers</h2>
<p>This data is from <a target="_blank" href="https://hams.at/">https://hams.at/</a>.
<span id="workable_hint">
<?php if ($user_hamsat_workable_only) {
echo " Only workable passes shown.";
<?php if ($user_hamsat_workable_only == '1') {
echo " Only workable passes shown.";
} else {
echo " All passes shown.";
echo " All passes shown.";
}?>
</span>
<script type="text/javascript">
var workable_preset = <?php echo $user_hamsat_workable_only; ?>;
</script>
<button id="toggle_workable" value="<?php echo $user_hamsat_workable_only ? '0' : '1'; ?>" type="button" onclick="loadHamsAt(this);" class="btn btn-info btn-sm"><?php echo $user_hamsat_workable_only ? 'Show all passes' : 'Show workable passes only'; ?></button>
</p>
<p>