diff --git a/GaugeProjectApache/py/dollars.html b/GaugeProjectApache/py/dollars.html old mode 100644 new mode 100755 index c78a2c5..72b9507 --- a/GaugeProjectApache/py/dollars.html +++ b/GaugeProjectApache/py/dollars.html @@ -1,52 +1,97 @@ - + Electricity Statistics Dashboard +

Electricity Statistics Dashboard

-
-
-
-
-
-
-
- + +
+ + function sleep(ms) { + return new Promise(resolve => setTimeout(resolve, ms)); + } + + async function load_svg() { + $("#mySVG").load("dollars.html #svg"); + await sleep(1000) + let child = document.getElementById('mySVG').firstChild; + child.setAttribute('data', 'dollars.svg') + + await sleep(1200); + console.log("sleep") + } + + load_svg(); + \ No newline at end of file diff --git a/GaugeProjectApache/py/index.html b/GaugeProjectApache/py/index.html old mode 100644 new mode 100755 index 77ed9de..8fc83c5 --- a/GaugeProjectApache/py/index.html +++ b/GaugeProjectApache/py/index.html @@ -1,53 +1,97 @@ - + Electricity Statistics Dashboard +

Electricity Statistics Dashboard

-
-
-
-
-
-
-
- + +
+ - + function sleep(ms) { + return new Promise(resolve => setTimeout(resolve, ms)); + } + + async function load_svg() { + $("#mySVG").load("kW.html #svg"); + await sleep(1000) + let child = document.getElementById('mySVG').firstChild; + child.setAttribute('data', 'kw.svg') + await sleep(1200); + console.log("sleep") + } + + load_svg(); + + \ No newline at end of file diff --git a/GaugeProjectApache/py/kW.html b/GaugeProjectApache/py/kW.html old mode 100644 new mode 100755 index c4081b0..8fc83c5 --- a/GaugeProjectApache/py/kW.html +++ b/GaugeProjectApache/py/kW.html @@ -1,51 +1,97 @@ - + + Electricity Statistics Dashboard - + + + -

Electricity Statistics Dashboard

-
-
-
-
-
-
-
- -
- - +

Electricity Statistics Dashboard

+ +
+
+ + \ No newline at end of file diff --git a/GaugeProjectApache/py/kWh.html b/GaugeProjectApache/py/kWh.html old mode 100644 new mode 100755 index 66d7bd3..146469b --- a/GaugeProjectApache/py/kWh.html +++ b/GaugeProjectApache/py/kWh.html @@ -1,52 +1,97 @@ - + Electricity Statistics Dashboard +

Electricity Statistics Dashboard

-
-
-
-
-
-
-
- + +
+ \ No newline at end of file diff --git a/GaugeProjectApache/py/kWhHourly.html b/GaugeProjectApache/py/kWhHourly.html old mode 100644 new mode 100755 index 299f12e..f8b4361 --- a/GaugeProjectApache/py/kWhHourly.html +++ b/GaugeProjectApache/py/kWhHourly.html @@ -3,51 +3,95 @@ + Electricity Statistics Dashboard -

Electricity Statistics Dashboard

-
-
-
-
-
-
-
- + +
+ + function sleep(ms) { + return new Promise(resolve => setTimeout(resolve, ms)); + } + + async function load_svg() { + $("#mySVG").load("kWhHourly.html #svg"); + await sleep(1000) + let child = document.getElementById('mySVG').firstChild; + child.setAttribute('data', 'kWhHourly.svg') + + await sleep(1200); + console.log("sleep") + } + + load_svg(); + \ No newline at end of file