Изменил страницу профиля: убрал головной блок

This commit is contained in:
Andrei 2023-03-04 09:06:15 +05:00
parent c56e0a196e
commit a346474a89
3 changed files with 14 additions and 23 deletions

View File

@ -6,7 +6,8 @@
background: linear-gradient( rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8) ), url(../images/back_profile_one.jpg);background-repeat: repeat; background-position: center;
}
.profile_block {
height: 57vw;
margin-top: 5vw;
height: 65vw;
width: 85%;
margin-left: 7.5%;
margin-bottom: 6%;
@ -99,12 +100,12 @@ form {
padding-left: 15px;
}
#logout_button {
color: #000000;
background-color:#f5d3b8;
color: #ffffff;
background-color:#ff3f3f;
}
#logout_button:hover {
text-decoration: none;
color: #000000;
color: #ffffff;
}
.profile_button_text {
width: 100%;

View File

@ -1,24 +1,7 @@
<link rel="stylesheet" href="../static/css/profile.css"/>
{% extends "base.html" %} {% block content %}
<div class="profile_page">
<div class="open_button_block">
<div class="open_button_content">
<h2 class="open_button_title">Профиль</h2>
<p class="open_button_article">Здесь можно поменять настройки учетной записи</p>
<a class="open_button" data-bs-toggle="collapse" href="#collapseExample" role="button" aria-expanded="false"
aria-controls="collapseExample">
<div class="open_button_text">
Редактировать
</div>
</a>
<a class="profile_button" id="logout_button" href="/logout">
<div class="profile_button_text">
<p>Выйти</p>
</div>
</a>
</div>
</div>
<div class="profile_block collapse" id="collapseExample">
<div class="profile_block">
<div class="header_profile">
<img class="user_photo" src="../{{current_user.photo}}"/>
</div>
@ -94,6 +77,11 @@
</div>
<div class="form_data_button">
{{ form.submit(type="submit", class="profile_button") }}
<a class="profile_button" id="logout_button" href="/logout">
<div class="profile_button_text">
<p>Выйти</p>
</div>
</a>
</div>
</form>
</div>

View File

@ -1,6 +1,8 @@
<link rel="stylesheet" href="../static/css/showcase.css"/>
{% extends "base.html" %} {% block content %}
<div class="showscale_page">
s
<div class="header">
</div>
</div>
{% endblock %}