@letis009/node-red-contrib-tdn-report 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/tdn-report.html +26 -0
package/package.json
CHANGED
package/tdn-report.html
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
<script type="text/javascript">
|
|
2
|
+
RED.nodes.registerType('tdn-report', {
|
|
3
|
+
category: 'function',
|
|
4
|
+
color: '#fdd0a2',
|
|
5
|
+
defaults: {
|
|
6
|
+
name: { value: "" }
|
|
7
|
+
},
|
|
8
|
+
inputs: 1,
|
|
9
|
+
outputs: 1,
|
|
10
|
+
icon: "font-awesome/fa-file-text-o",
|
|
11
|
+
label: function () {
|
|
12
|
+
return this.name || "tdn-report";
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
</script>
|
|
16
|
+
|
|
17
|
+
<script type="text/html" data-template-name="tdn-report">
|
|
18
|
+
<div class="form-row">
|
|
19
|
+
<label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
|
|
20
|
+
<input type="text" id="node-input-name" placeholder="Name">
|
|
21
|
+
</div>
|
|
22
|
+
</script>
|
|
23
|
+
|
|
24
|
+
<script type="text/html" data-help-name="tdn-report">
|
|
25
|
+
<p>This node formats deposit reports based on dataset and report type.</p>
|
|
26
|
+
</script>
|