-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoperator.html
26 lines (21 loc) · 994 Bytes
/
operator.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{% extends 'base.html' %}
{% block content %}
<script>
window.appConfig = {
operator: {{ operator | tojson }},
operations: {{ operations | tojson }}
};
</script>
<p id="operator"> {{operator.operations}}</p>
<select id="user-select">
<option value="">Выберите пользователя</option>
<!-- ... (не изменяем) ... -->
</select>
<p id="queue" style="display: none;">Я работаю с: <span id="current-task"></span></p>
<div id="table_container">
<table id="operator-table" style="margin-bottom: 2vh; margin-top: 2vh;"></table>
</div>
<button id="assign-cabinet">Начать приём</button>
<script src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/4.0.1/socket.io.js" integrity="sha512-q/dWJ3kcmjBLU4Qc47E4A9kTB4m3wuTY7vkFJDTZKjTs8jhyGQnaUrxa0Ytd0ssMZhbNua9hE+E7Qv1j+DyZwA==" crossorigin="anonymous"></script>
<script type="module" src="{{url_for('static', filename='operator.js')}}"></script>
{% endblock %}