-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LDBR 3.1: Исправить navbar, добавить аватар. (#35)
* LDBR-3.1: Добавить необходимый код для отображения авы * LDBR-3.1: Исправить печать ошибок в login view * LDBR-3.1: Переверстать navbar * --amend * LDBR-3.1: Добавить media свойство * LDBR-3.1: Исправить некорректное состояние не корректное обновление LoginName полсе логина, отправка actiona на обновление профиля после логина * LDBR-3.1: Вернуть SW * LDBR-3.1: Исправить замечания линтера * LDBR-3.1: Внести правки после ревью
- Loading branch information
Showing
17 changed files
with
198 additions
and
106 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,26 @@ | ||
<header id="header-main"> | ||
<div class="navbar__wrapper"> | ||
<div class="navbar"> | ||
<a href="/" draggable="false"> | ||
<img alt="Brrrello" src="/assets/logo.webp" class="navbar__logo" | ||
draggable="false"/> | ||
</a> | ||
<div class="navbar__links"> | ||
{{#if isAuthorized}} | ||
<div class="navbar__link-wrapper"><a href="/boards" class="navbar__link">Доски</a></div> | ||
<a href="/profile" class="avatar-wrapper"> | ||
<img id="navbarAvatarId" class="avatar" | ||
src="{{avatar}}" | ||
alt="{{userName}}"> | ||
<span id="navbarUserNameId">{{userName}}</span> | ||
</a> | ||
|
||
<div class ="navbar__wrapper"> | ||
<div class="navbar"> | ||
<div class="navbar__header"> | ||
<div class="navbar__title"> | ||
<a href="/" draggable="false"><img alt="Brrrello" src="/assets/logo.webp" class="navbar__logo" draggable="false"/></a> | ||
<div class="navbar__link-wrapper"><a id="logout" class="navbar__link">Выход</a></div> | ||
{{else}} | ||
<div class="navbar__link-wrapper"><a href="/login" class="navbar__link">Войти</a></div> | ||
<div class="navbar__link-wrapper"><a href="/register" class="navbar__link">Зарегистрироваться</a></div> | ||
{{/if}} | ||
</div> | ||
</div> | ||
|
||
<div class="navbar__links"> | ||
{{#if isAuthorized}} | ||
<a href="/boards" class="navbar__link">Доски</a> | ||
<a href="/profile" class="navbar__link">Профиль</a> | ||
<a id="logout" class="navbar__link">Выход</a> | ||
{{else}} | ||
<a href="/login" class="navbar__link">Войти</a> | ||
<a href="/register" class="navbar__link">Зарегистрироваться</a> | ||
{{/if}} | ||
</div> | ||
</div> | ||
</div> | ||
|
||
</header> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.