UI refinements.
Disconnect all WS clients on low mem.
This commit is contained in:
		| @@ -516,7 +516,7 @@ ${i+1}: | ||||
|     <option value=7>9-key red</option> | ||||
|     <option value=8>JSON remote</option> | ||||
|     </select><span style="cursor: pointer;" onclick="off('IR')"> ×</span><br> | ||||
|     <div id="json" style="display:none;">JSON file: <input type="file" name="data" accept=".json"> <input type="button" value="Upload" onclick="uploadFile('/ir.json');"><br></div> | ||||
|     <div id="json" style="display:none;">JSON file: <input type="file" name="data" accept=".json"> <input type="button" class="btn" value="Upload" onclick="uploadFile('/ir.json');"><br></div> | ||||
|     <a href="https://kno.wled.ge/interfaces/infrared/" target="_blank">IR info</a><br> | ||||
|     Relay GPIO: <input type="number" min="-1" max="33" name="RL" onchange="UI()" class="xs"> Invert <input type="checkbox" name="RM"><span style="cursor: pointer;" onclick="off('RL')"> ×</span><br> | ||||
|     <hr style="width:260px"> | ||||
| @@ -564,7 +564,7 @@ ${i+1}: | ||||
| 			<option value="3">None (not recommended)</option> | ||||
| 		</select><br> | ||||
|     <hr style="width:260px"> | ||||
|     <div id="cfg">Config template: <input type="file" name="data2" accept=".json"> <input type="button" value="Apply" onclick="loadCfg(d.Sf.data2);"><br></div> | ||||
|     <div id="cfg">Config template: <input type="file" name="data2" accept=".json"> <input type="button" class="btn" value="Apply" onclick="loadCfg(d.Sf.data2);"><br></div> | ||||
|     <hr> | ||||
|     <button type="button" onclick="B()">Back</button><button type="submit">Save</button> | ||||
| 	</form> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Blaz Kristan
					Blaz Kristan