r
This commit is contained in:
@@ -7,7 +7,6 @@
|
||||
<link rel="stylesheet" href="style.css">
|
||||
</head>
|
||||
<body>
|
||||
<!-- Форма логина -->
|
||||
<div id="login-modal" class="modal">
|
||||
<div class="modal-content">
|
||||
<h2>Вход в School CRM</h2>
|
||||
@@ -46,8 +45,7 @@
|
||||
</header>
|
||||
|
||||
<main>
|
||||
<!-- Секция списка задач -->
|
||||
<section id="tasks-section" class="section">
|
||||
<section id="tasks-section" class="section">
|
||||
<h2>Все задачи</h2>
|
||||
<div id="tasks-controls">
|
||||
<div class="filters">
|
||||
@@ -68,8 +66,27 @@
|
||||
<option value="closed">Закрыта</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="filter-group">
|
||||
<label for="creator-filter">Заказчик:</label>
|
||||
<select id="creator-filter" onchange="loadTasks()">
|
||||
<option value="">Все заказчики</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="filter-group">
|
||||
<label for="assignee-filter">Исполнитель:</label>
|
||||
<select id="assignee-filter" onchange="loadTasks()">
|
||||
<option value="">Все исполнители</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="filter-group">
|
||||
<label for="deadline-filter">Срок выполнения:</label>
|
||||
<select id="deadline-filter" onchange="loadTasks()">
|
||||
<option value="">Все сроки</option>
|
||||
<option value="48h">Менее 48 часов</option>
|
||||
<option value="24h">Менее 24 часов</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Чекбокс удаленных задач - только для администраторов -->
|
||||
<label class="show-deleted-label" style="display: none;">
|
||||
<input type="checkbox" id="show-deleted" onchange="loadTasks()">
|
||||
Показать удаленные задачи
|
||||
@@ -78,7 +95,6 @@
|
||||
<div id="tasks-list"></div>
|
||||
</section>
|
||||
|
||||
<!-- Секция создания задачи -->
|
||||
<section id="create-task-section" class="section">
|
||||
<h2>Создать новую задачу</h2>
|
||||
<form id="create-task-form" enctype="multipart/form-data">
|
||||
@@ -93,13 +109,8 @@
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="start-date">Дата и время начала (необязательно):</label>
|
||||
<input type="datetime-local" id="start-date" name="startDate">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="due-date">Дата и время выполнения (необязательно):</label>
|
||||
<input type="datetime-local" id="due-date" name="dueDate">
|
||||
<label for="due-date">Дата и время выполнения:</label>
|
||||
<input type="datetime-local" id="due-date" name="dueDate" required>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
@@ -120,7 +131,6 @@
|
||||
</form>
|
||||
</section>
|
||||
|
||||
<!-- Секция логов -->
|
||||
<section id="logs-section" class="section">
|
||||
<h2>Лог активности</h2>
|
||||
<div id="logs-list"></div>
|
||||
@@ -128,7 +138,6 @@
|
||||
</main>
|
||||
</div>
|
||||
|
||||
<!-- Модальное окно для редактирования задачи -->
|
||||
<div id="edit-task-modal" class="modal">
|
||||
<div class="modal-content">
|
||||
<span class="close" onclick="closeEditModal()">×</span>
|
||||
@@ -145,14 +154,9 @@
|
||||
<textarea id="edit-description" name="description" rows="4"></textarea>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="edit-start-date">Дата и время начала:</label>
|
||||
<input type="datetime-local" id="edit-start-date" name="startDate">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="edit-due-date">Дата и время выполнения:</label>
|
||||
<input type="datetime-local" id="edit-due-date" name="dueDate">
|
||||
<input type="datetime-local" id="edit-due-date" name="dueDate" required>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
@@ -174,7 +178,6 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Модальное окно для копирования задачи -->
|
||||
<div id="copy-task-modal" class="modal">
|
||||
<div class="modal-content">
|
||||
<span class="close" onclick="closeCopyModal()">×</span>
|
||||
@@ -182,14 +185,9 @@
|
||||
<form id="copy-task-form">
|
||||
<input type="hidden" id="copy-task-id">
|
||||
|
||||
<div class="form-group">
|
||||
<label for="copy-start-date">Дата и время начала для копии:</label>
|
||||
<input type="datetime-local" id="copy-start-date" name="startDate">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="copy-due-date">Дата и время выполнения для копии:</label>
|
||||
<input type="datetime-local" id="copy-due-date" name="dueDate">
|
||||
<input type="datetime-local" id="copy-due-date" name="dueDate" required>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
@@ -204,7 +202,6 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Модальное окно для редактирования сроков исполнителя -->
|
||||
<div id="edit-assignment-modal" class="modal">
|
||||
<div class="modal-content">
|
||||
<span class="close" onclick="closeEditAssignmentModal()">×</span>
|
||||
@@ -212,20 +209,15 @@
|
||||
<form id="edit-assignment-form">
|
||||
<input type="hidden" id="edit-assignment-task-id">
|
||||
<input type="hidden" id="edit-assignment-user-id">
|
||||
<div class="form-group">
|
||||
<label for="edit-assignment-start-date">Дата и время начала:</label>
|
||||
<input type="datetime-local" id="edit-assignment-start-date" name="startDate">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="edit-assignment-due-date">Дата и время выполнения:</label>
|
||||
<input type="datetime-local" id="edit-assignment-due-date" name="dueDate">
|
||||
<input type="datetime-local" id="edit-assignment-due-date" name="dueDate" required>
|
||||
</div>
|
||||
<button type="submit">Сохранить сроки</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Модальное окно для возврата на доработку -->
|
||||
<div id="rework-task-modal" class="modal">
|
||||
<div class="modal-content">
|
||||
<span class="close" onclick="closeReworkModal()">×</span>
|
||||
|
||||
Reference in New Issue
Block a user