This commit is contained in:
filimonov
2024-05-21 18:03:49 +07:00
parent 4f85cd81de
commit e03a34c47a
28 changed files with 1344 additions and 322 deletions

View File

@@ -49,7 +49,7 @@
a {
font-size: large;
font-family: Verdana, Geneva, Tahoma, sans-serif;
color: chocolate;
color: #7A1E99;
padding-right: 50px;
}
@@ -61,22 +61,27 @@
form {
height: 40px;
}
.inl {
display: inline;
}
.inl-active {
display: inline;
background-color: #FFD300;
}
</style>
<body>
<div>
<a href="/answer">Входящий вызов принят</a>
<a href="/notanswer">Входящий вызов не принят</a>
<a href="/truerecall">Перезвонили успешно</a>
<a href="/falserecall">Перезвонили безуспешно</a>
<div class="inl"><a href="/answer">Входящий вызов принят</a></div>
<div class="inl-active"><a href="/notanswer">Входящий вызов не принят</a></div>
<div class="inl"><a href="/truerecall">Перезвонили успешно</a></div>
<div class="inl"><a href="/falserecall">Перезвонили безуспешно</a></div>
</div>
<div>
<!-- <form name="search" action="/web/call/find/" method="get" class="search">
<label class="search_label">Поиск</label>
<input class="search_text" type="text" name="client">
<input class="search_btn" type="submit" title="Найти">
</form> -->
</div>
@@ -86,7 +91,7 @@
<th>Номер клиента</th>
<th>Дата и время</th>
<th>Продолжительность</th>
<!-- <th>Смена статуса</th> -->
<th>Действие</th>
</tr>
</thead>
<tbody>
@@ -95,28 +100,27 @@
{% if c.mkt_phone == "83912051045": %}
<td>
<font color="#C30000">{{ "%s %s %s %s"|format(c.client[0:1], c.client[1:4], c.client[4:7],
c.client[7:11]) }}</font>
<font color="#C30000">
<a href="/work/{{ c.uuid }}">
{{ "%s %s %s %s"|format(c.client[0:1], c.client[1:4], c.client[4:7], c.client[7:11]) }}
</a>
</font>
</td>
{% else %}
<td>{{ "%s %s %s %s"|format(c.client[0:1], c.client[1:4], c.client[4:7], c.client[7:11]) }}</td>
<td>
<a href="/work/{{ c.uuid }}">
{{ "%s %s %s %s" |format(c.client[0:1], c.client[1:4], c.client[4:7], c.client[7:11]) }}
</a>
</td>
{% endif %}
<td>{{ c.time }} {{ c.important }}</td>
<td>{{ c.answered_duration // 60 }}:{{ "{:02}".format(c.answered_duration % 60) }}</td>
<!-- <td>
<form action="/api/v1/call/set/" method="post" style="border: 0;">
<input type="hidden" name="uuid" value="{{ c._id }}" />
<input type="hidden" name="res" value="truerecall" />
<input type="submit" value="Дозвонились" style="background-color: chartreuse;" />
<td>
<form action="/api/v1/blacklist/add/{{ c.client }}" method="post" style="border: 0;" />
<input type="submit" value="В черный список" style="background-color: dimgray; color: #fff;" />
</form>
<form action="/api/v1/call/set/" method="post">
<input type="hidden" name="uuid" value="{{ c._id }}" />
<input type="hidden" name="res" value="falserecall" />
<input type="submit" value="Не дозвонились" style="background-color: #FFAAAA;" />
</form>
</td> -->
</td>
</tr>
{% endfor %}
</tbody>