timestamp
This commit is contained in:
		
							parent
							
								
									b09e8526c8
								
							
						
					
					
						commit
						0743befe30
					
				| @ -281,6 +281,9 @@ | ||||
|           <p id="meshstats"> | ||||
|           </p> | ||||
| 
 | ||||
|           <p id="timestamp"> | ||||
|           </p> | ||||
| 
 | ||||
|           <h2>Neue Knoten</h2> | ||||
|           <table> | ||||
|             <tbody id="newnodes"> | ||||
|  | ||||
| @ -170,6 +170,9 @@ function handle_data(config, map) { | ||||
| 
 | ||||
|     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: {} } | ||||
| 
 | ||||
|     nodes.forEach( function (d) { | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user