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

Merge pull request #1581 from kazuhitoyokoi/0.18-jsonnode

Add icons into property UI of JSON node
This commit is contained in:
Nick O'Leary 2018-01-26 08:17:48 +00:00 committed by GitHub
commit b04a2d4c08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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">