Added info table to live chart
public/javascripts/datetime.js - wrong call fixed public/javascripts/global.js - direct call to live chart if sensorid is given public/javascripts/showcharts.js - info table added public/stylesheets/style.sass - style for infotabel - changed color vor nav tabs
This commit is contained in:
@@ -5,7 +5,7 @@ import { DateTime } from './luxon.min.js'
|
||||
export const showDate = (sofort) => {
|
||||
let d = DateTime.now()
|
||||
if(sofort || d.second === 0) {
|
||||
document.querySelector('#h1datum').setHTML(d.toFormat('yyyy-MM-dd HH:mm'))
|
||||
document.querySelector('#h1datum').innerHTML = d.toFormat('yyyy-MM-dd HH:mm')
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user