From 9e69651f0c2c899c8b31b3183b5777a5d5b1913c Mon Sep 17 00:00:00 2001 From: d3m1g0d Date: Wed, 17 Apr 2019 16:50:59 +0200 Subject: [PATCH] lux and uvabi added --- frontend/frontend.js | 7 +++++++ frontend/index.html | 27 +++++++++++++++++++++++++-- 2 files changed, 32 insertions(+), 2 deletions(-) diff --git a/frontend/frontend.js b/frontend/frontend.js index 528a585..6a65984 100644 --- a/frontend/frontend.js +++ b/frontend/frontend.js @@ -41,3 +41,10 @@ function graphSpectralData(obj, dom) { } }); } + +function fillLuxUv (obj, dom) { + $(dom).find('#lx').text(obj[1]); + $(dom).find('#uva').text(obj[2][0]); + $(dom).find('#uvb').text(obj[2][0]); + $(dom).find('#uvi').text(obj[2][0]); +} diff --git a/frontend/index.html b/frontend/index.html index 659de60..34fe5be 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -13,11 +13,12 @@

TeraHz

-

Vrednosti:


+

Spectrogram

+

Spectral readings

@@ -117,7 +118,29 @@
---
- +
+ + + + + + + + + + + + + + + + + + + + +
+ ParameterValue
Illuminance [lx]---
UVA irradiance [μW/cm²]---
UVB irradiance [μW/cm²]---
UVA/UVB average [μW/cm²]---