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²]---