29 lines
876 B
HTML
29 lines
876 B
HTML
<script type="text/javascript">
|
|
RED.nodes.registerType("liquidFlowHandler", {
|
|
category: "WWTP",
|
|
color: "#e4a363",
|
|
defaults: {
|
|
name: { value: "" },
|
|
},
|
|
inputs: 1,
|
|
outputs: 3,
|
|
inputLabels: ["input"],
|
|
outputLabels: ["process", "dbase", "parent"],
|
|
icon: "font-awesome/fa-random",
|
|
label: function() {
|
|
return this.name || "Liquid Flow Handler";
|
|
}
|
|
});
|
|
</script>
|
|
|
|
<script type="text/html" data-template-name="liquidFlowHandler">
|
|
<div class="form-row">
|
|
<label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
|
|
<input type="text" id="node-input-name" placeholder="Name">
|
|
</div>
|
|
</script>
|
|
|
|
<script type="text/html" data-help-name="liquidFlowHandler">
|
|
<p>Liquid Flow Handler for handling multicomponent liquid flows</p>
|
|
</script>
|