forked from vsubbotskyy/find-my-iphone-node
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfind-my-iphone.html
38 lines (36 loc) · 1.18 KB
/
find-my-iphone.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<script type="text/javascript">
RED.nodes.registerType('find-my-iphone', {
category: 'mobile',
color: '#A6BBCF',
credentials: {
username: {type:"text"},
password: {type:"password"}
},
defaults: {
devicename: {value:""}
},
icon: "white-globe.png",
inputs: 1,
outputs: 1,
label: function() {
return this.name || "find-my-iphone";
}
});
</script>
<script type="text/x-red" data-template-name="find-my-iphone">
<div class="form-row">
<label for="node-input-username"><i class="icon-tag"></i>AppleID</label>
<input type="text" id="node-input-username">
</div>
<div class="form-row">
<label for="node-input-password"><i class="icon-tag"></i>Password</label>
<input type="password" id="node-input-password">
</div>
<div class="form-row">
<label for="node-input-devicename"><i class="icon-tag"></i>DeviceName</label>
<input type="text" id="node-input-devicename">
</div>
</script>
<script type="text/x-red" data-help-name="find-my-iphone">
<p>A node that obtains device information from the iCloud</p>
</script>