0.0.202
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -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="">
|
||||
|
||||
Reference in New Issue
Block a user