Initial commit
This commit is contained in:
37
node_modules/node-red-contrib-spreadsheet-in/book.html
generated
vendored
Normal file
37
node_modules/node-red-contrib-spreadsheet-in/book.html
generated
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
<script type="text/javascript">
|
||||
RED.nodes.registerType('book',{
|
||||
category: 'Spreadsheet',
|
||||
color: "#DEBD5C",
|
||||
defaults: {
|
||||
name: {value:""},
|
||||
raw: {value:false}
|
||||
},
|
||||
inputs:1,
|
||||
outputs:1,
|
||||
icon: "font-awesome/fa-file-excel-o",
|
||||
label: function() {
|
||||
return this.name||"book";
|
||||
},
|
||||
labelStyle: function() {
|
||||
return this.name?"node_label_italic":"";
|
||||
},
|
||||
inputLabels: function() {
|
||||
return this._("book.label.binaryBuffer");
|
||||
},
|
||||
outputLabels: function () {
|
||||
return this._("book.label.workbookObject");
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
<script type="text/x-red" data-template-name="book">
|
||||
<div class="form-row">
|
||||
<label for="node-input-name"><i class="icon-tag"></i> <span data-i18n="node-red:common.label.name"></span></label>
|
||||
<input type="text" id="node-input-name" data-i18n="[placeholder]node-red:common.label.name">
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<label><i class="fa fa-sign-out"></i> <span data-i18n="book.label.parse"></span></label>
|
||||
<input type="checkbox" id="node-input-raw" style="width:auto">
|
||||
<label for="node-input-raw" style="width:auto" data-i18n="book.label.raw"></label>
|
||||
</div>
|
||||
</script>
|
||||
Reference in New Issue
Block a user