|
|
|
@ -12,7 +12,7 @@
|
|
|
|
|
<!-- So refresh works every time -->
|
|
|
|
|
<meta http-equiv="expires" content="0">
|
|
|
|
|
|
|
|
|
|
<title>MMDVM-Dashboard by DG9VH</title>
|
|
|
|
|
<title>DMR MMDVM-Dashboard by DG9VH</title>
|
|
|
|
|
|
|
|
|
|
<!-- Bootstrap core CSS -->
|
|
|
|
|
<link rel="stylesheet" href="css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
|
|
|
|
@ -27,11 +27,43 @@
|
|
|
|
|
<script type="text/javascript" src="js/config.js"></script>
|
|
|
|
|
<script type="text/javascript" src="metar.js/metar.js"></script>
|
|
|
|
|
<script type="text/javascript" src="js/functions.js"></script>
|
|
|
|
|
<script type="text/javascript" language="JavaScript">
|
|
|
|
|
function initLinksLog() {
|
|
|
|
|
readLinksLog();
|
|
|
|
|
setInterval(readLinksLog, 1 * 1000);
|
|
|
|
|
}
|
|
|
|
|
function readLinksLog() {
|
|
|
|
|
cache: 'false';
|
|
|
|
|
var xmlhttp;
|
|
|
|
|
xmlhttp = new XMLHttpRequest();
|
|
|
|
|
xmlhttp.onload = function() {
|
|
|
|
|
if(xmlhttp.readyState == 4 && xmlhttp.status == 200) {
|
|
|
|
|
str = xmlhttp.responseText;
|
|
|
|
|
str = str.replace(/(?:\r\n|\r|\n)/g, "<br>");
|
|
|
|
|
//document.getElementById("dstar-linked").innerHTML = xmlhttp.responseText;
|
|
|
|
|
document.getElementById("dstar-linked").innerHTML = str;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
xmlhttp.open("GET", "Links.log", true);
|
|
|
|
|
xmlhttp.setRequestHeader("Cache-Control", "no-cache, must-revalidate");
|
|
|
|
|
xmlhttp.setRequestHeader("Expires", "Sat, 26 Jul 1997 05:00:00 GMT");
|
|
|
|
|
xmlhttp.send();
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
<style>
|
|
|
|
|
#dstar-linked {
|
|
|
|
|
font-size: 120%;
|
|
|
|
|
}
|
|
|
|
|
#dstar-linked:before {
|
|
|
|
|
//content: "🔗";
|
|
|
|
|
//font-size: 120%;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
<link rel="stylesheet" href="css/tooltip.css">
|
|
|
|
|
<link href="open-iconic/font/css/open-iconic-bootstrap.css" rel="stylesheet">
|
|
|
|
|
<title>DG9VH - MMDVM-Dashboard by DG9VH</title>
|
|
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
<body onload="initLinksLog()">
|
|
|
|
|
<!-- Config structure modal -->
|
|
|
|
|
<div id="configstructmodal" class="modal" tabindex="-1" role="dialog">
|
|
|
|
|
<div class="modal-dialog" role="document">
|
|
|
|
@ -68,6 +100,18 @@
|
|
|
|
|
</div>
|
|
|
|
|
</nav>
|
|
|
|
|
<!-- Custom Text -->
|
|
|
|
|
<div style="margin:0.5em;">
|
|
|
|
|
<table border="0" cellpadding="3" cellspacing="2">
|
|
|
|
|
<tr>
|
|
|
|
|
<td style="vertical-align: top;">
|
|
|
|
|
<button type="link" onClick="readLinksLog()" title="Click to refresh">🔗 Linked to: </button>
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
<span style="width: 80%; height: auto; overflow: auto; resize: none;" id="dstar-linked"></span>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
<script type="text/javascript">document.write(customText);</script>
|
|
|
|
|
<!-- Custom Text End -->
|
|
|
|
|
<ul class="nav nav-tabs" id="myTab" role="tablist">
|
|
|
|
|