# HG changeset patch # User Nicolas Martin # Date 1495107525 -7200 # Node ID 8ad95a9cc4777715aa7cba464fcd212bcde42838 # Parent 6eaf5d8d6ab4e1c2efc2d8bc0bfa27d53bffa152 main files for the web control diff -r 6eaf5d8d6ab4 -r 8ad95a9cc477 webcontrol/zml.css --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/webcontrol/zml.css Thu May 18 13:38:45 2017 +0200 @@ -0,0 +1,33 @@ + +.main-title { + text-align: center; +} + +#mutable-cmd-box { + margin: 1em auto 2em; +} + +#status-box { + text-align: right; +} + +.status-txt { + font-weight: bold; + padding: 0.5em 0.7em 0.7em 0.5em; + margin: 0.3em; +} + +.status-ok { + background-color: #5CBF00; + color: #fff; +} + +.status-warning { + background-color: #ED5A00; + color: #000; +} + +.status-alert { + background-color: #FF0707; + color: #000; +} diff -r 6eaf5d8d6ab4 -r 8ad95a9cc477 webcontrol/zml.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/webcontrol/zml.html Thu May 18 13:38:45 2017 +0200 @@ -0,0 +1,56 @@ + + + + + + Zygos Mask Lights Control + + + + + + + + + + +
+

Zygos Masks Lights Control

+
+ +
+
+
+
+ +
+
+ +
+
+ commande variable : + + +
+ +
+ +
+
+ + + + + + + + diff -r 6eaf5d8d6ab4 -r 8ad95a9cc477 webcontrol/zml.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/webcontrol/zml.js Thu May 18 13:38:45 2017 +0200 @@ -0,0 +1,32 @@ +'use strict'; + +var servers = [ + { + name: 'bird', + url: 'w:/192.168.0.10', + websserver: null + }, + //{ + // name: "fox", + // url: "ws://192.168.0.11", + // , websserver: null + //}, + +]; + +var buttons = [ + { + id: "bt_black", + command: "black" + } +]; + +function init() { + +} + + +document.addEventListener("DOMContentLoaded", function(e) { + //console.log("DOM loaded"); +}); +