mirror of https://github.com/espruino/BangleApps
Minor changes
parent
96c247944b
commit
2f29c9ada2
|
@ -6,11 +6,11 @@
|
||||||
<h3>Upload Tiggers</h3>
|
<h3>Upload Tiggers</h3>
|
||||||
<p>You must upload a list of json objects -- an example is given below</p>
|
<p>You must upload a list of json objects -- an example is given below</p>
|
||||||
<p><textarea id="triggers">
|
<p><textarea id="triggers">
|
||||||
[
|
[
|
||||||
{"display": "Open", "trigger": "OPEN_DOOR", "icon":"door"},
|
{"display": "Open", "trigger": "OPEN_DOOR", "icon":"door"},
|
||||||
{"display": "Office", "trigger": "TOGGLE_LIGHT", "icon":"light"},
|
{"display": "Office", "trigger": "TOGGLE_LIGHT", "icon":"light"},
|
||||||
{"display": "Living Room", "trigger": "OVEN", "icon":"fire"}
|
{"display": "Living Room", "trigger": "OVEN", "icon":"fire"}
|
||||||
]
|
]
|
||||||
</textarea></p>
|
</textarea></p>
|
||||||
<p><button id="upload" class="btn btn-primary">Upload</button></p>
|
<p><button id="upload" class="btn btn-primary">Upload</button></p>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue