Add dashboard IPs/restart/connections, SMB read-only and recycle bin

Dashboard:
- Server IPs card showing all non-loopback IPv4 interfaces
- Restart buttons next to smbd/nfsd status dots (POST /api/service/<name>/restart)
- Active SMB connections table (smbstatus -b parsed in backend)

SMB edit modal:
- Read only toggle (writable vs read only in smb.conf)
- Recycle Bin toggle (vfs objects = recycle, files go to .recycle folder)

Docs: PLANNING.md phase 3.5, README recycle bin + read-only, CLAUDE.md JS overview

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
marcandClaude Sonnet 4.6 committed 2026-06-20 01:13:32 +02:00
1 parent 1810d60d21
commit 1be6a05cef
7 files changed
+171 -21

No files matched your search

+18
View File
@@ -131,6 +131,14 @@
</div>
</div>
</div>
<div class="col-12">
<div class="card">
<div class="card-body py-2 px-3">
<span class="card-label me-3">Server IPs</span>
<span id="serverIps" style="font-size:.87em">…</span>
</div>
</div>
</div>
</div>
<div class="d-flex justify-content-between align-items-center mb-2">
@@ -146,6 +154,16 @@
</table>
</div>
<div class="fw-semibold mb-2">Active SMB Connections</div>
<div class="table-responsive">
<table class="table table-striped mb-0">
<thead><tr><th>User</th><th>From</th></tr></thead>
<tbody id="activeConnectionsBody">
<tr><td colspan="2" style="color:var(--muted)">Loading…</td></tr>
</tbody>
</table>
</div>
</div>
<!-- SMB -->