node-red-contrib-azure-blob-storage-aleph
Version:
Connector to Azure Blob Storage on Node-Red
95 lines (90 loc) • 3.49 kB
HTML
<script type="text/javascript">
RED.nodes.registerType('Aleph Save Blob', {
category: 'cloud',
color: '#00abec',
defaults: {
name: { value: "Azure Save Blob Storage" },
},
inputs: 1,
outputs: 1,
icon: "azurestorage.png",
label: function () {
return this.name || "Azure Save Blob Storage";
},
credentials: {
accountname: { type: "text" },
key: { type: "text" },
container: { type: "text" },
blob: { type: "text" },
}
});
RED.nodes.registerType('Aleph Get Blob', {
category: 'cloud',
color: '#00abec',
defaults: {
name: { value: "Azure Get Blob Storage" },
},
inputs: 1,
outputs: 1,
icon: "azurestorage.png",
label: function () {
return this.name || "Azure Get Blob Storage";
},
credentials: {
accountname: { type: "text" },
key: { type: "text" },
container: { type: "text" },
blob: { type: "text" },
}
});
</script>
<script type="text/x-red" data-template-name="Aleph Save Blob">
<div class="form-row">
<label for="node-input-accountname"><i class="fa fa-bookmark"></i> Storage Account Name</label>
<input type="text" id="node-input-accountname">
</div>
<div class="form-row">
<label for="node-input-key"><i class="fa fa-bookmark"></i> Storage Account Key</label>
<input type="text" id="node-input-key">
</div>
<div class="form-row">
<label for="node-input-container"><i class="fa fa-bookmark"></i> Storage Container Name</label>
<input type="text" id="node-input-container">
</div>
<div class="form-row">
<label for="node-input-blob"><i class="fa fa-bookmark"></i> Storage Blob Name</label>
<input type="text" id="node-input-blob">
</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="Aleph Save Blob">
<p>A simple node that that makes it easy to save blob from Azure Blob Storage</p>
</script>
<script type="text/x-red" data-template-name="Aleph Get Blob">
<div class="form-row">
<label for="node-input-accountname"><i class="fa fa-bookmark"></i> Storage Account Name</label>
<input type="text" id="node-input-accountname">
</div>
<div class="form-row">
<label for="node-input-key"><i class="fa fa-bookmark"></i> Storage Account Key</label>
<input type="text" id="node-input-key">
</div>
<div class="form-row">
<label for="node-input-container"><i class="fa fa-bookmark"></i> Storage Container Name</label>
<input type="text" id="node-input-container">
</div>
<div class="form-row">
<label for="node-input-blob"><i class="fa fa-bookmark"></i> Storage Blob Name</label>
<input type="text" id="node-input-blob">
</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="Aleph Get Blob">
<p>A simple node that that makes it easy to get blob from Azure Blob Storage</p>
</script>