Update 'covid-speedrun/index.html'
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
93334e4e9f
commit
b8f6e44d2f
@ -80,23 +80,19 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Still Running
|
// Last Row
|
||||||
var row = table.insertRow();
|
var row = table.insertRow();
|
||||||
var cell1 = row.insertCell(0);
|
var cell1 = row.insertCell(0);
|
||||||
var cell2 = row.insertCell(1);
|
var cell2 = row.insertCell(1);
|
||||||
cell1.innerHTML = "NOW";
|
|
||||||
cell1.style.color = "#00ff00";
|
cell1.style.color = "#00ff00";
|
||||||
cell2.style.color = "#00ff00";
|
cell2.style.color = "#00ff00";
|
||||||
|
// Still Running
|
||||||
|
cell1.innerHTML = "NOW";
|
||||||
function now() {
|
function now() {
|
||||||
cell2.innerHTML = timeSince(new Date() - timeline["First Positive"]);
|
cell2.innerHTML = timeSince(new Date() - timeline["First Positive"]);
|
||||||
}
|
}
|
||||||
setInterval(now, 10);
|
setInterval(now, 10);
|
||||||
// Win
|
// // Win
|
||||||
// var row = table.insertRow();
|
|
||||||
// var cell1 = row.insertCell(0);
|
|
||||||
// var cell2 = row.insertCell(1);
|
|
||||||
// cell1.style.color = "#00ff00";
|
|
||||||
// cell2.style.color = "#00ff00";
|
|
||||||
// cell1.innerHTML = "Tested Negative!";
|
// cell1.innerHTML = "Tested Negative!";
|
||||||
// cell2.innerHTML = timeSince(new Date("Aug xx, 2022 xx:00:00.000") - timeline["First Positive"]);
|
// cell2.innerHTML = timeSince(new Date("Aug xx, 2022 xx:00:00.000") - timeline["First Positive"]);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user