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:
rxf
2023-04-06 17:18:08 +02:00
parent 701b763bb1
commit 5fb78d4eb5
6 changed files with 89 additions and 9 deletions
+1 -1
View File
@@ -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')
}
}