UNPKG

@ozmap/node-red-contrib-ozmap

Version:

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

46 lines (43 loc) 1.57 kB
<script type="text/javascript"> RED.nodes.registerType('networkConnectable', { category: 'ozmap', color: '#a6bbcf', defaults: { name: { value: 'NetworkConnectable' }, ozmapconnection: { value: '', type: 'ozmap-connection' }, limit: { type: 'number', value: '' }, page: { type: 'number', value: '' }, }, 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"> <!-- <a style="color: blue" href="" target="_blank"> </a> --> </div> <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> Connection</label> <input type="text" id="node-input-ozmapconnection" placeholder="OZMap Connection" /> </div> <div class="form-row"> <label for="node-input-page"><i class="fa fa-sort-numeric-desc"></i> Page</label> <input style="width:25%" type="number" id="node-input-page" placeholder="Page" /> &nbsp; <label for="node-input-limit"><i class="fa fa-sort-numeric-desc"></i> Limit</label> <input style="width:25%" type="number" id="node-input-limit" placeholder="Limit" /> </div> </script> <script type="text/html" data-help-name="networkConnectable"> <p>Get NetworkConnectables from ozmap</p> </script>