mirror of
				https://github.com/NginxProxyManager/nginx-proxy-manager.git
				synced 2025-10-31 07:43:33 +00:00 
			
		
		
		
	add basic functionality to front end
This commit is contained in:
		
							
								
								
									
										13
									
								
								frontend/js/app/nginx/access/form/client.ejs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								frontend/js/app/nginx/access/form/client.ejs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,13 @@ | ||||
| <div class="col-sm-3 col-md-3"> | ||||
|     <div class="form-group"> | ||||
|         <select name="directive[]" class="form-control custom-select" placeholder="http"> | ||||
|             <option value="allow" <%- typeof directive == 'undefined' || directive === 'allow' ? 'selected' : '' %>>allow</option> | ||||
|             <option value="deny" <%- typeof directive !== 'undefined' && directive === 'deny' ? 'selected' : '' %>>deny</option> | ||||
|         </select> | ||||
|     </div> | ||||
| </div> | ||||
| <div class="col-sm-9 col-md-9"> | ||||
|     <div class="form-group"> | ||||
|         <input type="text" name="address[]" class="form-control" value="<%- typeof address !== 'undefined' ? address : '' %>" value=""> | ||||
|     </div> | ||||
| </div> | ||||
							
								
								
									
										7
									
								
								frontend/js/app/nginx/access/form/client.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								frontend/js/app/nginx/access/form/client.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,7 @@ | ||||
| const Mn       = require('backbone.marionette'); | ||||
| const template = require('./client.ejs'); | ||||
|  | ||||
| module.exports = Mn.View.extend({ | ||||
|     template:  template, | ||||
|     className: 'row' | ||||
| }); | ||||
		Reference in New Issue
	
	Block a user