-
Notifications
You must be signed in to change notification settings - Fork 1
/
.MovIt.json.backup
1 lines (1 loc) · 25.7 KB
/
.MovIt.json.backup
1
[{"id":"519cc4bd.7549fc","type":"tab","label":"pagetest","disabled":false,"info":""},{"id":"e0d05a3d.90ad08","type":"tab","label":"dbtemplate","disabled":false,"info":""},{"id":"ed0c995d.e2e7f8","type":"tab","label":"test MQTT","disabled":false,"info":""},{"id":"3ba2a49e.7ce77c","type":"mongodb","z":"","hostname":"127.0.0.1","port":"27017","db":"MovIt","name":""},{"id":"311fce6b.a3ffd2","type":"mongodb2","name":""},{"id":"c2e023a5.ad0b","type":"mongodb2","z":"","uri":"mongodb://127.0.0.1:27017/MovIt","name":"MovIt","options":"","parallelism":"-1"},{"id":"94e4b2c8.735b8","type":"mongodb2","z":"","uri":"","name":"","options":"","parallelism":"-1"},{"id":"2b8661c7.194ede","type":"mqtt-broker","z":"","name":"","broker":"localhost","port":"1883","clientid":"","usetls":false,"compatmode":true,"keepalive":"60","cleansession":true,"willTopic":"","willQos":"0","willPayload":"","birthTopic":"","birthQos":"0","birthPayload":""},{"id":"bb8d8b46.1a89c8","type":"http in","z":"519cc4bd.7549fc","name":"home","url":"/home","method":"get","upload":false,"swaggerDoc":"","x":190,"y":180,"wires":[["3ae442d1.bdcede"]]},{"id":"629e7f12.c089c","type":"http response","z":"519cc4bd.7549fc","name":"return home page","statusCode":"","headers":{},"x":600,"y":180,"wires":[]},{"id":"3ae442d1.bdcede","type":"template","z":"519cc4bd.7549fc","name":"","field":"payload","fieldType":"msg","format":"html","syntax":"mustache","template":"<!DOCTYPE html>\n<html lang=\"en\">\n\t<head>\n <meta charset=\"utf-8\">\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->\n <title>Home page</title>\n\n <!-- Bootstrap -->\n <link href=\"css/bootstrap.min.css\" rel=\"stylesheet\">\n\t<link href=\"css/bootstrap-slider.min.css\" rel=\"stylesheet\">\n\t<link href=\"css/style.css\" rel=\"stylesheet\">\n\n <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->\n <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->\n <!--[if lt IE 9]>\n <script src=\"https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js\"></script>\n <script src=\"https://oss.maxcdn.com/respond/1.4.2/respond.min.js\"></script>\n <![endif]-->\n\t</head>\n\t<body id=\"Home-body\">\n\t\t<div class=\"site-wrapper\">\n\t\t\t<div class=\"site-wrapper-inner\">\n\t\t\t\t<div class=\"cover-container\">\n\t\t\t\t\t<div class=\"masthead clearfix\">\n\t\t\t\t\t\t<div class=\"inner\">\n\t\t\t\t\t\t\t<h1 class=\"masthead-brand text-center home_txt1\"><strong>Accueil</strong></h1>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class=\"inner cover\">\n\t\t\t\t\t\t<h1 id=\"centerHeader\" class=\"cover-heading\">Bienvenue sur la plateforme <br> <strong>MOvIT-PLUS</strong></h1>\n\t\t\t\t\t\t<p id=\"centerText\" class=\"lead\">Veuillez sélectionner le compte avec lequel vous désirez vous connecter :</p>\n\t\t\t\t\t\t<p>\n\t\t\t\t\t\t\t<a href=\"/Objectives\" class=\"btn btn-lg btn-default home_txt3\">Usager</a>\n\t\t\t\t\t\t\t<a href=\"/Configurations\" class=\"btn btn-lg btn-default home_txt2\">Clinicien</a>\n\t\t\t\t\t\t\t<a href=\"#\" class=\"btn btn-lg btn-info\" id=\"lang\">English</a>\n\t\t\t\t\t\t</p>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div>\n\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\n\n\n\n\t\t<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->\n\t\t<script src=\"js/jquery.min.js\"></script>\n\t\t<!-- Include all compiled plugins (below), or include individual files as needed -->\n\t\t<script src=\"js/bootstrap.min.js\"></script>\n\t\t<script src=\"js/languages.js\"></script>\n\t</body>\n</html>\n","output":"str","x":380,"y":180,"wires":[["629e7f12.c089c"]]},{"id":"2d6ab1ac.6e305e","type":"http in","z":"519cc4bd.7549fc","name":"Objectives","url":"/Objectives","method":"get","upload":false,"swaggerDoc":"","x":190,"y":240,"wires":[["a93522c3.98904"]]},{"id":"41ccb36a.568f3c","type":"http response","z":"519cc4bd.7549fc","name":"return Objectives page","statusCode":"","headers":{},"x":610,"y":240,"wires":[]},{"id":"a93522c3.98904","type":"template","z":"519cc4bd.7549fc","name":"","field":"payload","fieldType":"msg","format":"html","syntax":"mustache","template":"<!DOCTYPE html>\n<html lang=\"en\">\n <head>\n <meta charset=\"utf-8\">\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n\n\t\t<title>Objectives page</title>\n\n <link href=\"css/bootstrap.min.css\" rel=\"stylesheet\">\n\t\t<link href=\"css/bootstrap-slider.min.css\" rel=\"stylesheet\">\n\t\t<link href=\"css/style.css\" rel=\"stylesheet\">\n\n </head>\n <body style=\"text-align: center;\">\n\t\t<div class=\"wrapper\">\n\t\t\t<nav class=\"navbar navbar-inverse\">\n\t\t\t\t<div class=\"container\">\n\t\t\t\t\t<div class=\"navbar-header\">\n\t\t\t\t\t\t<button class=\"navbar-toggle collapsed\" data-toggle=\"collapse\" data-target=\"#navbar\" aria-expanded=\"false\" aria-controls=\"navbar\">\n\t\t\t\t\t\t\t<span class=\"sr-only\">Toggle navigation</span>\n\t\t\t\t\t\t\t<span class=\"icon-bar\"></span>\n\t\t\t\t\t\t\t<span class=\"icon-bar\"></span>\n\t\t\t\t\t\t\t<span class=\"icon-bar\"></span>\n\t\t\t\t\t\t</button>\n\t\t\t\t\t\t<a class=\"navbar-brand\" href=\"/\">MOvIT+</a>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div id=\"navbar\" class=\"navbar-collapse collapse\" aria-expanded=\"false\" style=\"height: 1px;\">\n\t\t\t\t\t\t<ul class=\"nav navbar-nav\">\n\t\t\t\t\t\t\t<li class=\"active\">\n\t\t\t\t\t\t\t\t<a href=\"/Objectives\" class=\"txt1\">Mes Objectifs</a>\n\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t\t<a href=\"/Results\" class=\"txt2\">Mes Résultats</a>\n\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t\t<a href=\"/Real-time\" class=\"txt3\">Temps Réel</a>\n\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t\t<a href=\"/Parameters\" class=\"txt4\">Paramètres</a>\n\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t\t<a href=\"/Peripheriques\" class=\"txt5\">Périphériques</a>\n\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t</ul>\n\t\t\t\t\t\t<ul class=\"nav navbar-nav navbar-right\">\n\t\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t\t<a href=\"/Notifications\">Notifications <span id=\"notif-badge\" class=\"badge\">0</span></a>\n\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t\t<a href=\"#\" id=\"lang\">English</a>\n\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t</ul>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</nav>\n\t\t\t<div class=\"container\">\n\t\t\t\t<div class=\"page-header\">\n\t\t\t\t\t<h1><strong class=\"objectives_txt5\">Mes objectifs de bascule</strong></h1>\n\t\t\t\t</div>\n\t\t\t\t<div id=\"rocker-obj\" class=\"jumbotron\">\n\t\t\t\t\t<div class=\"container-fluid\">\n\t\t\t\t\t\t<h2 id=\"rocker-title\"></h2>\n\t\t\t\t\t\t<div class=\"well\">\n\t\t\t\t\t\t\t<div class=\"container-fluid\">\n\t\t\t\t\t\t\t\t<div class=\"col-md-6\">\n\t\t\t\t\t\t\t\t\t<h4><strong class=\"objectives_txt6\">Objectif recommandé</strong></h4>\n\t\t\t\t\t\t\t\t\t<form class=\"form-horizontal addBorder\" >\n\t\t\t\t\t\t\t\t\t\t<div class=\"form-group\">\n\t\t\t\t\t\t\t\t\t\t\t<label class=\"col-sm-4 control-label objectives_txt7\">Fréquence: </label>\n\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-sm-8\">\n\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"frequencyAdv\" data-slider-id='frequencyAdvSlider' type=\"text\" data-slider-ticks=\"[20, 30, 45, 60, 90, 120]\" data-slider-ticks-labels='[\"20m\",\"30m\",\"45m\",\"1h\",\"1h30m\",\"2h\"]' ticks_positions=\"[0, 20, 40, 60, 80, 100]\" data-slider-ticks-snap-bounds=\"15\" data-slider-value=\"20\">\n\t\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t<div class=\"form-group\">\n\t\t\t\t\t\t\t\t\t\t\t<label class=\"col-sm-4 control-label objectives_txt8\">Durée de bascule: </label>\n\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-sm-8\">\n\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"durationAdv\" data-slider-id='durationAdvSlider' type=\"text\" data-slider-ticks=\"[20, 30, 60, 120, 300, 600, 900, 1800]\" data-slider-ticks-labels='[\"20s\",\"30s\",\"1m\",\"2m\",\"5m\",\"10m\",\"15m\",\"30m\"]' ticks_positions=\"\" data-slider-ticks-snap-bounds=\"15\" data-slider-value=\"2\">\n\t\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t<div class=\"form-group\">\n\t\t\t\t\t\t\t\t\t\t\t<label class=\"col-sm-4 control-label objectives_txt9\">Angle de bascule: </label>\n\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-sm-8\">\n\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"angleAdv\" data-slider-id='angleAdvSlider' type=\"text\" data-slider-min=\"15\" data-slider-max=\"90\" data-slider-step=\"5\" data-slider-value=\"\">\n\t\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t</form>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<div class=\"col-md-6\">\n\t\t\t\t\t\t\t\t\t<h4><strong class=\"objectives_txt10\">Objectif personnel</strong></h4>\n\t\t\t\t\t\t\t\t\t<form class=\"form-horizontal addBorder\" >\n\t\t\t\t\t\t\t\t\t\t<div class=\"form-group\">\n\t\t\t\t\t\t\t\t\t\t\t<label class=\"col-sm-4 control-label objectives_txt7\">Fréquence: </label>\n\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-sm-8\">\n\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"frequencyPer\" data-slider-id='frequencyPerSlider' type=\"text\" data-slider-ticks=\"[20, 30, 45, 60, 90, 120]\" data-slider-ticks-labels='[\"20m\",\"30m\",\"45m\",\"1h\",\"1h30m\",\"2h\"]' ticks_positions=\"[0, 20, 40, 60, 80, 100]\" data-slider-ticks-snap-bounds=\"15\" data-slider-value=\"20\">\n\t\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t<div class=\"form-group\">\n\t\t\t\t\t\t\t\t\t\t\t<label class=\"col-sm-4 control-label objectives_txt8\">Durée de bascule: </label>\n\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-sm-8\">\n\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"durationPer\" data-slider-id='durationPerSlider' type=\"text\" data-slider-ticks=\"[30, 60, 120, 300, 600, 900, 1800]\" data-slider-ticks-labels='[\"30s\",\"1m\",\"2m\",\"5m\",\"10m\",\"15m\",\"30m\"]' ticks_positions='[\"0\", \"16\", \"33\", \"50\", \"66\", \"83\", \"100\"]' data-slider-ticks-snap-bounds=\"15\" data-slider-value=\"2\">\n\t\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t<div class=\"form-group\">\n\t\t\t\t\t\t\t\t\t\t\t<label class=\"col-sm-4 control-label objectives_txt9\">Angle de bascule: </label>\n\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-sm-8\">\n\t\t\t\t\t\t\t\t\t\t\t\t<input id=\"anglePer\" data-slider-id='anglePerSlider' type=\"text\" data-slider-min=\"15\" data-slider-max=\"90\" data-slider-step=\"5\" data-slider-value=\"\">\n\t\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t</form>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<div class=\"img-container addBorder\">\n\t\t\t\t\t\t\t\t<img class=\"top\" id=\"imageRotating\" src=\"image/Chair_chair.png\">\n\t\t\t\t\t\t\t\t<img class=\"bottom\" src=\"image/Chair_floor.png\">\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\n\t\t\t\t<div id=\"motion-obj\" class=\"jumbotron\">\n\t\t\t\t\t<div class=\"container-fluid\">\n\t\t\t\t\t\t<h2><strong class=\"objectives_txt11\">Faciliter vos déplacements</strong></h2>\n\t\t\t\t\t\t<div class=\"well\">\n\t\t\t\t\t\t\t<span class=\"objectives_txt12\">Basculez à un angle de </span>\n\t\t\t\t\t\t\t<span><strong><u id=\"motion-obj-ang\">15</u></strong></span> <!--Insert the value here-->\n\t\t\t\t\t\t\t<span class=\"objectives_txt13\"> degrés pendant vos déplacements pour éviter de glisser</span>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\n\t\t\t\t<div id=\"no-motion-obj\" class=\"jumbotron\">\n\t\t\t\t\t<div class=\"container-fluid\">\n\t\t\t\t\t\t<h2><strong class=\"objectives_txt14\">Reduire le glissement au repos</strong></h2>\n\t\t\t\t\t\t<div class=\"well\">\n\t\t\t\t\t\t\t<span class=\"objectives_txt26\">Basculez à un angle de </span>\n\t\t\t\t\t\t\t<span><strong><u id=\"no-motion-obj-ang\">15</u></strong></span> <!--Insert the value here-->\n\t\t\t\t\t\t\t<span class=\"objectives_txt27\"> degrés lorsque vous êtes immobile pour éviter de glisser</span>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\n\t\t\t\t<div id=\"pain-obj\" class=\"jumbotron\">\n\t\t\t\t\t<div class=\"container-fluid\">\n\t\t\t\t\t\t<h2><strong class=\"objectives_txt15\">Soulager votre douleur</strong></h2>\n\t\t\t\t\t\t<div class=\"well\">\n\t\t\t\t\t\t\t<span id=\"pain-obj-rec\" class=\"objectives_txt16\">Basculez au besoin</span>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\n\t\t\t\t<div id=\"rest-obj\" class=\"jumbotron\">\n\t\t\t\t\t<div class=\"container-fluid\">\n\t\t\t\t\t\t<h2><strong class=\"objectives_txt17\">Permettre le repos au fauteuil</strong></h2>\n\t\t\t\t\t\t<div class=\"well\">\n\t\t\t\t\t\t\t<span id=\"rest-obj-rec\" class=\"objectives_txt16\">Basculez au besoin</span>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\n\t\t\t\t<div id=\"transfert-obj\" class=\"jumbotron\">\n\t\t\t\t\t<div class=\"container-fluid\">\n\t\t\t\t\t\t<h2><strong class=\"objectives_txt18\">Faciliter vos transferts</strong></h2>\n\t\t\t\t\t\t<div class=\"well\">\n\t\t\t\t\t\t\t<span id=\"transfert-obj-rec\" class=\"objectives_txt16\">Basculez au besoin</span>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\n\t\t\t\t<div id=\"comfort-obj\" class=\"jumbotron\">\n\t\t\t\t\t<div class=\"container-fluid\">\n\t\t\t\t\t\t<h2><strong class=\"objectives_txt19\">Améliorer votre confort au fauteuil</strong></h2>\n\t\t\t\t\t\t<div class=\"well\">\n\t\t\t\t\t\t\t<span id=\"comfort-obj-rec\" class=\"objectives_txt16\">Basculez au besoin</span>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\n\t\t\t\t<div id=\"other1-obj\" class=\"jumbotron\">\n\t\t\t\t\t<div class=\"container-fluid\">\n\t\t\t\t\t\t<h2><strong><span id=\"cible1-obj-rec\">Autre #1</span></strong></h2>\n\t\t\t\t\t\t<div class=\"well\">\n\t\t\t\t\t\t\t<span id=\"other1-obj-rec\">INFO DE RECOMMANDATION</span>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\n\t\t\t\t<div id=\"other2-obj\" class=\"jumbotron\">\n\t\t\t\t\t<div class=\"container-fluid\">\n\t\t\t\t\t\t<h2><strong><span id=\"cible2-obj-rec\">Autre #2</span></strong></h2>\n\t\t\t\t\t\t<div class=\"well\">\n\t\t\t\t\t\t\t<span id=\"other2-obj-rec\">INFO DE RECOMMANDATION</span>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\n\t\t\t\t<div id=\"other3-obj\" class=\"jumbotron\">\n\t\t\t\t\t<div class=\"container-fluid\">\n\t\t\t\t\t\t<h2><strong><span id=\"cible3-obj-rec\">Autre #3</span></strong></h2>\n\t\t\t\t\t\t<div class=\"well\">\n\t\t\t\t\t\t\t<span id=\"other3-obj-rec\">INFO DE RECOMMANDATION</span>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\n\t\t\t\t<div id=\"other4-obj\" class=\"jumbotron\">\n\t\t\t\t\t<div class=\"container-fluid\">\n\t\t\t\t\t\t<h2><strong><span id=\"cible4-obj-rec\">Autre #4</span></strong></h2>\n\t\t\t\t\t\t<div class=\"well\">\n\t\t\t\t\t\t\t<span id=\"other4-obj-rec\">INFO DE RECOMMANDATION</span>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\n\t\t\t\t<div id=\"other5-obj\" class=\"jumbotron\">\n\t\t\t\t\t<div class=\"container-fluid\">\n\t\t\t\t\t\t<h2><strong><span id=\"cible5-obj-rec\">Autre #5</span></strong></h2>\n\t\t\t\t\t\t<div class=\"well\">\n\t\t\t\t\t\t\t<span id=\"other5-obj-rec\">INFO DE RECOMMANDATION</span>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\n\t\t\t<div>\n\t\t</div>\n\t<script src=\"js/jquery.min.js\"></script>\n\t<!-- Include all compiled plugins (below), or include individual files as needed -->\n\t<script src=\"js/bootstrap.min.js\"></script>\n\t<script src=\"js/bootstrap-slider.min.js\"></script>\n\t<script src=\"js/tcp_obj.js\"></script>\n\t<script src=\"js/languages.js\"></script>\n\n </body>\n</html>\n","output":"str","x":380,"y":240,"wires":[["41ccb36a.568f3c"]]},{"id":"d310469c.390a48","type":"http in","z":"519cc4bd.7549fc","name":"Configurations","url":"/Configurations","method":"get","upload":false,"swaggerDoc":"","x":200,"y":300,"wires":[["e9b5dfbd.2f782"]]},{"id":"dde8755e.9d1fe8","type":"http response","z":"519cc4bd.7549fc","name":"return Configurations page","statusCode":"","headers":{},"x":630,"y":300,"wires":[]},{"id":"e9b5dfbd.2f782","type":"template","z":"519cc4bd.7549fc","name":"","field":"payload","fieldType":"msg","format":"html","syntax":"mustache","template":"<!DOCTYPE html>\n<html lang=\"en\">\n\t<head>\n <meta charset=\"utf-8\">\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->\n <title>Configuration page</title>\n\n <!-- Bootstrap -->\n <link href=\"css/bootstrap.min.css\" rel=\"stylesheet\">\n\t<link href=\"css/bootstrap-slider.min.css\" rel=\"stylesheet\">\n\t<link href=\"css/style.css\" rel=\"stylesheet\">\n\n <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->\n <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->\n <!--[if lt IE 9]>\n <script src=\"https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js\"></script>\n <script src=\"https://oss.maxcdn.com/respond/1.4.2/respond.min.js\"></script>\n <![endif]-->\n\t</head>\n\t<body>\n\t\t<div class=\"wrapper\">\n\t\t\t<nav class=\"navbar navbar-inverse\">\n\t\t\t\t<div class=\"container\">\n\t\t\t\t\t<div class=\"navbar-header\">\n\t\t\t\t\t\t<button class=\"navbar-toggle collapsed\" data-toggle=\"collapse\" data-target=\"#navbar\" aria-expanded=\"false\" aria-controls=\"navbar\">\n\t\t\t\t\t\t\t<span class=\"sr-only\">Toggle navigation</span>\n\t\t\t\t\t\t\t<span class=\"icon-bar\"></span>\n\t\t\t\t\t\t\t<span class=\"icon-bar\"></span>\n\t\t\t\t\t\t\t<span class=\"icon-bar\"></span>\n\t\t\t\t\t\t</button>\n\t\t\t\t\t\t<a class=\"navbar-brand\" href=\"/\">MOvIT+</a>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div id=\"navbar\" class=\"navbar-collapse collapse\" aria-expanded=\"false\" style=\"height: 1px;\">\n\t\t\t\t\t\t<ul class=\"nav navbar-nav\">\n\t\t\t\t\t\t\t<li class=\"active\">\n\t\t\t\t\t\t\t\t<a href=\"#\">Configurations</a>\n\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t\t<a href=\"/Recommandations\">Recommandations</a>\n\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t\t<a href=\"/Simulateur\" class=\"simul_txt1\">Simulateur</a>\n\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t</ul>\n\t\t\t\t\t\t<ul class=\"nav navbar-nav navbar-right\">\n\t\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t\t<a href=\"#\" id=\"lang\">English</a>\n\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t</ul>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</nav>\n\t\t\t<div class=\"container\">\n\t\t\t\t<div class=\"page-header\">\n\t\t\t\t\t<h1><strong>Configurations</strong></h1>\n\t\t\t\t</div>\n\t\t\t\t<div class=\"jumbotron\">\n\t\t\t\t\t<div class=\"well\">\n\t\t\t\t\t\t<h3 class=\"subhead3\"><strong class=\"config_txt1\">Veuillez saisir l’angle maximal de la bascule du fauteuil de l’usager :</strong></h3>\n\t\t\t\t\t\t<form class=\"form-horizontal\">\n\t\t\t\t\t\t\t<div class=\"form-group\">\n\t\t\t\t\t\t\t\t<label for=\"inputMaxAngle\" class=\"col-sm-2 control-label config_txt2\">Angle maximal (la valeur doit être un multiple de 5°) :</label>\n\t\t\t\t\t\t\t\t<div class=\"col-sm-10\">\n\t\t\t\t\t\t\t\t\t<input id=\"Max-angle\" class=\"form-control\" id=\"inputMaxAngle\" placeholder=\"90\">\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<!--\n\t\t\t\t\t\t\t<div class=\"form-group\">\n\t\t\t\t\t\t\t\t<label for=\"inputMinAngle\" class=\"col-sm-2 control-label\">Angle Minimum: </label>\n\t\t\t\t\t\t\t\t<div class=\"col-sm-10\">\n\t\t\t\t\t\t\t\t\t<input id=\"Min-angle\" class=\"form-control\" id=\"inputMinAngle\" placeholder=\"-30\">\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t-->\n\t\t\t\t\t\t\t<div class=\"form-group\">\n\t\t\t\t\t\t\t\t<label for=\"inputWeight\" class=\"col-sm-2 control-label config_txt3\">Poids de la personne (kg): </label>\n\t\t\t\t\t\t\t\t<div class=\"col-sm-10\">\n\t\t\t\t\t\t\t\t\t<input class=\"form-control\" id=\"inputWeight\" placeholder=\"90\">\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<div class=\"form-group\">\n\t\t\t\t\t\t\t\t<div class=\"pull-right\" style=\"padding: 15px;\">\n\t\t\t\t\t\t\t\t\t<button id=\"save\" type=\"button\" class=\"btn btn-default config_txt4\" onclick=\"sendConfig(); endConf();\">Enregistrer</button>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t </div>\n\t\t\t\t\t\t</form>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\n\n\t\t</div>\n\t\t<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->\n\t\t<script src=\"js/jquery.min.js\"></script>\n\t\t<!-- Include all compiled plugins (below), or include individual files as needed -->\n\t\t<script src=\"js/bootstrap.min.js\"></script>\n\t\t<script src=\"js/tcp_config.js\"></script>\n\t\t<script src=\"js/languages.js\"></script>\n\n\t</body>\n</html>\n","output":"str","x":380,"y":300,"wires":[["dde8755e.9d1fe8"]]},{"id":"1c66470.1ee69b9","type":"http in","z":"519cc4bd.7549fc","name":"test2","url":"/test2","method":"get","upload":false,"swaggerDoc":"","x":200,"y":100,"wires":[["caa5d1ba.9bda9"]]},{"id":"ec5a8e4d.f01b9","type":"http response","z":"519cc4bd.7549fc","name":"return test","statusCode":"","headers":{"content_type":"application/javascript"},"x":800,"y":100,"wires":[]},{"id":"caa5d1ba.9bda9","type":"function","z":"519cc4bd.7549fc","name":"","func":"msg.payload.helloText = 'Hello '+msg.payload.name;\nreturn msg;","outputs":1,"noerr":0,"x":370,"y":100,"wires":[["53d36da9.a784f4"]]},{"id":"53d36da9.a784f4","type":"change","z":"519cc4bd.7549fc","name":"","rules":[{"t":"delete","p":"payload.name","pt":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":610,"y":100,"wires":[["ec5a8e4d.f01b9"]]},{"id":"b770d1c1.82509","type":"http in","z":"e0d05a3d.90ad08","name":"","url":"/test","method":"post","upload":false,"swaggerDoc":"","x":80,"y":180,"wires":[["d3aab67e.ad95a8"]]},{"id":"4974a898.658648","type":"http response","z":"e0d05a3d.90ad08","name":"","statusCode":"","headers":{},"x":750,"y":180,"wires":[]},{"id":"d3aab67e.ad95a8","type":"function","z":"e0d05a3d.90ad08","name":"get body","func":"msg.payload = msg.req.body;\nreturn msg;","outputs":1,"noerr":0,"x":280,"y":180,"wires":[["8f11f80d.326978"]]},{"id":"e8629d0d.136c9","type":"http in","z":"e0d05a3d.90ad08","name":"","url":"/test","method":"get","upload":false,"swaggerDoc":"","x":80,"y":340,"wires":[["c21dbd7f.555df"]]},{"id":"61f925f1.fc629c","type":"http response","z":"e0d05a3d.90ad08","name":"","statusCode":"","headers":{},"x":750,"y":340,"wires":[]},{"id":"8f11f80d.326978","type":"mongodb2 in","z":"e0d05a3d.90ad08","service":"_ext_","configNode":"c2e023a5.ad0b","name":"modify test","collection":"test","operation":"findOneAndUpdate","x":490,"y":180,"wires":[["4974a898.658648"]]},{"id":"c21dbd7f.555df","type":"mongodb2 in","z":"e0d05a3d.90ad08","service":"_ext_","configNode":"c2e023a5.ad0b","name":"find one","collection":"test","operation":"findOne","x":380,"y":340,"wires":[["61f925f1.fc629c"]]},{"id":"c9532679.ede188","type":"http in","z":"e0d05a3d.90ad08","name":"","url":"/test","method":"put","upload":false,"swaggerDoc":"","x":80,"y":260,"wires":[["d46faa47.9cb0d8"]]},{"id":"9ba37f35.0101c","type":"http response","z":"e0d05a3d.90ad08","name":"","statusCode":"","headers":{},"x":750,"y":260,"wires":[]},{"id":"d46faa47.9cb0d8","type":"function","z":"e0d05a3d.90ad08","name":"get body","func":"msg.payload = msg.req.body;\nreturn msg;","outputs":1,"noerr":0,"x":260,"y":260,"wires":[["69c6db8c.ac7dd4"]]},{"id":"69c6db8c.ac7dd4","type":"mongodb2 in","z":"e0d05a3d.90ad08","service":"_ext_","configNode":"c2e023a5.ad0b","name":"insert test","collection":"test","operation":"insert","x":480,"y":260,"wires":[["9ba37f35.0101c"]]},{"id":"a05a251f.9458a8","type":"http in","z":"e0d05a3d.90ad08","name":"","url":"/test","method":"delete","upload":false,"swaggerDoc":"","x":90,"y":420,"wires":[["e14910ee.5838f"]]},{"id":"75b42176.5d90b","type":"http response","z":"e0d05a3d.90ad08","name":"","statusCode":"","headers":{},"x":750,"y":420,"wires":[]},{"id":"90a386b4.620e38","type":"mongodb2 in","z":"e0d05a3d.90ad08","service":"_ext_","configNode":"c2e023a5.ad0b","name":"delete one","collection":"test","operation":"findOneAndDelete","x":390,"y":420,"wires":[["75b42176.5d90b"]]},{"id":"e14910ee.5838f","type":"function","z":"e0d05a3d.90ad08","name":"get body","func":"msg.payload = msg.req.body;\nreturn msg;","outputs":1,"noerr":0,"x":240,"y":420,"wires":[["90a386b4.620e38"]]},{"id":"9c42017f.b5ed3","type":"mqtt in","z":"ed0c995d.e2e7f8","name":"test back angle","topic":"data/back_rest_angle","qos":"2","broker":"2b8661c7.194ede","x":340,"y":280,"wires":[["616b9f29.825a7"]]},{"id":"616b9f29.825a7","type":"debug","z":"ed0c995d.e2e7f8","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":620,"y":280,"wires":[]},{"id":"1904009e.5a81df","type":"mqtt in","z":"ed0c995d.e2e7f8","name":"test sitting time","topic":"data/sitting_time","qos":"0","broker":"2b8661c7.194ede","x":340,"y":340,"wires":[["5a987b15.e4b824"]]},{"id":"5a987b15.e4b824","type":"debug","z":"ed0c995d.e2e7f8","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":620,"y":340,"wires":[]},{"id":"c8f58011.f27ef","type":"mqtt in","z":"ed0c995d.e2e7f8","name":"test distance_traveled","topic":"data/distance_traveled","qos":"2","broker":"2b8661c7.194ede","x":360,"y":400,"wires":[["d9d50fbb.dfc13"]]},{"id":"d9d50fbb.dfc13","type":"debug","z":"ed0c995d.e2e7f8","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":620,"y":400,"wires":[]},{"id":"bb0fd12d.1d297","type":"mqtt out","z":"ed0c995d.e2e7f8","name":"test","topic":"data/sitting_time","qos":"","retain":"","broker":"2b8661c7.194ede","x":650,"y":500,"wires":[]},{"id":"3c2082f1.a34dbe","type":"inject","z":"ed0c995d.e2e7f8","name":"","topic":"","payload":"test","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":410,"y":520,"wires":[["bb0fd12d.1d297"]]}]