Изменил страницу профиля: убрал головной блок
This commit is contained in:
parent
c56e0a196e
commit
a346474a89
@ -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;
|
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 {
|
.profile_block {
|
||||||
height: 57vw;
|
margin-top: 5vw;
|
||||||
|
height: 65vw;
|
||||||
width: 85%;
|
width: 85%;
|
||||||
margin-left: 7.5%;
|
margin-left: 7.5%;
|
||||||
margin-bottom: 6%;
|
margin-bottom: 6%;
|
||||||
@ -99,12 +100,12 @@ form {
|
|||||||
padding-left: 15px;
|
padding-left: 15px;
|
||||||
}
|
}
|
||||||
#logout_button {
|
#logout_button {
|
||||||
color: #000000;
|
color: #ffffff;
|
||||||
background-color:#f5d3b8;
|
background-color:#ff3f3f;
|
||||||
}
|
}
|
||||||
#logout_button:hover {
|
#logout_button:hover {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: #000000;
|
color: #ffffff;
|
||||||
}
|
}
|
||||||
.profile_button_text {
|
.profile_button_text {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|||||||
@ -1,24 +1,7 @@
|
|||||||
<link rel="stylesheet" href="../static/css/profile.css"/>
|
<link rel="stylesheet" href="../static/css/profile.css"/>
|
||||||
{% extends "base.html" %} {% block content %}
|
{% extends "base.html" %} {% block content %}
|
||||||
<div class="profile_page">
|
<div class="profile_page">
|
||||||
<div class="open_button_block">
|
<div class="profile_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="header_profile">
|
<div class="header_profile">
|
||||||
<img class="user_photo" src="../{{current_user.photo}}"/>
|
<img class="user_photo" src="../{{current_user.photo}}"/>
|
||||||
</div>
|
</div>
|
||||||
@ -94,6 +77,11 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="form_data_button">
|
<div class="form_data_button">
|
||||||
{{ form.submit(type="submit", class="profile_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>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -1,6 +1,8 @@
|
|||||||
<link rel="stylesheet" href="../static/css/showcase.css"/>
|
<link rel="stylesheet" href="../static/css/showcase.css"/>
|
||||||
{% extends "base.html" %} {% block content %}
|
{% extends "base.html" %} {% block content %}
|
||||||
<div class="showscale_page">
|
<div class="showscale_page">
|
||||||
s
|
<div class="header">
|
||||||
|
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
Loading…
x
Reference in New Issue
Block a user