Merge remote-tracking branch 'origin/main'
This commit is contained in:
@@ -1,26 +1,37 @@
|
||||
{% load static %}
|
||||
<form class="form-create-ticket" name="create-ticket">
|
||||
|
||||
{% if errors.all__ %}<div class="errors_all" style="margin-bottom: 12px;width: 100%;font-size: 16px;">{{ errors.all__ }}</div>{% endif %}
|
||||
|
||||
{% csrf_token %}
|
||||
<select name="department"
|
||||
id="id_department"
|
||||
class="el-form-create-ticket">
|
||||
<option>Отдел: Техническая поддержка</option>
|
||||
</select>
|
||||
{% if form.errors.department %}<div class="errors">{{ form.errors.department }}</div>{% endif %}
|
||||
<input type="text"
|
||||
class="el-form-create-ticket"
|
||||
name="name"
|
||||
id="id_name"
|
||||
placeholder="Тема запроса"
|
||||
value="{% if form.adding_machine.name %}{{ form.adding_machine.name }}{% endif %}"
|
||||
>
|
||||
{% if form.errors.name %}<div class="errors">{{ form.errors.name }}</div>{% endif %}
|
||||
|
||||
<div class="letrs-count" style="color: #27242499;position: relative;top: 20px;left: 780px;display: inline-block;"><span class="letrs-count-span">0</span><span>/500</span></div>
|
||||
<textarea name="text"
|
||||
id="id_text"
|
||||
class="el-form-create-ticket-textarea"
|
||||
placeholder="Введите сообщение..."
|
||||
value="{% if form.adding_machine.text %}{{ form.adding_machine.text }}{% endif %}"
|
||||
onkeyup="countLetters()"></textarea>
|
||||
{% if form.errors.text %}<div class="errors">{{ form.errors.text }}</div>{% endif %}
|
||||
|
||||
<div class="form-create-tickets-btns">
|
||||
<button class="create-ticket-btn">Создать тикет</button>
|
||||
<button class="create-ticket-btn" onclick="createTicket()">Создать тикет</button>
|
||||
<button class="attach-file-btn" onclick="attachFileCreateTicket()"></button>
|
||||
<input class="create-ticket-file" type="file" value="">
|
||||
{# <input class="create-ticket-file" type="file" value="">#}
|
||||
|
||||
</div>
|
||||
</form>
|
||||
@@ -20,12 +20,12 @@
|
||||
{% include "widgets/w_message.html" %}
|
||||
</div>
|
||||
<div class="footer-chat">
|
||||
<div>
|
||||
|
||||
<div class="left-part-block-enter-message">
|
||||
<input class="enter-message-inp" placeholder="Отправить сообщение">
|
||||
</div>
|
||||
<div>
|
||||
<img>
|
||||
<button></button>
|
||||
<div class="right-part-block-enter-message">
|
||||
<button class="attach-file-btn-message" onclick="attachFilemeassge()"></button>
|
||||
<button class="send-message"></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -34,5 +34,6 @@
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
1
templates/blocks/profile/b_support_chat.html
Normal file
1
templates/blocks/profile/b_support_chat.html
Normal file
@@ -0,0 +1 @@
|
||||
{% load static %}
|
||||
Reference in New Issue
Block a user