Initial commit
This commit is contained in:
38
node_modules/node-red-contrib-excel/excel/excel.html
generated
vendored
Normal file
38
node_modules/node-red-contrib-excel/excel/excel.html
generated
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
<script type="text/javascript">
|
||||
RED.nodes.registerType('excel',{
|
||||
category: 'function',
|
||||
color: '#6B8E23',
|
||||
defaults: {
|
||||
name: {value:""},
|
||||
file: {value:""}
|
||||
},
|
||||
inputs:1,
|
||||
outputs:1,
|
||||
icon: "file.png",
|
||||
align: 'right',
|
||||
paletteLabel:"excel",
|
||||
label: function() {
|
||||
return this.name||"excel";
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
<script type="text/x-red" data-template-name="excel">
|
||||
|
||||
<div class="form-row">
|
||||
<label for="node-input-file"><i class="icon-tag"></i> File *</label>
|
||||
<input type="text" id="node-input-file" placeholder="/home/app/output.xlsx">
|
||||
</div>
|
||||
|
||||
<div class="form-row">
|
||||
<label for="node-input-name"><i class="icon-tag"></i> Name</label>
|
||||
<input type="text" id="node-input-name" placeholder="Name">
|
||||
|
||||
</div>
|
||||
</script>
|
||||
|
||||
<script type="text/x-red" data-help-name="excel">
|
||||
<p>Converts a JSON or array of JSONs to excel and writes to the file specified</p>
|
||||
<p>Expects the JSON to be msg.payload</p>
|
||||
<p>File path can be configured on node or set as msg.filepath </p>
|
||||
</script>
|
||||
Reference in New Issue
Block a user