timestamp
This commit is contained in:
parent
b09e8526c8
commit
0743befe30
@ -281,6 +281,9 @@
|
|||||||
<p id="meshstats">
|
<p id="meshstats">
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
<p id="timestamp">
|
||||||
|
</p>
|
||||||
|
|
||||||
<h2>Neue Knoten</h2>
|
<h2>Neue Knoten</h2>
|
||||||
<table>
|
<table>
|
||||||
<tbody id="newnodes">
|
<tbody id="newnodes">
|
||||||
|
@ -170,6 +170,9 @@ function handle_data(config, map) {
|
|||||||
|
|
||||||
showMeshstats(document.getElementById("meshstats"), nodes)
|
showMeshstats(document.getElementById("meshstats"), nodes)
|
||||||
|
|
||||||
|
var timestamp = document.getElementById("timestamp")
|
||||||
|
timestamp.textContent = "Diese Daten sind " + moment.utc(nodes.timestamp).fromNow(true) + " alt."
|
||||||
|
|
||||||
var historyDict = { nodes: {}, links: {} }
|
var historyDict = { nodes: {}, links: {} }
|
||||||
|
|
||||||
nodes.forEach( function (d) {
|
nodes.forEach( function (d) {
|
||||||
|
Loading…
Reference in New Issue
Block a user