erl.
This commit is contained in:
1 parent
ccbf300047
commit
b50145a7b1
3 files changed
+129
-105
No files matched your search
+103
-103
@@ -1,124 +1,124 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<!-- <link rel="stylesheet" href="../.data/style/forms.css">
|
||||
<link rel="stylesheet" href="../.data/style/main.css"> -->
|
||||
<title>Login</title>
|
||||
<style>
|
||||
body {
|
||||
font-family: 'Arial', sans-serif;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 100dvh;
|
||||
}
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Hausaufgaben-Robo</title>
|
||||
<style>
|
||||
body {
|
||||
font-family: 'Arial', sans-serif;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 100dvh;
|
||||
}
|
||||
|
||||
body {
|
||||
background: linear-gradient(315deg, rgb(134, 65, 163) 0%, rgb(196, 99, 238) 100%);
|
||||
}
|
||||
body {
|
||||
background: linear-gradient(315deg, rgb(134, 65, 163) 0%, rgb(196, 99, 238) 100%);
|
||||
}
|
||||
|
||||
form {
|
||||
background-color: rgb(255, 255, 255);
|
||||
padding: 20px;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
||||
width: 300px;
|
||||
box-sizing: border-box;
|
||||
transition: box-shadow 0.3s ease-in-out;
|
||||
}
|
||||
form {
|
||||
background-color: rgb(255, 255, 255);
|
||||
padding: 20px;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
||||
width: 300px;
|
||||
box-sizing: border-box;
|
||||
transition: box-shadow 0.3s ease-in-out;
|
||||
}
|
||||
|
||||
form:hover {
|
||||
box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
form:hover {
|
||||
box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
label {
|
||||
display: block;
|
||||
margin-bottom: 8px;
|
||||
color: rgb(102, 51, 153);
|
||||
}
|
||||
label {
|
||||
display: block;
|
||||
margin-bottom: 8px;
|
||||
color: rgb(102, 51, 153);
|
||||
}
|
||||
|
||||
input {
|
||||
width: 100%;
|
||||
padding: 8px;
|
||||
margin-bottom: 16px;
|
||||
background-color: transparent !important;
|
||||
box-sizing: border-box;
|
||||
border: none;
|
||||
border-bottom: 1px solid rgb(142, 68, 173, 0.25);
|
||||
outline: none;
|
||||
transition: border-bottom 0.3s ease-in-out;
|
||||
position: relative;
|
||||
}
|
||||
input {
|
||||
width: 100%;
|
||||
padding: 8px;
|
||||
margin-bottom: 16px;
|
||||
background-color: transparent !important;
|
||||
box-sizing: border-box;
|
||||
border: none;
|
||||
border-bottom: 1px solid rgb(142, 68, 173, 0.25);
|
||||
outline: none;
|
||||
transition: border-bottom 0.3s ease-in-out;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
input:focus,
|
||||
input:hover {
|
||||
border-bottom: 1px solid rgb(142, 68, 173, 1);
|
||||
}
|
||||
input:focus,
|
||||
input:hover {
|
||||
border-bottom: 1px solid rgb(142, 68, 173, 1);
|
||||
}
|
||||
|
||||
input+label {
|
||||
position: absolute;
|
||||
top: 8px;
|
||||
left: 8px;
|
||||
color: #8E44AD;
|
||||
transition: top 0.3s ease-in-out, font-size 0.3s ease-in-out;
|
||||
}
|
||||
input+label {
|
||||
position: absolute;
|
||||
top: 8px;
|
||||
left: 8px;
|
||||
color: #8E44AD;
|
||||
transition: top 0.3s ease-in-out, font-size 0.3s ease-in-out;
|
||||
}
|
||||
|
||||
input:focus+label,
|
||||
input:not(:placeholder-shown)+label {
|
||||
top: -14px;
|
||||
font-size: 12px;
|
||||
}
|
||||
input:focus+label,
|
||||
input:not(:placeholder-shown)+label {
|
||||
top: -14px;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
button {
|
||||
background-color: rgb(106, 90, 205);
|
||||
color: rgb(255, 255, 255);
|
||||
padding: 10px;
|
||||
border: none;
|
||||
border-radius: 4px;
|
||||
cursor: pointer;
|
||||
width: 100%;
|
||||
transition: background-color 0.3s ease-in-out;
|
||||
}
|
||||
button {
|
||||
background-color: rgb(106, 90, 205);
|
||||
color: rgb(255, 255, 255);
|
||||
padding: 10px;
|
||||
border: none;
|
||||
border-radius: 4px;
|
||||
cursor: pointer;
|
||||
width: 100%;
|
||||
transition: background-color 0.3s ease-in-out;
|
||||
}
|
||||
|
||||
button:hover {
|
||||
background-color: rgb(72, 61, 139);
|
||||
}
|
||||
button:hover {
|
||||
background-color: rgb(72, 61, 139);
|
||||
}
|
||||
|
||||
p {
|
||||
color: rgb(106, 90, 205);
|
||||
text-align: center;
|
||||
margin-top: 10px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
p {
|
||||
color: rgb(106, 90, 205);
|
||||
text-align: center;
|
||||
margin-top: 10px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
p.q-amount {
|
||||
font-size: small;
|
||||
color: rgb(180, 180, 180);
|
||||
}
|
||||
p.q-amount {
|
||||
font-size: small;
|
||||
color: rgb(180, 180, 180);
|
||||
}
|
||||
|
||||
a {
|
||||
color: rgb(106, 90, 205);
|
||||
text-decoration: underline;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
a {
|
||||
color: rgb(106, 90, 205);
|
||||
text-decoration: underline;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<body>
|
||||
|
||||
<form method="POST" action="/submit_quiz">
|
||||
<p name="question">{{ frage.index }}. {{ frage.question }}</p>
|
||||
<input type="text" name="answer" placeholder="Antwort eingeben..." required>
|
||||
<input type="submit" value="Quiz abschicken">
|
||||
<p class="q-amount">N/A von N/A beantwortet!</p>
|
||||
<br />
|
||||
<p class="debug">{{debugtxt}}</p>
|
||||
</form>
|
||||
<form method="POST" action="/submit_quiz">
|
||||
<p name="question">{{ frage.index }}. {{ frage.question }}</p>
|
||||
<input type="text" name="answer" placeholder="Antwort eingeben..." required>
|
||||
<input type="submit" value="Quiz abschicken">
|
||||
<p class="q-amount">{{correct_sum}} von {{max_correct_sum}} nacheinander korrekt.</p>
|
||||
<br />
|
||||
{% if debugtxt %}
|
||||
<p class="debug">{{debugtxt}}</p>
|
||||
{% endif %}
|
||||
</form>
|
||||
|
||||
</body>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in new issue
Block a user