mirror of
https://github.com/Llloooggg/Dyxless.git
synced 2026-03-06 10:46:24 +03:00
57 lines
2.1 KiB
HTML
57 lines
2.1 KiB
HTML
<!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">
|
|
<title>Dyxless</title>
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.7.2/css/bulma.min.css" />
|
|
</head>
|
|
|
|
<body>
|
|
<section class="hero is-primary is-fullheight">
|
|
|
|
<div class="hero-head">
|
|
<nav class="navbar">
|
|
<div class="container">
|
|
|
|
<div id="navbarMenuHeroA" class="navbar-menu">
|
|
<div class="navbar-end">
|
|
<a href="{{ url_for('main.index') }}" class="navbar-item">
|
|
Домой
|
|
</a>
|
|
{% if not current_user.is_authenticated %}
|
|
<a href="{{ url_for('auth.login') }}" class="navbar-item">
|
|
Вход
|
|
</a>
|
|
<a href="{{ url_for('auth.signup') }}" class="navbar-item">
|
|
Регистрация
|
|
</a>
|
|
{% endif %}
|
|
{% if current_user.is_authenticated %}
|
|
<a href="{{ url_for('auth.logout') }}" class="navbar-item">
|
|
Выйти
|
|
</a>
|
|
{% endif %}
|
|
{% if current_user.is_authenticated %}
|
|
<a href="{{ url_for('main.profile') }}" class="navbar-item">
|
|
{{ current_user.name }}
|
|
</a>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
</div>
|
|
|
|
<div class="hero-body">
|
|
<div class="container has-text-centered">
|
|
{% block content %}
|
|
{% endblock %}
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</body>
|
|
|
|
</html> |