refactor: update labels and input types for better clarity and functionality
This commit is contained in:
		| @@ -154,11 +154,11 @@ | ||||
|                     <p>If activated, FilaMan will automatically update the next filled tray with the last scanned and weighed spool.</p> | ||||
|                     <div class="input-group" style="display: flex; margin-bottom: 0;"> | ||||
|                         <label for="autoSend" style="width: 250px; margin-right: 5px;">Auto Send to Bambu:</label> | ||||
|                         <label for="autoSendTime" style="width: 250px; margin-right: 5px;">Wait time in Seconds:</label> | ||||
|                         <label for="autoSendTime" style="width: 250px; margin-right: 5px;">Wait for Spool in Sec:</label> | ||||
|                     </div> | ||||
|                     <div class="input-group" style="display: flex;"> | ||||
|                         <input type="checkbox" id="autoSend" {{autoSendToBambu}} style="width: 190px; margin-right: 10px;"> | ||||
|                         <input type="text" id="autoSendTime" placeholder="Time to wait for new Spool" value="{{autoSendTime}}" style="width: 100px;"> | ||||
|                         <input type="number" min="60" id="autoSendTime" placeholder="Time to wait" value="{{autoSendTime}}" style="width: 100px;"> | ||||
|                     </div> | ||||
|  | ||||
|                     <button style="margin: 0;" onclick="saveBambuCredentials()">Save Bambu Credentials</button> | ||||
|   | ||||
| @@ -188,14 +188,18 @@ label { | ||||
|     font-weight: bold;  | ||||
| } | ||||
|  | ||||
| input[type="text"], input[type="submit"] {  | ||||
| input[type="text"], input[type="submit"], input[type="number"] {  | ||||
|     padding: 10px;  | ||||
|     border: 1px solid #ccc;  | ||||
|     border-radius: 5px;  | ||||
|     font-size: 16px;  | ||||
| } | ||||
|  | ||||
| input[type="text"]:focus {  | ||||
| input[type="number"] {  | ||||
|     width: 108px !important;  | ||||
| } | ||||
|  | ||||
| input[type="text"]:focus, input[type="number"]:focus {  | ||||
|     border-color: #007bff;  | ||||
|     outline: none;  | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user