This commit is contained in:
PaulVua
2025-05-23 11:02:06 +02:00
parent f40c105abf
commit 2bd74ca91a
3 changed files with 26 additions and 22 deletions

View File

@@ -180,33 +180,36 @@
<!-- SYSTEMD SERVICES SECTION -->
<div class="row mb-3">
<div class="col-12">
<h3 class="mt-4">SystemD Services</h3>
<div id="services-table">
<div class="d-flex justify-content-end mb-3">
<button type="button" class="btn btn-primary" onclick="refreshServices()">
<svg width="16" height="16" fill="currentColor" class="bi bi-arrow-clockwise" viewBox="0 0 16 16">
<div class="col-lg-8 col-12">
<h4 class="mt-4">SystemD Services</h4>
<div id="services-table" class="card">
<div class="card-header d-flex justify-content-between align-items-center">
<span class="fw-bold">Service Status</span>
<button type="button" class="btn btn-sm btn-outline-primary" onclick="refreshServices()">
<svg width="14" height="14" fill="currentColor" class="bi bi-arrow-clockwise" viewBox="0 0 16 16">
<path fill-rule="evenodd" d="M8 3a5 5 0 1 0 4.546 2.914.5.5 0 0 1 .908-.417A6 6 0 1 1 8 2v1z"/>
<path d="M8 4.466V.534a.25.25 0 0 1 .41-.192l2.36 1.966c.12.1.12.284 0 .384L8.41 4.658A.25.25 0 0 1 8 4.466z"/>
</svg>
Refresh
</button>
</div>
<table class="table table-striped">
<thead>
<tr>
<th>Service</th>
<th>Status</th>
<th>Enabled</th>
<th>Actions</th>
</tr>
</thead>
<tbody id="services-tbody">
<tr>
<td colspan="4" class="text-center">Loading services...</td>
</tr>
</tbody>
</table>
<div class="card-body p-0">
<table class="table table-sm table-hover mb-0">
<thead class="table-light">
<tr>
<th style="width: 30%">Service</th>
<th style="width: 15%">Status</th>
<th style="width: 15%">Enabled</th>
<th style="width: 40%">Actions</th>
</tr>
</thead>
<tbody id="services-tbody">
<tr>
<td colspan="4" class="text-center py-3">Loading services...</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>