Stabilize discovery workflow

This commit is contained in:
2026-05-29 17:16:46 +08:00
parent 15772bc17e
commit 3981ffdf5e
40 changed files with 2039 additions and 211 deletions
+14 -11
View File
@@ -11,7 +11,7 @@
<div class="d-flex" id="wrapper">
<!-- Sidebar -->
<nav class="bg-dark text-white border-end" id="sidebar-wrapper" style="width: 250px; min-height: 100vh;">
<div class="sidebar-heading p-3 border-bottom border-secondary">
<div class="sidebar-heading px-3 border-bottom border-secondary">
<a href="/dashboard" class="text-white text-decoration-none">
<h4 class="mb-0">Домовой</h4>
</a>
@@ -23,18 +23,21 @@
<a href="/discovery" class="list-group-item list-group-item-action bg-dark text-white border-0">
Сканирование сети
</a>
<a href="/discoveries" class="list-group-item list-group-item-action bg-dark text-white border-0">
Находки
</a>
<a href="/devices" class="list-group-item list-group-item-action bg-dark text-white border-0">
Устройства
</a>
<a href="/services" class="list-group-item list-group-item-action bg-dark text-white border-0">
Сервисы
</a>
<a href="/documents" class="list-group-item list-group-item-action bg-dark text-white border-0">
Документы
</a>
<a href="/settings" class="list-group-item list-group-item-action bg-dark text-white border-0">
Настройки
</a>
<span class="list-group-item bg-dark text-white-50 border-0">
Сервисы <small class="text-secondary">позже</small>
</span>
<span class="list-group-item bg-dark text-white-50 border-0">
Документы <small class="text-secondary">позже</small>
</span>
<span class="list-group-item bg-dark text-white-50 border-0">
Настройки <small class="text-secondary">позже</small>
</span>
</div>
</nav>
@@ -43,7 +46,6 @@
<!-- Top Navbar -->
<nav class="navbar navbar-expand-lg navbar-dark bg-dark border-bottom border-secondary">
<div class="container-fluid">
<span class="navbar-brand text-light">Домовой</span>
<div class="ms-auto d-flex align-items-center">
<span class="text-light me-3"><?= htmlspecialchars($username ?? 'User') ?></span>
<form method="POST" action="/logout" class="d-inline">
@@ -63,5 +65,6 @@
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
<script src="/assets/js/domovoy.js"></script>
</body>
</html>