diff --git a/static/css/styles.css b/static/css/styles.css index 384c4fa..514dd0b 100644 --- a/static/css/styles.css +++ b/static/css/styles.css @@ -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; diff --git a/static/js/authorization.js b/static/js/authorization.js index 58f1332..be6f8c9 100644 --- a/static/js/authorization.js +++ b/static/js/authorization.js @@ -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 + diff --git a/templates/blocks/b_header.html b/templates/blocks/b_header.html index ef16021..3a0b22b 100644 --- a/templates/blocks/b_header.html +++ b/templates/blocks/b_header.html @@ -89,18 +89,21 @@ {% endif %} {% if not user.is_authenticated %} +
- - Войти -