0.8.395
This commit is contained in:
@@ -828,6 +828,9 @@
|
||||
width: 100%;
|
||||
height: 88vh;
|
||||
}
|
||||
.name_ticket{
|
||||
width: 100%;
|
||||
}
|
||||
.menu_buttons.curtain.left.close.chat{
|
||||
left: -338px;
|
||||
transition: 200ms;
|
||||
|
||||
@@ -733,16 +733,16 @@
|
||||
/*messenger with support*/
|
||||
|
||||
.name_ticket{
|
||||
width: 100%;
|
||||
width: 63%;
|
||||
filter: drop-shadow(-1px 4px 10px rgba(198, 199, 203, 0.20)) drop-shadow(0px -1px 10px rgba(198, 199, 203, 0.20));
|
||||
height: 40px;
|
||||
background: #FFFFFF;
|
||||
/*padding: 20px;*/
|
||||
/* padding: 20px; */
|
||||
margin-bottom: 5px;
|
||||
border-radius: 3px;
|
||||
float: right;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.name_ticket > span{
|
||||
padding: 10px;
|
||||
font-size: 16px;
|
||||
|
||||
@@ -487,14 +487,14 @@ function selectedUserMessenger (ticket_id=null,user_id=null,el){
|
||||
document.querySelector(".enter-message-inp").focus()
|
||||
|
||||
document.querySelector(".tab_user_messanger.select").scrollIntoView({behavior: "smooth",block:'nearest',inline:'nearest'});
|
||||
if (window.location.host.includes('support') && user_type !== 'mobile' && user_type !== 'laptop'){
|
||||
let menu = document.querySelector(".menu_buttons.curtain.left")
|
||||
let container_user_messenger = document.querySelector(".container-messenger")
|
||||
if (!container_user_messenger.classList.contains('margin') || !menu.classList.contains('margin')){
|
||||
container_user_messenger.classList.add('margin')
|
||||
menu.classList.add('margin')
|
||||
}
|
||||
}
|
||||
// if (window.location.host.includes('support') && user_type !== 'mobile' && user_type !== 'laptop'){
|
||||
// let menu = document.querySelector(".menu_buttons.curtain.left")
|
||||
// let container_user_messenger = document.querySelector(".container-messenger")
|
||||
// if (!container_user_messenger.classList.contains('margin') || !menu.classList.contains('margin')){
|
||||
// container_user_messenger.classList.add('margin')
|
||||
// menu.classList.add('margin')
|
||||
// }
|
||||
// }
|
||||
|
||||
|
||||
|
||||
@@ -677,7 +677,7 @@ function open_curtain_w_btn_profile () {
|
||||
last_open_curtain = curtain
|
||||
set_curtain_z_index(curtain)
|
||||
close_first_curt(curtain)
|
||||
delete_margin_in_mobile()
|
||||
// delete_margin_in_mobile()
|
||||
}
|
||||
|
||||
function open_curtain_w_contacts () {
|
||||
@@ -694,7 +694,7 @@ function open_curtain_w_contacts () {
|
||||
set_curtain_z_index(curtain)
|
||||
last_open_curtain = curtain
|
||||
close_first_curt(curtain)
|
||||
delete_margin_in_mobile()
|
||||
// delete_margin_in_mobile()
|
||||
}
|
||||
|
||||
function open_overlay (curtain) {
|
||||
@@ -724,12 +724,12 @@ function open_overlay (curtain) {
|
||||
|
||||
}
|
||||
|
||||
function delete_margin_in_mobile () {
|
||||
if (getInfoAboutUser() !== 'desctop'){
|
||||
let left_curtain = document.querySelector(".curtain.left")
|
||||
left_curtain.classList.remove('margin')
|
||||
}
|
||||
}
|
||||
// function delete__in_mobile () {
|
||||
// if (getInfoAboutUser() !== 'desctop'){
|
||||
// let left_curtain = document.querySelector(".curtain.left")
|
||||
// left_curtain.classList.remove('margin')
|
||||
// }
|
||||
// }margin
|
||||
|
||||
function toggle_cut_width_curtain (el) {
|
||||
let parent = el.parentNode
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
{# </div>#}
|
||||
<img class="loader_chat_f_sw_chats support" src="{% static "/img/svg/loader.svg" %}" alt="loader">
|
||||
{% if user.is_staff or staff %}
|
||||
<div class="menu_buttons curtain left {% if mobile %}{% if not ticket %}open{% else %}close{% endif %}{% else %}open margin{% endif %}{% if name.ticket %}margin{% endif %}" data-name="<img style='width: 25px;display: block;position: relative;bottom: 2px;' src='{% static "/img/svg/group.png" %}'>">
|
||||
<div class="menu_buttons curtain left {% if mobile %}{% if not ticket %}open{% else %}close{% endif %}{% else %}open{% endif %}{% if name.ticket %}margin{% endif %}" data-name="<img style='width: 25px;display: block;position: relative;bottom: 2px;' src='{% static "/img/svg/group.png" %}'>">
|
||||
<div class="container_block_list_of_users">
|
||||
{% include 'blocks/profile/b_list_of_tickets_support_chat.html' %}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user