update 1901111051

This commit is contained in:
vkservicesllc
2019-04-11 18:51:45 +04:00
parent b20d2e7647
commit d075941e3a

View File

@@ -1,6 +1,8 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en-US"> <html lang="en-US">
<head> <head>
<title>RPM LinkBoard</title> <title>RPM LinkBoard</title>
<meta name="author" content="VK Services, LLC"> <meta name="author" content="VK Services, LLC">
<meta charset="UTF-8"> <meta charset="UTF-8">
@@ -10,6 +12,7 @@
<link rel="icon" type="image/x-icon" href="../img/icons/linkboard.ico"> <link rel="icon" type="image/x-icon" href="../img/icons/linkboard.ico">
<link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet"> <link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="../app/stylesheet.css"> <link rel="stylesheet" type="text/css" href="../app/stylesheet.css">
<style media="screen"> <style media="screen">
fieldset.favs { margin-top: 32px; } fieldset.favs { margin-top: 32px; }
.monit tr:not(#hdr):not(.exclude):hover th { .monit tr:not(#hdr):not(.exclude):hover th {
@@ -17,10 +20,16 @@
outline: 1px solid rgba(153, 38, 0, 0.2); outline: 1px solid rgba(153, 38, 0, 0.2);
} }
</style> </style>
<script type="text/javascript"> <script type="text/javascript">
function date_time(id) {
var date = new Date(), const date_time = id => {
year = date.getFullYear(),
let date = new Date;
date = new Date(date.toLocaleString('en-US', { timeZone: 'America/New_York', }));
let year = date.getFullYear(),
month = date.getMonth(), month = date.getMonth(),
months = new Array( months = new Array(
'January', 'February', 'March', 'April', 'May', 'June', 'January', 'February', 'March', 'April', 'May', 'June',
@@ -30,19 +39,28 @@
day = date.getDay(), day = date.getDay(),
days = new Array('Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'), days = new Array('Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'),
h = date.getHours(), m = date.getMinutes(), s = date.getSeconds(); h = date.getHours(), m = date.getMinutes(), s = date.getSeconds();
if (h < 10) h = '0' + h; if (h < 10) h = '0' + h;
if (m < 10) m = '0' + m; if (m < 10) m = '0' + m;
if (s < 10) s = '0' + s; if (s < 10) s = '0' + s;
result = '' + days[day] + ': &nbsp&nbsp' + result = '' + days[day] + ': &nbsp&nbsp' +
months[month] + ' ' + d + ', ' + months[month] + ' ' + d + ', ' +
year + ' &nbsp' + h + ':' + m + ':' + s + year + ' &nbsp' + h + ':' + m + ':' + s +
' <span style="font-style: oblique;">&nbsp&nbsp(Your Local Time)</span>'; ' <span style="font-style: oblique;">&nbsp&nbsp(EDT)</span>';
document.getElementById(id).innerHTML = result; document.getElementById(id).innerHTML = result;
setTimeout('date_time("'+id+'");', 1000); setTimeout('date_time("'+id+'");', 1000);
return true; return true;
}
};
</script> </script>
</head> </head>
<body> <body>
<header> <header>
<h2>RPM LINKBOARD &nbsp&nbsp&nbsp<span id="date_time"></span></h2> <h2>RPM LINKBOARD &nbsp&nbsp&nbsp<span id="date_time"></span></h2>
@@ -385,6 +403,9 @@
</tr> </tr>
</table> </table>
</fieldset> </fieldset>
<script src="../app/functions.js"></script> <script src="../app/functions.js"></script>
</body> </body>
</html> </html>