0.0.14
This commit is contained in:
@@ -131,10 +131,12 @@
|
|||||||
|
|
||||||
.el-form-create-ticket-textarea{
|
.el-form-create-ticket-textarea{
|
||||||
min-height: 200px;
|
min-height: 200px;
|
||||||
min-width: calc(100% - 40px);
|
/*min-width: calc(80% - 40px);*/
|
||||||
max-width: calc(100% - 40px);
|
/*max-width: calc(80% - 40px);*/
|
||||||
resize: none;
|
resize: none;
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
|
width: 80%;
|
||||||
|
float: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.container-input-form-create-ticket{
|
.container-input-form-create-ticket{
|
||||||
@@ -146,6 +148,22 @@
|
|||||||
outline: none;
|
outline: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.letrs-count{
|
||||||
|
color: #27242499;
|
||||||
|
/*position: relative;*/
|
||||||
|
/*top: 39px;*/
|
||||||
|
/*left: 93%;*/
|
||||||
|
height: calc(100% - 20px);
|
||||||
|
width: calc(20% - 60px);
|
||||||
|
padding-top: 20px;
|
||||||
|
padding-right: 20px;
|
||||||
|
min-height: 220px;
|
||||||
|
float: right;
|
||||||
|
background: #FFFFFF;
|
||||||
|
text-align: right;
|
||||||
|
/*display: inline-block;*/
|
||||||
|
}
|
||||||
|
|
||||||
.create-ticket-btn{
|
.create-ticket-btn{
|
||||||
width: 200px;
|
width: 200px;
|
||||||
height: 60px;
|
height: 60px;
|
||||||
@@ -374,20 +392,31 @@
|
|||||||
/*tab_user*/
|
/*tab_user*/
|
||||||
|
|
||||||
.tab_user_messanger{
|
.tab_user_messanger{
|
||||||
width: calc(100% - 40px);
|
width: calc(100% - 60px);
|
||||||
margin: auto;
|
margin: auto;
|
||||||
height: 75px;
|
height: 55px;
|
||||||
|
padding: 10px;
|
||||||
|
transition: all ease-in-out 200ms;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tab_user_messanger.select{
|
||||||
|
border-radius: 10px;
|
||||||
|
border: 1px solid #E6E6E6;
|
||||||
|
background: #FFF;
|
||||||
|
filter: drop-shadow(-1px 4px 10px rgba(198, 199, 203, 0.20)) drop-shadow(0px -1px 10px rgba(198, 199, 203, 0.20));
|
||||||
}
|
}
|
||||||
|
|
||||||
.left-part-tab-user{
|
.left-part-tab-user{
|
||||||
width: 10%;
|
width: 20%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
float: left;
|
float: left;
|
||||||
|
padding-top: 4%;
|
||||||
}
|
}
|
||||||
.center-part-tab-user{
|
.center-part-tab-user{
|
||||||
width: 70%;
|
width: 60%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
padding-top: 5%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.right-part-tab-user{
|
.right-part-tab-user{
|
||||||
|
|||||||
@@ -125,3 +125,7 @@ function createTicket (el) {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function selectedUserMessenger (el){
|
||||||
|
el.classList.toggle("select")
|
||||||
|
}
|
||||||
@@ -26,14 +26,17 @@
|
|||||||
{% if form.errors.name %}<div class="errors">{{ form.errors.name }}</div>{% endif %}
|
{% if form.errors.name %}<div class="errors">{{ form.errors.name }}</div>{% endif %}
|
||||||
</div>
|
</div>
|
||||||
<div class="container-input-form-create-ticket">
|
<div class="container-input-form-create-ticket">
|
||||||
<div class="letrs-count" style="color: #27242499;position: relative;top: 39px;left: 760px;display: inline-block;"><span class="letrs-count-span">0</span><span>/500</span></div>
|
<div style="width: 100%;min-height: 240px;">
|
||||||
<textarea name="text"
|
<textarea name="text"
|
||||||
id="id_text"
|
id="id_text"
|
||||||
class="el-form-create-ticket-textarea"
|
class="el-form-create-ticket-textarea"
|
||||||
placeholder="Введите сообщение..."
|
placeholder="Введите сообщение..."
|
||||||
value="{% if form.adding_machine.text %}{{ form.initial.text }}{% endif %}"
|
value="{% if form.adding_machine.text %}{{ form.initial.text }}{% endif %}"
|
||||||
onkeyup="countLetters()"></textarea>
|
onkeyup="countLetters()"></textarea>
|
||||||
{% if form.errors.text %}<div class="errors">{{ form.errors.text }}</div>{% endif %}
|
{% if form.errors.text %}<div class="errors">{{ form.errors.text }}</div>{% endif %}
|
||||||
|
<div class="letrs-count"><span class="letrs-count-span">0</span><span>/500</span></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="form-create-tickets-btns">
|
<div class="form-create-tickets-btns">
|
||||||
<button class="create-ticket-btn" onclick="createTicket(this)">Создать тикет</button>
|
<button class="create-ticket-btn" onclick="createTicket(this)">Создать тикет</button>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{% load static %}
|
{% load static %}
|
||||||
<div class="tab_user_messanger">
|
<div class="tab_user_messanger" onclick="selectedUserMessenger(this)">
|
||||||
<div class="left-part-tab-user">
|
<div class="left-part-tab-user">
|
||||||
<img class="user_avatar_messenger" src="{% static "delete_later/Avatar.png" %}">
|
<img class="user_avatar_messenger" src="{% static "delete_later/Avatar.png" %}">
|
||||||
<div class="status_user">
|
<div class="status_user">
|
||||||
|
|||||||
Reference in New Issue
Block a user