Web-1/Templates/Nodered-templates-1: verschil tussen versies
Naar navigatie springen
Naar zoeken springen
k (1 versie geïmporteerd) |
k (Eelco heeft de pagina Web1/Templates/Nodered-templates-1 hernoemd naar Web-1/Templates/Nodered-templates-1 zonder een doorverwijzing achter te laten) |
(geen verschil)
|
Huidige versie van 18 jan 2018 om 19:42
[{"id":"defaccac.b5f5c","type":"tab","label":"Template test","disabled":true,"info":""},{"id":"3eae6d93.6f33e2","type":"http in","z":"defaccac.b5f5c","name":"/","url":"/","method":"get","upload":false,"swaggerDoc":"","x":190,"y":140,"wires":[["175660db.092ebf"]]},{"id":"d1df412b.13c3","type":"http in","z":"defaccac.b5f5c","name":"/about","url":"/about","method":"get","upload":false,"swaggerDoc":"","x":190,"y":220,"wires":[["fb8e4775.e5d258"]]},{"id":"ba642846.013c58","type":"template","z":"defaccac.b5f5c","name":"Page-template","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"<!doctype html>\n<html>\n <head>\n <title>My Website</title> \n </head>\n <body>\n <header>\n <h3>Mijn eerste NodeRed website</h3>\n </header>\n {{{pagecontents}}}\n <nav>\n <a href=\"/\">Home</a>\n <a href=\"/about\">Over deze website</a>\n </nav>\n </body>\n</html>","output":"str","x":580,"y":140,"wires":[["f0de7515.d74848"]]},{"id":"f0de7515.d74848","type":"http response","z":"defaccac.b5f5c","name":"","statusCode":"","headers":{},"x":730,"y":140,"wires":[]},{"id":"175660db.092ebf","type":"template","z":"defaccac.b5f5c","name":"Home","field":"pagecontents","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"<h3>Welkom</h3>\n<p>\n Welkom! Dit is de eerste pagina.\n</p>\n","output":"str","x":370,"y":140,"wires":[["ba642846.013c58"]]},{"id":"fb8e4775.e5d258","type":"template","z":"defaccac.b5f5c","name":"About","field":"pagecontents","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"<h3>Over deze website</h3>\n<p>\n Hier komt een uitleg over deze website.\n</p>\n","output":"str","x":370,"y":220,"wires":[["ba642846.013c58"]]}]