diff --git a/ui/general/health.html b/ui/general/health.html index 2c7510c..867dea5 100644 --- a/ui/general/health.html +++ b/ui/general/health.html @@ -5,6 +5,7 @@ Health Status + @@ -62,17 +63,27 @@ +
diff --git a/ui/general/health.js b/ui/general/health.js index 36c86f9..ebb7343 100644 --- a/ui/general/health.js +++ b/ui/general/health.js @@ -20,12 +20,28 @@ function initPage() { } function handleSelect(account) { - var drone1Table = "
test
"; + var drone1Table = "
Drone1
"; + var drone2Table = "
Drone2
"; + var drone3Table = "
Drone3/td>
"; + var drone4Table = "
Drone4
"; + var drone5Table = "
Drone5
"; switch(account) { case "Drone1": document.getElementById("myTableContainer").innerHTML = drone1Table break; + case "Drone2": + document.getElementById("myTableContainer").innerHTML = drone2Table + break; + case "Drone3": + document.getElementById("myTableContainer").innerHTML = drone3Table + break; + case "Drone4": + document.getElementById("myTableContainer").innerHTML = drone4Table + break; + case "Drone5": + document.getElementById("myTableContainer").innerHTML = drone5Table + break; } }