Files

52 lines
1.9 KiB
HTML

<script type="text/javascript">
RED.nodes.registerType('odbcwritenow-get',{
category: 'ODBCWriteNow',
color: '#2596be',
defaults: {
name: {value:""},
apikey: {value:""},
what: {value:""},
orderby: {value:""},
maxRetries: {value:3},
retryBackoffMs: {value:500}
},
inputs: 1,
outputs: 2,
icon: "odbcwritenow.png",
label: function() {
return this.name||"Get " + this.what;
}
});
</script>
<script type="text/html" data-template-name="odbcwritenow-get">
<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-what"><i class="fa fa-lock"></i> What</label>
<input type="text" id="node-input-what" placeholder="sales_invoice_item">
</div>
<div class="form-row">
<label for="node-input-orderby"><i class="fa fa-lock"></i> OrderBy</label>
<input type="text" id="node-input-orderby" placeholder="OrderBy">
</div>
<div class="form-row">
<label for="node-input-maxRetries"><i class="fa fa-repeat"></i> MaxRetries</label>
<input type="number" id="node-input-maxRetries" min="0" placeholder="3">
</div>
<div class="form-row">
<label for="node-input-retryBackoffMs"><i class="fa fa-clock-o"></i> RetryBackoffMs</label>
<input type="number" id="node-input-retryBackoffMs" min="0" placeholder="500">
</div>
<div class="form-row">
<label for="node-input-apikey"><i class="fa fa-lock"></i> APIKey</label>
<input type="text" id="node-input-apikey" placeholder="APIKey">
</div>
</script>
<script type="text/html" data-help-name="odbcwritenow-get">
<p>odbcwritenow downloader</p>
</script>