0.8.387
This commit is contained in:
@@ -750,7 +750,7 @@ function open_curtain (left=null,right=null,overlay=null,close=null){
|
|||||||
container_curtain.classList.remove("open")
|
container_curtain.classList.remove("open")
|
||||||
container_curtain.classList.add("close")
|
container_curtain.classList.add("close")
|
||||||
}
|
}
|
||||||
} else {
|
} else if (curtain) {
|
||||||
|
|
||||||
if (curtain.classList.contains('first')){
|
if (curtain.classList.contains('first')){
|
||||||
turnOffFirst(curtain)
|
turnOffFirst(curtain)
|
||||||
@@ -815,7 +815,14 @@ function curtainMove (curtain,container_curtain,curtain_name,body){
|
|||||||
// handler_text.innerHTML = 'Закрыть'
|
// handler_text.innerHTML = 'Закрыть'
|
||||||
// handler_text.style.fontSize = '13px'
|
// handler_text.style.fontSize = '13px'
|
||||||
// } else {
|
// } else {
|
||||||
handler_text.innerHTML = curtain_name
|
let name = ''
|
||||||
|
if (curtain_name){
|
||||||
|
name = curtain_name
|
||||||
|
} else {
|
||||||
|
name = curtain.dataset['name']
|
||||||
|
}
|
||||||
|
|
||||||
|
handler_text.innerHTML = name
|
||||||
handler_text.style.fontSize = '13px'
|
handler_text.style.fontSize = '13px'
|
||||||
// }
|
// }
|
||||||
|
|
||||||
|
|||||||
@@ -58,11 +58,11 @@
|
|||||||
|
|
||||||
{% include 'blocks/b_header.html' %}
|
{% include 'blocks/b_header.html' %}
|
||||||
|
|
||||||
<div class="cut_width_f_curtain close{% if page_type == 'profile' %}{% else %} n_profile{% endif %}" onclick="open_curtain()">
|
<div class="cut_width_f_curtain close{% if page_type == 'profile' %}{% else %} n_profile{% endif %}" onclick="open_curtain(null,'right')">
|
||||||
<div class="menu_buttons curtain right {% if page_type == 'profile' %}open{% else %} n_profile close{% endif %}" data-name="<img style='width: 25px;display: block;position: relative;bottom: 2px;transform: rotate(270deg);' src='{% static "/img/svg/burger.svg" %}'>">
|
<div class="menu_buttons curtain right {% if page_type == 'profile' %}open{% else %} n_profile close{% endif %}" data-name="<img style='width: 25px;display: block;position: relative;bottom: 2px;transform: rotate(270deg);' src='{% static "/img/svg/burger.svg" %}'>">
|
||||||
|
|
||||||
{% include "blocks/profile/b_buttons_menu_profile.html" %}
|
{% include "blocks/profile/b_buttons_menu_profile.html" %}
|
||||||
<div class="handler_menu close" onclick="open_curtain(null,'right')">
|
<div class="handler_menu close">
|
||||||
<img class="btns_f_curtain close left" src="{% static 'img/svg/arrow_f_curtain.svg' %}">
|
<img class="btns_f_curtain close left" src="{% static 'img/svg/arrow_f_curtain.svg' %}">
|
||||||
<div class="text_f_curtain left"><img style='width: 25px;display: block;position: relative;bottom: 2px;transform: rotate(270deg);' src='{% static "/img/svg/burger.svg" %}'></div>
|
<div class="text_f_curtain left"><img style='width: 25px;display: block;position: relative;bottom: 2px;transform: rotate(270deg);' src='{% static "/img/svg/burger.svg" %}'></div>
|
||||||
<img class="btns_f_curtain close right" src="{% static 'img/svg/arrow_f_curtain.svg' %}">
|
<img class="btns_f_curtain close right" src="{% static 'img/svg/arrow_f_curtain.svg' %}">
|
||||||
|
|||||||
Reference in New Issue
Block a user