2022-04-09 17:38:00 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<meta name="robots" content="noindex, nofollow">
|
|
|
|
|
|
|
|
<title>{{ str['welcome'] }}</title>
|
|
|
|
|
|
|
|
<link rel="stylesheet" href="{{ url('static', filename='style.css') }}">
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
<main>
|
|
|
|
<h1>{{ str['welcome'] }} <span class="username">{{ data['username'] }}</span></h1>
|
|
|
|
|
|
|
|
<div class="grid-container">
|
|
|
|
<div class="grid-item">
|
|
|
|
<div class="user account">
|
|
|
|
<h5>{{ str['usr'] }}</h5>
|
|
|
|
<p>{{ data['firstname'] }} {{ data['surname'] }}</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="grid-item">
|
2022-04-16 17:15:34 +02:00
|
|
|
% if data['fakeCn'] == True:
|
|
|
|
<a href="/edit_fullname" class="edit">{{ str['edit'] }}</a>
|
|
|
|
% end
|
2022-04-09 17:38:00 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="grid-item">
|
|
|
|
<div class="email account">
|
|
|
|
<h5>{{ str['email'] }}</h5>
|
|
|
|
<p>{{ data['mail'] }}</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="grid-item">
|
2022-04-16 17:15:34 +02:00
|
|
|
<a href="/edit_email">{{ str['edit'] }}</a>
|
2022-04-09 17:38:00 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="grid-item">
|
|
|
|
<div class="account">
|
|
|
|
<h5>{{ str['pwd'] }}</h5>
|
|
|
|
<p>********</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="grid-item">
|
2022-04-16 17:15:34 +02:00
|
|
|
<a href="/change_pwd">{{ str['edit'] }}</a>
|
2022-04-09 17:38:00 +02:00
|
|
|
</div>
|
|
|
|
|
2023-04-06 16:40:24 +02:00
|
|
|
<div class="grid-item">
|
|
|
|
<div class="account">
|
2023-04-07 15:21:44 +02:00
|
|
|
<h5>{{ str['logs'] }}</h5>
|
2023-04-06 16:40:24 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="grid-item">
|
2023-04-07 15:21:44 +02:00
|
|
|
<a href="/logs">{{ str['show'] }}</a>
|
2023-04-06 16:40:24 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
|
2022-04-09 17:38:00 +02:00
|
|
|
<div class="account">
|
|
|
|
<a href="/logout"><button class="green" type="button">{{ str['log-out'] }}</button></a>
|
|
|
|
<a href="/delete"><button class="red" type="button">{{ str['del'] }}</button></a>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
%for type, text, animation in get('alerts', []):
|
|
|
|
<div class="alerts {{ animation }}">
|
|
|
|
<div class="alert {{ type }}">{{ text }}</div>
|
|
|
|
</div>
|
|
|
|
%end
|
|
|
|
|
|
|
|
</main>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|