1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Add missing name field to file (in) node

(and tweak icons to new style)
This commit is contained in:
Dave C-J 2014-06-08 22:54:21 +01:00
parent 2d9e72816f
commit fc94429266

View File

@ -45,16 +45,20 @@
<script type="text/x-red" data-template-name="file in"> <script type="text/x-red" data-template-name="file in">
<div class="form-row"> <div class="form-row">
<label for="node-input-filename"><i class="icon-file"></i> Filename</label> <label for="node-input-filename"><i class="fa fa-file"></i> Filename</label>
<input type="text" id="node-input-filename" placeholder="Filename"> <input type="text" id="node-input-filename" placeholder="Filename">
</div> </div>
<div class="form-row"> <div class="form-row">
<label>Output as</label> <label for="node-input-format"><i class="fa fa-sign-out"></i> Output as</label>
<select id="node-input-format"> <select id="node-input-format">
<option value="utf8">a utf8 string</option> <option value="utf8">a utf8 string</option>
<option value="">a Buffer</option> <option value="">a Buffer</option>
</select> </select>
</div> </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>
</script> </script>
<script type="text/x-red" data-help-name="file in"> <script type="text/x-red" data-help-name="file in">