chore: baseline before agreements

This commit is contained in:
Александр Арсентьев
2026-09-25 17:53:33 +03:00
commit 2376778828
37 changed files with 2870 additions and 0 deletions
@@ -0,0 +1,62 @@
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Выбор листа - {{ project.name }} - Work Volume Tracker</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<div class="container mt-5">
<h1>Выбор листа для импорта</h1>
<p><strong>Проект:</strong> {{ project.name }}</p>
<p><strong>Файл:</strong> {{ filename }}</p>
<div class="card">
<div class="card-body">
<h5 class="card-title">Доступные листы</h5>
<div class="table-responsive">
<table class="table table-striped">
<thead>
<tr>
<th>Номер</th>
<th>Название листа</th>
<th>Действие</th>
</tr>
</thead>
<tbody>
{% for sheet in sheets %}
<tr>
<td>{{ loop.index }}</td>
<td>{{ sheet }}</td>
<td>
<form method="post" action="/boq/{{ project_id }}/import/preview">
<input type="hidden" name="filename" value="{{ filename }}">
<input type="hidden" name="sheet_name" value="{{ sheet }}">
<input type="hidden" name="header_row" value="5">
<input type="hidden" name="start_row" value="6">
<button type="submit" class="btn btn-sm btn-primary">Выбрать</button>
</form>
</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
</div>
</div>
<div class="card mt-4">
<div class="card-body">
<h5 class="card-title">Настройка импорта</h5>
<p>В текущем файле:</p>
<ul>
<li>Строка заголовков: 5</li>
<li>Начинать чтение с строки: 6</li>
</ul>
<p>Параметры импорта можно настроить для разных файлов.</p>
</div>
</div>
</div>
</body>
</html>