This commit is contained in:
2023-11-06 13:00:41 +03:00
parent a729070654
commit 2cef14d2d8
3 changed files with 18 additions and 12 deletions

View File

@@ -627,6 +627,10 @@ header .header-second {
display: inline-block;
vertical-align: middle;
}
.header_buttons {
display: inline-block;
margin-top: 16px;
}
span.btn_profile_name {
display: block;

View File

@@ -3,7 +3,6 @@ function SendLoginForm(el){
event.preventDefault()
let form = el.form;
let formData = new FormData(form);
let addMarginHeader = document.getElementsByClassName("header-first")
@@ -21,7 +20,7 @@ function SendLoginForm(el){
location.href = '/profile'
// addMarginHeader

View File

@@ -89,18 +89,21 @@
{% endif %}
{% if not user.is_authenticated %}
<div class="header_buttons">
<a
class="registration_button"
href="{% url "registration_page" %}">
Регистрация
</a>
<a
class="registration_button"
href="{% url "registration_page" %}">
Регистрация
</a>
<a
class="enter_button"
href="{% url "login_profile" %}">
Войти
</a>
</div>
<a
class="enter_button"
href="{% url "login_profile" %}">
Войти
</a>
<div class="button_profile_header_mobile" onclick="show_header_list()">
<img src="/static/img/svg/userMobile.svg" alt="">