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

Add icons into property UI of json node

This commit is contained in:
Kazuhito Yokoi 2018-01-26 07:31:48 +00:00
parent d0166b25e4
commit 6d3232a4f0

View File

@ -1,7 +1,7 @@
<script type="text/x-red" data-template-name="json"> <script type="text/x-red" data-template-name="json">
<div class="form-row"> <div class="form-row">
<label for="node-input-action"><span data-i18n="json.label.action"></span></label> <label for="node-input-action"><i class="fa fa-dot-circle-o"></i> <span data-i18n="json.label.action"></span></label>
<select style="width:70%" id="node-input-action"> <select style="width:70%" id="node-input-action">
<option value="" data-i18n="json.label.actions.toggle"></option> <option value="" data-i18n="json.label.actions.toggle"></option>
<option value="str" data-i18n="json.label.actions.str"></option> <option value="str" data-i18n="json.label.actions.str"></option>
@ -9,7 +9,7 @@
</select> </select>
</div> </div>
<div class="form-row"> <div class="form-row">
<label data-i18n="json.label.property"></label> <label for="node-input-property"><i class="fa fa-ellipsis-h"></i> <span data-i18n="json.label.property"></span></label>
<input type="text" id="node-input-property" style="width:70%;"/> <input type="text" id="node-input-property" style="width:70%;"/>
</div> </div>
<div class="form-row"> <div class="form-row">