diff --git a/frontend/frontend.js b/frontend/frontend.js index 172b9ad..4bbee0d 100644 --- a/frontend/frontend.js +++ b/frontend/frontend.js @@ -1,4 +1,7 @@ -function kebab () { - $('#values').html('kebab'); - console.log('yeet'); +$('#update').click(updateData()) +function updateData () { + const url = 'http:' + window.location.hostname + ':5000/data' + $.get(url, function (data, status) { + $('#debug').text(data) + }) } diff --git a/frontend/stylesheet.css b/frontend/stylesheet.css index 92c838c..2561df4 100644 --- a/frontend/stylesheet.css +++ b/frontend/stylesheet.css @@ -1,56 +1,56 @@ #A { - background-color: #7e00db; - color: white; + background-color: #7e00db; + color: white; } #B { - background-color: #2300ff; - color: white; + background-color: #2300ff; + color: white; } #C { - background-color: #007bff; - color: white; + background-color: #007bff; + color: white; } #D { - background-color: #00eaff; + background-color: #00eaff; } #E { - background-color: #00ff00; + background-color: #00ff00; } #F { - background-color: #70ff00; + background-color: #70ff00; } #G { - background-color: #c3ff00; + background-color: #c3ff00; } #H { - background-color: #ffef00; + background-color: #ffef00; } #R { - background-color: #ff9b00; + background-color: #ff9b00; } #I, #S { - background-color: #ff0000; + background-color: #ff0000; } #J { - background-color: #f60000; + background-color: #f60000; } #T { - background-color: #c80000; - color: white; + background-color: #c80000; + color: white; } #U { - background-color: #8d0000; - color: white; + background-color: #8d0000; + color: white; } \ No newline at end of file diff --git a/frontend/website.html b/frontend/website.html index 489bfb9..e3c1fff 100644 --- a/frontend/website.html +++ b/frontend/website.html @@ -1,119 +1,126 @@ -
- - - -| Band | -Wavelength [nm] | -Irradiance [μW/cm²] | -
|---|---|---|
| A | -410 nm | ---- | -
| B | -435 nm | ---- | -
| C | -460 nm | ---- | -
| D | -485 nm | ---- | -
| E | -510 nm | ---- | -
| F | -535 nm | ---- | -
| G | -560 nm | ---- | -
| H | -585 nm | ---- | -
| R | -610 nm | ---- | -
| I | -645 nm | ---- | -
| S | -680 nm | ---- | -
| J | -705 nm | ---- | -
| T | -730 nm | ---- | -
| U | -760 nm | ---- | -
| V | -810 nm | ---- | -
| W | -860 nm | ---- | -
| K | -900 nm | ---- | -
| L | -940 nm | ---- | -
+
+| Band | +Wavelength [nm] | +Irradiance [μW/cm²] | +
|---|---|---|
| A | +410 nm | +--- | +
| B | +435 nm | +--- | +
| C | +460 nm | +--- | +
| D | +485 nm | +--- | +
| E | +510 nm | +--- | +
| F | +535 nm | +--- | +
| G | +560 nm | +--- | +
| H | +585 nm | +--- | +
| R | +610 nm | +--- | +
| I | +645 nm | +--- | +
| S | +680 nm | +--- | +
| J | +705 nm | +--- | +
| T | +730 nm | +--- | +
| U | +760 nm | +--- | +
| V | +810 nm | +--- | +
| W | +860 nm | +--- | +
| K | +900 nm | +--- | +
| L | +940 nm | +--- | +