diff --git a/web/index.css b/web/index.css new file mode 100644 index 0000000..c795b25 --- /dev/null +++ b/web/index.css @@ -0,0 +1,57 @@ +#main-section { + display: flex; + flex-direction: row; + margin: 2.5rem +} + +#statistic { + flex: 1; + min-width: 300px; + background: #ffffff; + border-radius: 8px; + box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); + padding: 1.5rem; + text-align: center; +} + +#table-section { + overflow-x: auto; +} + +#map { + display: flex; + flex-direction: column; + gap: 2rem; + flex: 2; + min-width: 600px; +} + + +// from https://codepen.io/zass-udd/pen/NWqKmdE +table { + border-collapse: collapse; + width: 100%; +} + +td, th { + border: 1px solid #dddddd; + text-align: center; + padding:6px 20px; +} +tr th { + border: 1px solid #dddddd; + text-align: center; + padding:6px 20px; + background-color: #ad1e23; + color:#fff; +} + +tr:hover { + background-color: #dddddd; + cursor: pointer; +} + +.content td, .content th { + border-top: 1px solid transparent; + padding: 2px 10px 2px 15px; +} \ No newline at end of file diff --git a/web/index.html b/web/index.html new file mode 100644 index 0000000..b65a9d4 --- /dev/null +++ b/web/index.html @@ -0,0 +1,213 @@ + + + + + + + Graph + + + + + + + + + + +
+
+

Rainfall Statistics

+

Today rain/hr.

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
LocationCoordinateRain Per Hour
LatitudeLongitude
80.395±850.27
100.617±678.54
120.888±6113.10
161.580±5201.06
202.470±5314.16
222.984±4380.13
253.850±4490.88
284.840±4615.75
326.310±4804.25
+
+
+
+ +
+ +
+
+ +
+
+
+ + + \ No newline at end of file