api-client

This commit is contained in:
2026-03-09 14:20:28 +05:00
parent 08df44734c
commit 2a492aaa7c
4 changed files with 253 additions and 513 deletions

View File

@@ -988,7 +988,34 @@
<!-- Уведомления -->
<div id="alert" class="alert"></div>
<!-- Модальное окно импорта задачи -->
<div class="modal" id="import-task-modal">
<div class="modal-content" style="max-width: 600px;">
<div class="modal-header">
<h3>Копирование задачи в локальную CRM</h3>
<span class="modal-close" onclick="closeImportModal()">&times;</span>
</div>
<div class="modal-body">
<p><strong>Задача:</strong> <span id="import-task-title"></span></p>
<p><strong>Описание:</strong> <span id="import-task-description"></span></p>
<div class="form-group">
<label for="import-due-date">Дата выполнения:</label>
<input type="datetime-local" id="import-due-date" class="form-control" required>
</div>
<div class="form-group">
<label>Выберите исполнителей (локальные пользователи):</label>
<div class="users-checklist" id="import-users-checklist" style="max-height: 200px; overflow-y: auto; border: 1px solid #ddd; padding: 10px;"></div>
</div>
<div class="modal-footer" style="margin-top: 20px;">
<button class="btn btn-secondary" onclick="closeImportModal()">Отмена</button>
<button class="btn btn-success" onclick="confirmImport()">✅ Импортировать</button>
</div>
</div>
</div>
</div>
<script src="client.js"></script>
</body>
</html>