update 0
This commit is contained in:
55
web-dev/templates/work.html
Normal file
55
web-dev/templates/work.html
Normal file
@@ -0,0 +1,55 @@
|
||||
<!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>
|
||||
Reference in New Issue
Block a user