UNPKG

node-red-contrib-ozmap

Version:

OZMap wrapper to ozmap-api. Helper to use OZMap API's

33 lines (29 loc) 968 B
<script type="text/javascript"> RED.nodes.registerType('networkConnectable', { category: 'ozmap', color: '#a6bbcf', defaults: { name: { value: 'NetworkConnectable' }, ozmapconnection: { value: '', type: 'ozmap-connection' }, }, inputs: 1, outputs: 2, icon: 'file.png', label: function () { return 'OZMap: ' + this.name; }, }); </script> <script type="text/html" data-template-name="networkConnectable"> <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> <div class="form-row"> <label for="node-input-ozmapconnection"><i class="fa fa-tag"></i> OZMap Connection</label> <input type="text" id="node-input-ozmapconnection" placeholder="Name" /> </div> </script> <script type="text/html" data-help-name="networkConnectable"> <p>Get NetworkConnectables from ozmap</p> </script>