Files
Portalfejlesztes-Teszt-Pyth…/templates/index.html
2025-01-06 22:32:08 +01:00

65 lines
1.6 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Random Question</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f9f9f9;
}
.container {
max-width: 800px;
margin: 50px auto;
padding: 20px;
background: #fff;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
h1 {
color: #333;
text-align: center;
}
.question {
margin: 20px 0;
}
.answers {
margin-top: 10px;
}
.answers input {
margin-right: 10px;
}
button {
display: block;
width: 100%;
padding: 10px;
background-color: #4CAF50;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 16px;
}
button:hover {
background-color: #45a049;
}
.option-style:hover{
background-color: #33333352;
}
</style>
</head>
<body>
<div class="container">
<h1>Véletlenszerű kérdés</h1>
<form method="POST">
{{ html_frame|safe }}
<button type="submit" name="check">Ellenőriz</button>
<button type="submit" name="next">Következő</button>
</form>
</div>
</body>
</html>