diff --git a/dist/server.js b/dist/server.js index 51e692b..6fb9b23 100644 --- a/dist/server.js +++ b/dist/server.js @@ -199,6 +199,10 @@ function respond_manual(response) { manual_modal({'dismissed': true}); } +function eval_scheme(id) { + socket.emit('eval scheme', document.getElementById(id).value) +} + function select_recipe(idx) { localstate.recipe = idx; applyState(); diff --git a/templates/index.html b/templates/index.html index 0d77421..9c29c99 100644 --- a/templates/index.html +++ b/templates/index.html @@ -5,61 +5,78 @@ {% endblock %} {% block content %}
-
-
-
-
-

- Sensors -

-
-
-
-
-
-
-
-
-

- Actuators -

-
-
-
-
-
-
-
-
-

- Sensors Data -

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

+ Sensors +

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

+ Actuators +

+
+
+
+
+
+
+
+

+ Sensors Data +

+
+
+
+
+ +
+ +
+ +
+
+
+
+
+
+
+
+

+ Manual Control +

+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
{% endblock %}