forked from guidone/node-red-contrib-chatbot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
chatbot-analyze.html
37 lines (32 loc) · 976 Bytes
/
chatbot-analyze.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
<script type="text/javascript">
RED.nodes.registerType('chatbot-analyze',{
category: 'RedBot',
color: '#FFCC66',
defaults: {
name: {
value: ''
}
},
inputs: 1,
outputs: 1,
paletteLabel: 'Analyze',
icon: 'chatbot-analyze.png',
label: function() {
return 'Analyze';
}
});
</script>
<script type="text/x-red" data-template-name="chatbot-analyze">
<div class="form-row">
<label for="node-input-name"><i class="icon-tag"></i> Name</label>
<input type="text" id="node-input-name" placeholder="Name">
</div>
<div class="form-row">
<label for="node-input-payload"><i class="fa fa-envelope"></i> <span>Listen to</span></label>
<input type="text" id="node-input-message" style="width:300px">
<input type="hidden" id="node-input-messageType">
</div>
</script>
<script type="text/x-red" data-help-name="chatbot-analyze">
<p>Analyze message</p>
</script>