init
This commit is contained in:
89
frontend/index.html
Normal file
89
frontend/index.html
Normal file
@@ -0,0 +1,89 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="ru">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>OzonGuard – подготовка жалоб</title>
|
||||
<link rel="stylesheet" href="css/styles.css" />
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap" rel="stylesheet" />
|
||||
</head>
|
||||
<body>
|
||||
<header class="header">
|
||||
<h1>OzonGuard</h1>
|
||||
<p>Быстро создавайте и отправляйте жалобы в поддержку Ozon</p>
|
||||
</header>
|
||||
|
||||
<main class="container">
|
||||
<!-- Cases list -->
|
||||
<section id="cases-section" class="section">
|
||||
<h2>Список кейсов</h2>
|
||||
<div class="controls">
|
||||
<input type="text" id="search-input" placeholder="Поиск по артикулу или ссылке..." />
|
||||
<select id="status-filter">
|
||||
<option value="">Все статусы</option>
|
||||
<option value="new">Новый</option>
|
||||
<option value="prepared">Подготовлен</option>
|
||||
<option value="sent">Отправлен</option>
|
||||
<option value="closed">Закрыт</option>
|
||||
</select>
|
||||
<button id="new-case-btn" class="btn-primary">+ Новый кейс</button>
|
||||
</div>
|
||||
<table id="cases-table" class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
<th>Артикул</th>
|
||||
<th>Статус</th>
|
||||
<th>Создан</th>
|
||||
<th>Действия</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody></tbody>
|
||||
</table>
|
||||
</section>
|
||||
|
||||
<!-- Case form (hidden by default) -->
|
||||
<section id="case-form-section" class="section hidden">
|
||||
<h2 id="form-title">Новый кейс</h2>
|
||||
<form id="case-form">
|
||||
<label>
|
||||
Ссылка на карточку нарушителя
|
||||
<input type="url" name="violator_url" required />
|
||||
</label>
|
||||
<label>
|
||||
Артикул нарушителя
|
||||
<input type="text" name="violator_article" required />
|
||||
</label>
|
||||
<label>
|
||||
Мой артикул (опц.)
|
||||
<input type="text" name="my_article" />
|
||||
</label>
|
||||
<label>
|
||||
Комментарий / описание
|
||||
<textarea name="comment" rows="3"></textarea>
|
||||
</label>
|
||||
<label>
|
||||
Прикрепить доказательства
|
||||
<input type="file" id="file-input" multiple accept="image/*,application/pdf" />
|
||||
<div id="file-preview" class="preview"></div>
|
||||
</label>
|
||||
<div class="form-actions">
|
||||
<button type="submit" class="btn-primary">Сохранить</button>
|
||||
<button type="button" id="cancel-btn" class="btn-secondary">Отмена</button>
|
||||
</div>
|
||||
</form>
|
||||
</section>
|
||||
|
||||
<!-- Case detail (hidden) -->
|
||||
<section id="case-detail-section" class="section hidden">
|
||||
<h2>Детали кейса</h2>
|
||||
<div id="case-detail"></div>
|
||||
<button id="back-to-list" class="btn-secondary">← Назад к списку</button>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
<script src="js/api.js"></script>
|
||||
<script src="js/ui.js"></script>
|
||||
<script src="js/app.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user