-
Notifications
You must be signed in to change notification settings - Fork 0
/
subscription.html
33 lines (31 loc) · 938 Bytes
/
subscription.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
<script type="text/javascript">
RED.nodes.registerType('subscription',{
category: 'onem2m',
color: '#a6bbcf',
defaults: {
name : {
value: ""
},
url : {
value: "",
required: true,
},
},
inputs : 1,
outputs: 1,
icon: "inject.png",
label : function() {
return this.name || 'subscription';
},
});
</script>
<script type="text/x-red" data-template-name="subscription">
<div class="form-row">
<label for="node-input-url"><i class="icon-bookmark"></i> Resource URL</label>
<input type="text" id="node-input-url">
<input type="text" id="node-input-name" style="display:none">
</div>
</script>
<script type="text/x-red" data-help-name='subscription'>
<p>a oneM2M subscription</p>
</script>