Files
work-volume-tracker/app/templates/projects/import_sheet_selection.html
T
Александр Арсентьев 2376778828 chore: baseline before agreements
2026-09-25 17:53:33 +03:00

62 lines
2.8 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!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>