100 lines
		
	
	
		
			No EOL
		
	
	
		
			2.3 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			100 lines
		
	
	
		
			No EOL
		
	
	
		
			2.3 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
<!DOCTYPE html>
 | 
						|
<html lang="en">
 | 
						|
 | 
						|
<head>
 | 
						|
    <meta charset="UTF-8">
 | 
						|
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
 | 
						|
    <meta name="format-detection" content="telephone=no">
 | 
						|
    <title>Voucher</title>
 | 
						|
    <style>
 | 
						|
        body {
 | 
						|
            font-family: 'Courier New', Courier, monospace, Arial, sans-serif;
 | 
						|
            margin: 0;
 | 
						|
            padding: 0;
 | 
						|
            background-color: #ffe14b;
 | 
						|
            /* Gedeckt gelber Hintergrund */
 | 
						|
            display: flex;
 | 
						|
            flex-direction: column;
 | 
						|
            justify-content: space-between;
 | 
						|
            height: 100vh;
 | 
						|
        }
 | 
						|
 | 
						|
        .header {
 | 
						|
            text-align: center;
 | 
						|
            padding: 20px;
 | 
						|
            font-size: 3rem;
 | 
						|
            font-weight: bold;
 | 
						|
            color: #333;
 | 
						|
        }
 | 
						|
 | 
						|
        .code {
 | 
						|
            text-align: center;
 | 
						|
            font-size: 9rem;
 | 
						|
            font-weight: bold;
 | 
						|
            color: #000;
 | 
						|
            margin: 20px 0;
 | 
						|
            word-spacing: 10px;
 | 
						|
 | 
						|
        }
 | 
						|
 | 
						|
        .footer {
 | 
						|
            display: flex;
 | 
						|
            justify-content: space-between;
 | 
						|
            align-items: flex-end;
 | 
						|
            padding: 20px;
 | 
						|
        }
 | 
						|
 | 
						|
        .wifi-symbol {
 | 
						|
            position: relative;
 | 
						|
            width: 25%;
 | 
						|
        }
 | 
						|
 | 
						|
        .wifi-icon {
 | 
						|
            width: 30%;
 | 
						|
            max-width: 1200px;
 | 
						|
        }
 | 
						|
 | 
						|
        .qr-code {
 | 
						|
            width: 25%;
 | 
						|
            max-width: 1200px;
 | 
						|
            margin: 50px;
 | 
						|
        }
 | 
						|
        @media (max-width: 768px) {
 | 
						|
    .header {
 | 
						|
        font-size: 2rem;
 | 
						|
    }
 | 
						|
 | 
						|
    .code {
 | 
						|
        font-size: 5rem;
 | 
						|
    }
 | 
						|
 | 
						|
    .footer {
 | 
						|
        flex-direction: column;
 | 
						|
        align-items: center;
 | 
						|
        gap: 20px; /* Abstand zwischen den Grafiken */
 | 
						|
    }
 | 
						|
 | 
						|
    .wifi-icon,
 | 
						|
    .qr-code {
 | 
						|
        width: 80%; /* Grafiken nehmen 80% der Bildschirmbreite ein */
 | 
						|
        max-width: 300px; /* Maximale Breite der Grafiken */
 | 
						|
    }
 | 
						|
}
 | 
						|
    </style>
 | 
						|
</head>
 | 
						|
 | 
						|
<body>
 | 
						|
    <button class="button" onclick="window.location.href='/'">zurück</button>
 | 
						|
    <div class="header">
 | 
						|
        Der {{ minutes }}min Zugangscode:
 | 
						|
    </div>
 | 
						|
    <div class="code">
 | 
						|
        {{ code }}
 | 
						|
    </div>
 | 
						|
    <div class="footer">
 | 
						|
        <img src="{{ wifi_icon }}" alt="Logo" class="wifi-icon">
 | 
						|
        <img src="data:image/png;base64,{{ qr_code|b64encode }}" alt="QR-Code" class="qr-code">
 | 
						|
    </div>
 | 
						|
</body>
 | 
						|
 | 
						|
</html> |