33 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
<!DOCTYPE html>
 | 
						|
<html lang="en">
 | 
						|
<head>
 | 
						|
    <meta charset="UTF-8">
 | 
						|
    <title>Clear Hosts Files</title>
 | 
						|
    <style>
 | 
						|
        body { font-family: Arial, sans-serif; background: #f1f1f1; padding: 20px; }
 | 
						|
        .container { max-width: 500px; margin: 0 auto; background: #fff; padding: 20px; border-radius: 8px; box-shadow: 0 0 10px #ccc; }
 | 
						|
        h1 { text-align: center; }
 | 
						|
        button { margin-top: 1em; padding: 10px 20px; background: #007bff; border: none; color: #fff; cursor: pointer; border-radius: 4px; }
 | 
						|
        button:hover { background: #0056b3; }
 | 
						|
        .links { text-align: center; margin-top: 10px; }
 | 
						|
        .links a { color: #007bff; text-decoration: none; }
 | 
						|
        .links a:hover { text-decoration: underline; }
 | 
						|
    </style>
 | 
						|
</head>
 | 
						|
<body>
 | 
						|
<div class="container">
 | 
						|
    <h1>Clear /etc/hosts* Files</h1>
 | 
						|
    <form method="POST" action="{{ url_for('clear_all_hosts') }}">
 | 
						|
        <p>Select which types of hosts to clear:</p>
 | 
						|
        <label><input type="checkbox" name="linux" value="1"> Linux Server/s</label><br>
 | 
						|
        <label><input type="checkbox" name="mikrotik" value="1"> Mikrotik Router/s</label><br>
 | 
						|
        <button type="submit">Clear /etc/hosts* on selected servers</button>
 | 
						|
        <p>* - or MikroTik Router</p>
 | 
						|
    </form>
 | 
						|
    <div class="links">
 | 
						|
        <a href="{{ url_for('dashboard') }}">Back to Dashboard</a>
 | 
						|
    </div>
 | 
						|
</div>
 | 
						|
</body>
 | 
						|
</html>
 |