119 lines
3.3 KiB
HTML
119 lines
3.3 KiB
HTML
{% if session['theme'] == 'darkmode' %}
|
|
{% extends "base_dark.html" %}
|
|
{% else %}
|
|
{% extends "base.html" %}
|
|
{% endif %}
|
|
|
|
{% block title %}Benutzerdetails{% endblock %}
|
|
|
|
{% block content %}
|
|
{% if session['theme'] == 'darkmode' %}
|
|
<style>
|
|
.details-container {
|
|
background: rgba(30, 30, 30, 0.95);
|
|
padding: 20px;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 8px rgba(0,0,0,0.5);
|
|
max-width: 500px;
|
|
width: 100%;
|
|
text-align: center;
|
|
margin: auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
.details-container h1 {
|
|
margin-bottom: 20px;
|
|
color: #fff;
|
|
}
|
|
.details-container p {
|
|
font-size: 1.2em;
|
|
color: #0ff;
|
|
margin: 10px 0;
|
|
}
|
|
.back-button-dark {
|
|
margin-top: 20px;
|
|
display: inline-block;
|
|
width: auto;
|
|
padding: 14px 28px;
|
|
text-align: center;
|
|
}
|
|
.details-container strong {
|
|
color: #fff;
|
|
}
|
|
</style>
|
|
<div class="details-container">
|
|
<h1>Benutzerdetails</h1>
|
|
<p><strong>Ingame Name:</strong> {{ user.ingame_name }}</p>
|
|
<p><strong>SteamID:</strong> {{ user.steam_id }}</p>
|
|
<p><strong>Geburtsdatum:</strong> {{ user.birthdate }}</p>
|
|
<p><strong>Alter:</strong> {{ user.age }} Jahre</p>
|
|
<a href="/verify_age" class="neon-button neon3 back-button-dark"><span>Zurück</span></a>
|
|
</div>
|
|
{% else %}
|
|
<!DOCTYPE html>
|
|
<html lang="de">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Benutzerdetails</title>
|
|
<link rel="stylesheet" href="/static/style.css">
|
|
<link rel="icon" href="/static/logo.png" type="image/png">
|
|
<style>
|
|
body {
|
|
background-image: url('/static/background.png');
|
|
background-size: cover;
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
height: 100vh;
|
|
margin: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
.details-container {
|
|
background: rgba(255, 255, 255, 0.6);
|
|
padding: 20px;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
max-width: 500px;
|
|
width: 100%;
|
|
text-align: center;
|
|
margin: auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
.details-container h1 {
|
|
margin-bottom: 20px;
|
|
}
|
|
.details-container p {
|
|
font-size: 1.2em;
|
|
color: #333;
|
|
margin: 10px 0;
|
|
}
|
|
.back-button {
|
|
margin-top: 20px;
|
|
background-color: #007BFF;
|
|
color: white;
|
|
border: none;
|
|
padding: 10px 20px;
|
|
border-radius: 5px;
|
|
cursor: pointer;
|
|
text-decoration: none;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
{% include "top_bar.html" %}
|
|
<div class="details-container">
|
|
<h1>Benutzerdetails</h1>
|
|
<p><strong>Ingame Name:</strong> {{ user.ingame_name }}</p>
|
|
<p><strong>SteamID:</strong> {{ user.steam_id }}</p>
|
|
<p><strong>Geburtsdatum:</strong> {{ user.birthdate }}</p>
|
|
<p><strong>Alter:</strong> {{ user.age }} Jahre</p>
|
|
<a href="/verify_age" class="back-button">Zurück</a>
|
|
</div>
|
|
</body>
|
|
</html>
|
|
{% endif %}
|
|
{% endblock %}
|