reformat index.ejs

This commit is contained in:
Marek Farkaš
2025-04-25 12:46:34 +02:00
parent dc005284f3
commit 27e9ee93fb
+11 -10
View File
@@ -1,5 +1,6 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<title><%= tunerName %> - FM-DX Webserver</title> <title><%= tunerName %> - FM-DX Webserver</title>
<link href="css/entry.css" type="text/css" rel="stylesheet"> <link href="css/entry.css" type="text/css" rel="stylesheet">
@@ -37,11 +38,12 @@
<script src="js/3las/main.js"></script> <script src="js/3las/main.js"></script>
<script type="text/javascript"> <script type="text/javascript">
window.addEventListener('load', Init, false); window.addEventListener('load', Init, false);
document.ontouchmove = function(e){ document.ontouchmove = function(e) {
e.preventDefault(); e.preventDefault();
} }
</script> </script>
</head> </head>
<body> <body>
<div class="wrapper-outer dashboard-panel" style="padding-top: 20px; z-index: 10; position: relative;"> <div class="wrapper-outer dashboard-panel" style="padding-top: 20px; z-index: 10; position: relative;">
<div class="panel-100-real m-0 flex-container bg-phone flex-phone-column" style="min-height: 64px; max-width: 1160px; margin-top: 10px;align-items: center; justify-content: space-between; padding-left: 20px;padding-right: 10px;"> <div class="panel-100-real m-0 flex-container bg-phone flex-phone-column" style="min-height: 64px; max-width: 1160px; margin-top: 10px;align-items: center; justify-content: space-between; padding-left: 20px;padding-right: 10px;">
@@ -202,7 +204,8 @@
<% if (device == 'sdr') { %> <span>dB SNR</span> <% } else { %> <span class="signal-units"></span> <% } %> <% if (device == 'sdr') { %> <span>dB SNR</span> <% } else { %> <span class="signal-units"></span> <% } %>
</div> </div>
<div class="text-big"> <div class="text-big">
<span id="data-signal"></span><!-- <span id="data-signal"></span>
<!--
--><span id="data-signal-decimal" class="text-medium-big" style="opacity:0.7;"></span> --><span id="data-signal-decimal" class="text-medium-big" style="opacity:0.7;"></span>
<% if (device == 'sdr') { %> <span class="text-medium">dB SNR</span> <% } else { %> <span class="signal-units text-medium">dBf</span> <% } %> <% if (device == 'sdr') { %> <span class="text-medium">dB SNR</span> <% } else { %> <span class="signal-units text-medium">dBf</span> <% } %>
</div> </div>
@@ -321,13 +324,12 @@
</div> </div>
<% } %> <% } %>
<% if (fmlist_integration == true) { %> <% if (fmlist_integration == true) { %>
<button class="tooltip bg-color-4 popup" id="log-fmlist" <button class="tooltip bg-color-4 popup" id="log-fmlist" data-tooltip="<strong>LOG TO FMLIST</strong><br>Clicking this button logs the current station to FMLIST's visual logbook." aria-label="Log to FMLIST" style="width: 80px; height: 48px;margin-left: 15px !important;">
data-tooltip="<strong>LOG TO FMLIST</strong><br>Clicking this button logs the current station to FMLIST's visual logbook." aria-label="Log to FMLIST"
style="width: 80px; height: 48px;margin-left: 15px !important;">
<i class="fa-solid fa-flag fa-lg"></i> <i class="fa-solid fa-flag fa-lg"></i>
<span class="popup-content"> <span class="popup-content">
Choose the DX propagation type:<br> Choose the DX propagation type:<br>
<a class="top-10 bg-color-3 text-bold" style="padding: 10px; border-radius: 15px 0 0 15px; display: inline-block;" id="log-fmlist-tropo">Tropo</a><!-- <a class="top-10 bg-color-3 text-bold" style="padding: 10px; border-radius: 15px 0 0 15px; display: inline-block;" id="log-fmlist-tropo">Tropo</a>
<!--
--><a class="top-10 bg-color-3 text-bold" style="padding: 10px; border-radius: 0 15px 15px 0; display: inline-block;" id="log-fmlist-sporadice">Sporadic-E</a> --><a class="top-10 bg-color-3 text-bold" style="padding: 10px; border-radius: 0 15px 15px 0; display: inline-block;" id="log-fmlist-sporadice">Sporadic-E</a>
</span> </span>
</button> </button>
@@ -348,8 +350,7 @@
<hr class="hide-desktop"> <hr class="hide-desktop">
</div> </div>
<div class="panel-33 hover-brighten tooltip no-bg-phone" style="min-height: 91px;" <div class="panel-33 hover-brighten tooltip no-bg-phone" style="min-height: 91px;" data-tooltip="This panel contains the current TX info when RDS is loaded.<br><strong>Clicking on this panel copies the info into the clipboard.</strong>">
data-tooltip="This panel contains the current TX info when RDS is loaded.<br><strong>Clicking on this panel copies the info into the clipboard.</strong>">
<div id="data-station-container"> <div id="data-station-container">
<h2 style="margin-top: 0;" class="mb-0"> <h2 style="margin-top: 0;" class="mb-0">
<span id="data-station-name"></span> <span id="data-station-name"></span>
@@ -539,6 +540,6 @@
<script src="js/plugins/<%= plugin %>"></script> <script src="js/plugins/<%= plugin %>"></script>
<% }); %> <% }); %>
<% } %> <% } %>
</body> </body>
</html>
</html>