-
Notifications
You must be signed in to change notification settings - Fork 0
/
tedious.html
36 lines (34 loc) · 1.17 KB
/
tedious.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
<script type="text/javascript">
RED.nodes.registerType('tedious', {
category: 'storage',
color: '#a6bbcf',
defaults: {
connection: { value: "", required: true, type: "tedious-connection" },
rowByRow: { value: true },
name: { value: "tedious" }
},
inputs: 1,
outputs: 1,
icon: "db.png",
label: function () {
return this.name || "tedious";
}
});
</script>
<script type="text/html" data-template-name="tedious">
<div class="form-row">
<label for="node-input-connection"><i class="icon-task"></i>Connection</label>
<input type="text" id="node-input-connection" placeholder="localhost">
</div>
<div class="form-row">
<label>Emit row by row</label>
<input type="checkbox" id="node-input-rowByRow">
</div>
<div class="form-row">
<label for="node-input-name"><i class="fa fa-bookmark"></i>Name</label>
<input type="text" id="node-input-name">
</div>
</script>
<script type="text/html" data-help-name="tedious">
<p>Queries from or insert into a MS Sql database using the tedious package</p>
</script>