Web-1/Templates/Nodered-templates-0: verschil tussen versies

Uit Inf2019
Naar navigatie springen Naar zoeken springen
Geen bewerkingssamenvatting
 
k (1 versie geïmporteerd)
(geen verschil)

Versie van 7 nov 2017 22:52


[{"id":"7f59f0d1.e69ab","type":"tab","label":"Flow 2","disabled":true,"info":""},{"id":"d6164395.dd681","type":"http in","z":"7f59f0d1.e69ab","name":"/","url":"/","method":"get","upload":false,"swaggerDoc":"","x":110,"y":200,"wires":[["4658be96.2b04a"]]},{"id":"d2b835c3.506fe8","type":"http in","z":"7f59f0d1.e69ab","name":"/about","url":"/about","method":"get","upload":false,"swaggerDoc":"","x":110,"y":280,"wires":[["1ca5ca6e.eb2de6"]]},{"id":"4658be96.2b04a","type":"template","z":"7f59f0d1.e69ab","name":"Home","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"<!doctype html>\n<html>\n    <head>\n        <title>Welcome</title>\n    </head>\n    <body>\n        <header>\n            <h3>Mijn eerste NodeRed website</h3>\n        </header>\n        <h3>Welkom</h3>\n        <p>\n            Welkom! Dit is de Home-pagina.\n        </p>\n        <nav>\n            <a href=\"/\">Home</a>\n            <a href=\"/about\">Over deze website</a>\n        </nav>\n    </body>\n</html>","output":"str","x":270,"y":200,"wires":[["61affca2.d6ab04"]]},{"id":"1ca5ca6e.eb2de6","type":"template","z":"7f59f0d1.e69ab","name":"About","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"<!doctype html>\n<html>\n    <head>\n        <title>About</title>\n    </head>\n    <body>\n        <header>\n            <h3>Mijn eerste NodeRed website</h3>\n        </header>\n        <h3>Over deze website</h3>\n        <p>\n            Hier komt een uitleg over deze website.\n        </p>\n        <nav>\n            <a href=\"/\">Home</a>\n            <a href=\"/about\">Over deze website</a>\n        </nav>        \n    </body>\n</html>","output":"str","x":270,"y":280,"wires":[["4f63c679.d8cc78"]]},{"id":"61affca2.d6ab04","type":"http response","z":"7f59f0d1.e69ab","name":"","statusCode":"","headers":{},"x":430,"y":200,"wires":[]},{"id":"4f63c679.d8cc78","type":"http response","z":"7f59f0d1.e69ab","name":"","statusCode":"","headers":{},"x":430,"y":280,"wires":[]}]