feat: UI/UX cleanup V1 with header, import requisites, and status fixes
This commit is contained in:
@@ -47,15 +47,23 @@
|
||||
<li class="breadcrumb-item active" aria-current="page">Ведомость</li>
|
||||
</ol>
|
||||
</nav>
|
||||
<div class="d-flex justify-content-between align-items-start mb-4">
|
||||
<div class="d-flex justify-content-between align-items-start mb-2">
|
||||
<div>
|
||||
<h1>{{ document_title }}</h1>
|
||||
<p class="text-muted mb-0">{{ project.name }}{% if document.source_file %} · {{ document.source_file }}{% endif %}</p>
|
||||
<p class="text-muted mb-0">
|
||||
{{ project.name }}{% if document.source_file %} · {{ document.source_file }}{% endif %}
|
||||
</p>
|
||||
{% if document.document_number or document.document_date or document.contract %}
|
||||
<p class="text-muted small mb-0">
|
||||
{% if document.document_number %}<span>№ {{ document.document_number }}</span>{% endif %}
|
||||
{% if document.document_date %}<span class="ms-2">от {{ document.document_date.strftime('%d.%m.%Y') }}</span>{% endif %}
|
||||
{% if document.contract %}<span class="ms-2">Договор: {{ document.contract }}</span>{% endif %}
|
||||
</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="d-flex gap-2">
|
||||
<button type="button" class="btn btn-outline-secondary btn-sm" id="expandAll">Развернуть всё</button>
|
||||
<button type="button" class="btn btn-outline-secondary btn-sm" id="collapseAll">Свернуть всё</button>
|
||||
<button type="button" class="btn btn-outline-secondary" id="toggleMoney" title="Показать/скрыть финансовые суммы" aria-label="Показать или скрыть финансовые суммы">👁</button>
|
||||
{% if not has_history %}
|
||||
<form method="post" action="/boq/{{ project.id }}/documents/{{ document.id }}/delete" class="d-inline">
|
||||
<button type="submit" class="btn btn-outline-danger" onclick="return confirm('Удалить ведомость и все её позиции? Это действие необратимо.')">Удалить ведомость</button>
|
||||
@@ -68,6 +76,10 @@
|
||||
<a class="btn btn-outline-secondary" href="/projects/{{ project.id }}">К проекту</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="d-flex justify-content-end align-items-center gap-2 mb-3">
|
||||
<span class="text-muted small">Финансовые суммы</span>
|
||||
<button type="button" class="btn btn-outline-secondary btn-sm" id="toggleMoney" title="Показать/скрыть финансовые суммы" aria-label="Показать или скрыть финансовые суммы">👁</button>
|
||||
</div>
|
||||
|
||||
<div class="boq-table-wrap">
|
||||
<table class="table table-bordered table-sm align-middle boq-table">
|
||||
|
||||
Reference in New Issue
Block a user