0.0.202
This commit is contained in:
@@ -627,6 +627,10 @@ header .header-second {
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
.header_buttons {
|
||||||
|
display: inline-block;
|
||||||
|
margin-top: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
span.btn_profile_name {
|
span.btn_profile_name {
|
||||||
display: block;
|
display: block;
|
||||||
|
|||||||
@@ -3,7 +3,6 @@ function SendLoginForm(el){
|
|||||||
event.preventDefault()
|
event.preventDefault()
|
||||||
let form = el.form;
|
let form = el.form;
|
||||||
let formData = new FormData(form);
|
let formData = new FormData(form);
|
||||||
let addMarginHeader = document.getElementsByClassName("header-first")
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -21,7 +20,7 @@ function SendLoginForm(el){
|
|||||||
|
|
||||||
location.href = '/profile'
|
location.href = '/profile'
|
||||||
|
|
||||||
// addMarginHeader
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -89,18 +89,21 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if not user.is_authenticated %}
|
{% if not user.is_authenticated %}
|
||||||
|
<div class="header_buttons">
|
||||||
|
<a
|
||||||
|
class="registration_button"
|
||||||
|
href="{% url "registration_page" %}">
|
||||||
|
Регистрация
|
||||||
|
</a>
|
||||||
|
|
||||||
<a
|
<a
|
||||||
class="registration_button"
|
class="enter_button"
|
||||||
href="{% url "registration_page" %}">
|
href="{% url "login_profile" %}">
|
||||||
Регистрация
|
Войти
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
<a
|
|
||||||
class="enter_button"
|
|
||||||
href="{% url "login_profile" %}">
|
|
||||||
Войти
|
|
||||||
</a>
|
|
||||||
|
|
||||||
<div class="button_profile_header_mobile" onclick="show_header_list()">
|
<div class="button_profile_header_mobile" onclick="show_header_list()">
|
||||||
<img src="/static/img/svg/userMobile.svg" alt="">
|
<img src="/static/img/svg/userMobile.svg" alt="">
|
||||||
|
|||||||
Reference in New Issue
Block a user