2024-06-17 18:57:08 +07:00

55 lines
1.6 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>В работе</title>
</head>
<body style="font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;">
{% for c in call %}
<h3>{{ c.client }}</h3>
<table style="width: 500px; border: 1px; border-radius: 5px;">
<tr>
<td>Направление:</td>
<td> {{ c.direction }}</td>
</tr>
<tr>
<td>Продолжительность:</td>
<td> {{ c.answered_duration }}</td>
</tr>
<tr>
<td>Время события:</td>
<td>{{ c.time }}</td>
</tr>
<tr>
<td>Вызываемый номер:</td>
<td>{{ c.mkt_phone }}</td>
</tr>
</table>
<form action="/api/v1/work/" method="post">
<fieldset style="width: 500px;">
<legend>Результат</legend>
<div>
<input type="radio" name="recall" value="true" />
<label for="true">Дозвонились</label>
</div>
<div>
<input type="radio" name="recall" value="false" checked />
<label for="false">Не дозвонились</label>
</div>
<input type="hidden" name="uuid" value="{{ c.uuid }}" />
<p>
<div>
<input type="submit" value="Принять">
</div>
</fieldset>
</form>
{% endfor %}
</body>
</html>