mirror of
				https://github.com/node-red/node-red-nodes.git
				synced 2025-03-01 10:37:43 +00:00 
			
		
		
		
	Add Serialport css to try to highlight blank inputs
This commit is contained in:
		| @@ -117,22 +117,22 @@ | ||||
|         <tr> | ||||
|         <td> </td> | ||||
|         <td> | ||||
|             <input type="text" id="node-config-input-serialbaud" style="width:92% height:28px;"> | ||||
|             <input type="text" id="node-config-input-serialbaud" style="width:92%; height:30px;"> | ||||
|         </td> | ||||
|         <td><select type="text" id="node-config-input-databits" style="width:90%; height:28px;"> | ||||
|         <td><select type="text" id="node-config-input-databits" style="width:90%; height:30px;"> | ||||
|             <option value="8">8</option> | ||||
|             <option value="7">7</option> | ||||
|             <option value="6">6</option> | ||||
|             <option value="5">5</option> | ||||
|         </select></td> | ||||
|         <td><select type="text" id="node-config-input-parity" style="width:90%; height:28px;"> | ||||
|         <td><select type="text" id="node-config-input-parity" style="width:90%; height:30px;"> | ||||
|             <option value="none" data-i18n="serial.parity.none"></option> | ||||
|             <option value="even" data-i18n="serial.parity.even"></option> | ||||
|             <option value="mark" data-i18n="serial.parity.mark"></option> | ||||
|             <option value="odd" data-i18n="serial.parity.odd"></option> | ||||
|             <option value="space" data-i18n="serial.parity.space"></option> | ||||
|         </select></td> | ||||
|         <td><select type="text" id="node-config-input-stopbits" style="width:60px; height:28px;"> | ||||
|         <td><select type="text" id="node-config-input-stopbits" style="width:60px; height:30px;"> | ||||
|             <option value="2">2</option> | ||||
|             <option value="1">1</option> | ||||
|         </select></td> | ||||
| @@ -149,22 +149,22 @@ | ||||
|             </tr> | ||||
|             <tr> | ||||
|                 <td> </td> | ||||
|                 <td><select type="text" id="node-config-input-dtr" style="width:72px; height:28px;"> | ||||
|                 <td><select type="text" id="node-config-input-dtr" style="width:72px; height:30px;"> | ||||
|                     <option value="none" data-i18n="serial.linestates.none"></option> | ||||
|                     <option value="high" data-i18n="serial.linestates.high"></option> | ||||
|                     <option value="low" data-i18n="serial.linestates.low"></option> | ||||
|                 </select></td> | ||||
|                 <td><select type="text" id="node-config-input-rts" style="width:72px; height:28px;"> | ||||
|                 <td><select type="text" id="node-config-input-rts" style="width:72px; height:30px;"> | ||||
|                     <option value="none" data-i18n="serial.linestates.none"></option> | ||||
|                     <option value="high" data-i18n="serial.linestates.high"></option> | ||||
|                     <option value="low" data-i18n="serial.linestates.low"></option> | ||||
|                 </select></td> | ||||
|                 <td><select type="text" id="node-config-input-cts" style="width:72px; height:28px;"> | ||||
|                 <td><select type="text" id="node-config-input-cts" style="width:72px; height:30px;"> | ||||
|                     <option value="none" data-i18n="serial.linestates.none"></option> | ||||
|                     <option value="high" data-i18n="serial.linestates.high"></option> | ||||
|                     <option value="low" data-i18n="serial.linestates.low"></option> | ||||
|                 </select></td> | ||||
|                 <td><select type="text" id="node-config-input-dsr" style="width:72px; height:28px;"> | ||||
|                 <td><select type="text" id="node-config-input-dsr" style="width:72px; height:30px;"> | ||||
|                     <option value="none" data-i18n="serial.linestates.none"></option> | ||||
|                     <option value="high" data-i18n="serial.linestates.high"></option> | ||||
|                     <option value="low" data-i18n="serial.linestates.low"></option> | ||||
| @@ -177,23 +177,23 @@ | ||||
|     </div> | ||||
|     <div class="form-row" style="padding-left:18px; margin-bottom:4px;"> | ||||
|         <span data-i18n="serial.label.start"></span> | ||||
|         <input type="text" id="node-config-input-waitfor" style="width:50px; height:28px;"> | ||||
|         <input type="text" id="node-config-input-waitfor" style="width:50px; height:28px; text-decoration:grey dotted underline;"> | ||||
|         <span data-i18n="serial.label.startor"></span> | ||||
|     </div> | ||||
|     <div class="form-row" style="padding-left:18px; margin-bottom:4px;"> | ||||
|         <span data-i18n="serial.label.split"></span> | ||||
|         <select type="text" id="node-config-input-out" style="margin-left:11px; width:200px; height:28px;"> | ||||
|         <select type="text" id="node-config-input-out" style="margin-left:11px; width:200px;"> | ||||
|             <option value="char" data-i18n="serial.split.character"></option> | ||||
|             <option value="time" data-i18n="serial.split.timeout"></option> | ||||
|             <option value="interbyte" data-i18n="serial.split.silent"></option> | ||||
|             <option value="count" data-i18n="serial.split.lengths"></option> | ||||
|         </select> | ||||
|         <input type="text" id="node-config-input-newline" style="width:50px; height:28px;"> | ||||
|         <input type="text" id="node-config-input-newline" style="width:50px;"> | ||||
|         <span id="node-units"></span> | ||||
|     </div> | ||||
|     <div class="form-row" style="padding-left:18px; margin-bottom:4px;"> | ||||
|         <span data-i18n="serial.label.deliver"></span> | ||||
|         <select type="text" id="node-config-input-bin" style="margin-left:5px; width:150px; height:28px;"> | ||||
|         <select type="text" id="node-config-input-bin" style="margin-left:5px; width:150px;"> | ||||
|             <option value="false" data-i18n="serial.output.ascii"></option> | ||||
|             <option value="bin" data-i18n="serial.output.binary"></option> | ||||
|         </select> | ||||
| @@ -204,7 +204,7 @@ | ||||
|         </div> | ||||
|         <div class="form-row" style="padding-left:18px; margin-bottom:4px;"> | ||||
|             <label style="width:auto;" for="node-config-input-addchar"><span data-i18n="serial.addsplit"></span></label> | ||||
|             <input type="text" id="node-config-input-addchar" style="width:50px; height:28px;"> | ||||
|             <input type="text" id="node-config-input-addchar" style="width:50px; height:28px; text-decoration:grey dotted underline;"> | ||||
|         </div> | ||||
|     </div> | ||||
|     <div id="node-config-req"> | ||||
|   | ||||
| @@ -1,6 +1,6 @@ | ||||
| { | ||||
|     "name"          : "node-red-node-serialport", | ||||
|     "version"       : "1.0.2", | ||||
|     "version"       : "1.0.3", | ||||
|     "description"   : "Node-RED nodes to talk to serial ports", | ||||
|     "dependencies"  : { | ||||
|         "serialport"   : "^10.5.0" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user