Вход Регистрация
Файл: upload/core/templates/default/pages/messages/download-history.html
Строк: 103
<?php
<!DOCTYPE html>
<
html lang="ru">
<
head>
    <
meta charset="utf-8">
    <
title>Переписка {{ userA }} и {{ userB }}</title>

    <
style>        
        
htmlbody {
            
min-heightcalc(100vh) !important;
        }
        
body {
            
padding0;
            
margin0;
            
font-familyarial;
            
font-size15px;
            
background#f3f5f7;
            
color#4d666d;
            
displayflex;
            
flex-directioncolumn;
            
justify-contentspace-between;
        }
        .
home_us.tematic {
            
margin-bottom20px;
            
flex1 1;
            
width: -webkit-fill-available;
        }
        
        .
home_us.tematic.profile {
            
max-width1192px;
            
displayflex;
            
flex-directioncolumn;
            
gap0;
            
flex1 1;
            
height100%;
            
margin0 auto;
            
justify-contentcenter;
            
overflowhidden;
        }
        .
messages_block-home displayblockmax-heightautomin-heightauto; }
        
#messages-history #chat {
            
padding20px;
            
displayflex;
            
flex-directioncolumn;
            
width: -webkit-fill-available;
            
overflow-yauto;
            
gap15px;
            
background#fff;
            
border1px solid #e6e6e6;
            
border-radius0 0 10px 10px;
            
max-height639px;
        }
        .
messages_block-home, .chat-list open, .chat_orez {
            
displayflex;
            
heightcalc(100vh 200px) !important;
            
overflowhidden;
            
border-radius10px;
            
overflowhidden;
        }
        .
message_block_home box-shadow3px 4px 5px 0px #879baf21; }
        
.messages-history border-radius10px; }
        .
groups_flex {
            
displayflexjustify-contentspace-aroundcolor#616161;
            
background#fff; border-radius: 10px 10px 0 0;
            
border1px solid #e6e6e6; border-bottom: 0; align-items: center;
        
}
        .
group-left, .group-right {
            
width: -webkit-fill-availabletext-aligncenterheight40px;
            
displayflexalign-itemscenterjustify-contentcenter;
        }
        .
group-left border-right1px solid #e6e6e6; }
        
.my-message, .other-message {
            
displayflex;
            
flex-directioncolumn;
        }
        .
my-message {
            
align-itemsflex-end;
        }
        .
other-message {
            
align-itemsflex-start;
        }
        .
my-message .mes, .other-message .mes {
            
padding:  5px 10px;
            
border-radius10px;
        }
        .
my-message .mes {
            
background#63bf9a;
            
color#fff;
            
displayflex;
            
flex-directioncolumn;
            
align-itemsflex-end;
            
gap5px;
        }
        .
other-message .mes {
            
background#cdd6df;
            
displayflex;
            
flex-directioncolumn;
            
align-itemsflex-start;
            
gap5px;
        }
        .
text_message {
            
white-spacepre-line;
            
line-height1.5;
        }
        .
avatar-users-message img {
            
width30px;
            
height30px;
            
object-fitcover;
            
border-radius100px
        
}
        .
cit {
            
background#ffffff4d;
            
padding10px;
            
margin-top5px;
            
border-radius5px;
        }
        .
other-message .mes .cit background#d5dee7; }
        
.my-message .mes .cit {
            
background#72cda8;
            
color#fff;
        
}
        .
my-message .box-message-users .nick-message-users-box .nick-message-users {
            
displayflex;
            
flex-directionrow-reverse;
            
font-size13px;
            
margin-right3px;
        }
        .
other-message .box-message-users .nick-message-users-box .nick-message-users {
            
displayflex;
            
flex-directionrow;
            
font-size13px;
            
margin-left3px;
        }
        .
avatar-users-message img {
            
width30px;
            
height30px;
            
object-fitcover;
            
border-radius100px
        
}
        .
my-message .box-message-users  {
            
displayflex;
            
flex-directionrow-reverse;
            
gap5px;
        }
        .
other-message .box-message-users {
            
displayflex;
            
flex-directionrow;
            
gap5px;
        }
        .
nick-message-users-box {
            
displayflex;
            
flex-directioncolumn;
            
gap5px;
        }
        .
mes .time_mes font-size13px; }
        ::-
webkit-scrollbar width7px; }
        ::-
webkit-scrollbar-thumb background#c6c6c6; }
        
::-webkit-scrollbar-thumb:hover background#9e9e9e; }
        
::-webkit-scrollbar-track backgroundnone; }
        ::-
webkit-scrollbar-track:hover backgroundnone; }
    </
style>
</
head>

<
body>
<
div class="home_us tematic profile mes">
<
div class="messages_block-home">
<
div id="messages-history" style="width: -webkit-fill-available;">

    <
div class="groups_flex">
        <
div class="group-left">Исполнитель</div>
        <
div class="group-right">Заказчик</div>
    </
div>

    <
div id="chat">

        {% for 
m in messages %}
            <
div class="{{ m.class }}">
                <
span class="box-message-users">

                    <
div class="avatar-users-message">
                        <
img class="avatar" src="{{ m.avatar }}">
                    </
div>

                    <
div class="nick-message-users-box">
                        <
span class="nick-message-users">{{ m.nick }}</span>

                        <
span class="mes">
                            {{ 
m.text|raw }}
                            <
span class="time_mes">{{ m.time }}</span>
                        </
span>
                    </
div>

                </
span>
            </
div>
        {% endfor %}

    </
div>

</
div>
</
div>
</
div>
</
body>
</
html>
?>
Онлайн: 1
Реклама