Removing trailing / on paths...
On some passages I used a trailing / producing problems, if you put the html-parts on a webserve within a subdirectory or something like that...
This commit is contained in:
parent
49cbd82657
commit
99656a2bc3
3 changed files with 7 additions and 10 deletions
|
@ -1,10 +1,10 @@
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
|
<link rel="apple-touch-icon" sizes="180x180" href="apple-touch-icon.png">
|
||||||
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
|
<link rel="icon" type="image/png" sizes="32x32" href="favicon-32x32.png">
|
||||||
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
|
<link rel="icon" type="image/png" sizes="16x16" href="favicon-16x16.png">
|
||||||
<link rel="manifest" href="/site.webmanifest">
|
<link rel="manifest" href="site.webmanifest">
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
<meta name="description" content="MMDVM-Dashboard by DG9VH">
|
<meta name="description" content="MMDVM-Dashboard by DG9VH">
|
||||||
|
@ -67,7 +67,7 @@
|
||||||
|
|
||||||
<ul class="nav nav-tabs" id="myTab" role="tablist">
|
<ul class="nav nav-tabs" id="myTab" role="tablist">
|
||||||
<li class="nav-item" name="currtx">
|
<li class="nav-item" name="currtx">
|
||||||
<a class="nav-link" id="currtx-tab" data-toggle="tab" href="#currtx" role="tab" aria-controls="currtx" aria-selected="true">Currently TXing</a>
|
<a class="nav-link" id="currtx-tab" data-toggle="tab" href="#currtx" role="tab" aria-controls="currtx" aria-selected="false">Currently TXing</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item" name="lastheard">
|
<li class="nav-item" name="lastheard">
|
||||||
<a class="nav-link" id="lastheard-tab" data-toggle="tab" href="#lastheard" role="tab" aria-controls="lastheard" aria-selected="false">Last Heard</a>
|
<a class="nav-link" id="lastheard-tab" data-toggle="tab" href="#lastheard" role="tab" aria-controls="lastheard" aria-selected="false">Last Heard</a>
|
||||||
|
|
|
@ -31,7 +31,6 @@ function logIt(message) {
|
||||||
|
|
||||||
function checkConfigStructure() {
|
function checkConfigStructure() {
|
||||||
if (typeof config_struc_ver === "undefined" || config_struc_ver < act_config_struc_ver) {
|
if (typeof config_struc_ver === "undefined" || config_struc_ver < act_config_struc_ver) {
|
||||||
//alert("Old!");
|
|
||||||
$('#configstructmodal').modal('show');
|
$('#configstructmodal').modal('show');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -872,15 +871,13 @@ $(document).ready(function() {
|
||||||
activateDefaultTab(tabname);
|
activateDefaultTab(tabname);
|
||||||
defaultSet = true;
|
defaultSet = true;
|
||||||
}
|
}
|
||||||
if (!defaultSet)
|
|
||||||
activateDefaultTab("lastheard");
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type: "GET",
|
type: "GET",
|
||||||
url: window.location.protocol + '/data/TG_List.csv',
|
url: window.location.protocol + 'data/TG_List.csv',
|
||||||
dataType: "text",
|
dataType: "text",
|
||||||
success: function(data) {processData(data);}
|
success: function(data) {processData(data);}
|
||||||
});
|
});
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
var dashboard_version = "2021-03-12 14:49:51";
|
var dashboard_version = "2021-03-13 19:26:41";
|
||||||
|
|
Loading…
Reference in a new issue