first push
This commit is contained in:
		
							parent
							
								
									76bc7f4122
								
							
						
					
					
						commit
						1a076b226b
					
				@ -245,7 +245,7 @@ void handleRoot() {
 | 
			
		||||
        </div>
 | 
			
		||||
        <div class="form-group">
 | 
			
		||||
          <label for="mode">Select Mode:</label>
 | 
			
		||||
          <select class="form-control" id="mode" onchange="setMode(this.value)">
 | 
			
		||||
          <select class="form-control" id="mode">
 | 
			
		||||
            <option value="off">Off</option>
 | 
			
		||||
            <option value="time">Time Mode</option>
 | 
			
		||||
            <option value="hold">Hold Mode</option>
 | 
			
		||||
@ -258,6 +258,7 @@ void handleRoot() {
 | 
			
		||||
          <label for="minutes">Minutes:</label>
 | 
			
		||||
          <input type="number" class="form-control" id="minutes" placeholder="Enter minutes">
 | 
			
		||||
        </div>
 | 
			
		||||
        <button class="btn btn-primary mt-2" onclick="setMode(document.getElementById('mode').value)">Set Mode</button>
 | 
			
		||||
        <script>
 | 
			
		||||
          document.getElementById('mode').addEventListener('change', function () {
 | 
			
		||||
            var mode = this.value;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user