Skip to content

Commit

Permalink
fix profile
Browse files Browse the repository at this point in the history
  • Loading branch information
ngoyen05 committed Dec 24, 2024
1 parent 2c00da8 commit 3e6f766
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/main/resources/templates/profile/profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@ <h1>Профиль</h1>
<div class="profile-info">
<div class="profile-photo-container">
<img th:src="${user.photo}" alt="Фото пользователя" class="profile-photo" id="profile-photo">
<!-- <input type="file" id="upload-photo" accept="image/*" style="display: none;">
<button id="change-photo-button">Изменить фото</button> -->
<button id="change-photo-button">Изменить фото</button>
<input type="text" id="photo-url-input" placeholder="Введите ссылку на фото" style="display: none;">
<button id="save-photo-button" style="display: none;">Сохранить фото</button>
<button id="cancel-photo-button" style="display: none;">Отмена</button>
</div>
<div class="user-details">
<!-- Поля для отображения имени и email -->
Expand Down

0 comments on commit 3e6f766

Please sign in to comment.