mirror of https://github.com/statping/statping
				
				
				
			Add Toggle-Switch to settings HTML Template
							parent
							
								
									b1bcc67833
								
							
						
					
					
						commit
						e73993cef2
					
				| 
						 | 
				
			
			@ -37,6 +37,20 @@
 | 
			
		|||
                                <input type="text" name="description" class="form-control" value="{{ .Description }}" id="description" placeholder="Great Uptime">
 | 
			
		||||
                            </div>
 | 
			
		||||
 | 
			
		||||
                            <div class="form-group">
 | 
			
		||||
                                <div class="col-4 col-sm-4 mt-sm-1 mt-0">
 | 
			
		||||
                                    <label for="update_notify" class="d-inline d-sm-none">Send Updates only</label>
 | 
			
		||||
                                    <label for="update_notify" class="d-none d-sm-block">Send Updates only</label>
 | 
			
		||||
 | 
			
		||||
                                    <span class="switch">
 | 
			
		||||
                                        <input type="checkbox" name="update_notify-option" class="switch" id="switch-update_notify"{{if UPDATENOTIFY}} checked{{end}}>
 | 
			
		||||
                                        <label for="switch-update_notify" class="mt-2 mt-sm-0"></label>
 | 
			
		||||
                                    </span>
 | 
			
		||||
 | 
			
		||||
                                    <input type="hidden" name="update_notify" id="switch-update_notify-value" value="{{if UPDATENOTIFY}}true{{else}}false{{end}}">
 | 
			
		||||
                                </div>
 | 
			
		||||
                            </div>
 | 
			
		||||
 | 
			
		||||
                            <div class="form-group row">
 | 
			
		||||
                                <div class="col-8 col-sm-9">
 | 
			
		||||
                                    <label for="domain">Domain</label>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue