upsi
This commit is contained in:
@@ -12,7 +12,7 @@
|
|||||||
<i class="bi bi-pc-display me-2 text-muted"></i>(#@s.Id) @s.Name
|
<i class="bi bi-pc-display me-2 text-muted"></i>(#@s.Id) @s.Name
|
||||||
</h5>
|
</h5>
|
||||||
<span class="badge
|
<span class="badge
|
||||||
@(s.IsOnline ? "bg-success text-light" : "bg-danger text-light")">
|
@(s.IsOnline ? "bg-success text-light" : "bg-danger text-light")">
|
||||||
<i class="bi @(s.IsOnline ? "bi-check-circle" : "bi-x-circle") me-1"></i>
|
<i class="bi @(s.IsOnline ? "bi-check-circle" : "bi-x-circle") me-1"></i>
|
||||||
@(s.IsOnline ? "Online" : "Offline")
|
@(s.IsOnline ? "Online" : "Offline")
|
||||||
</span>
|
</span>
|
||||||
@@ -22,11 +22,14 @@
|
|||||||
<div class="col-md-5 text-muted small">
|
<div class="col-md-5 text-muted small">
|
||||||
<div><i class="bi bi-globe me-1"></i><strong>IP:</strong> @s.IPAddress</div>
|
<div><i class="bi bi-globe me-1"></i><strong>IP:</strong> @s.IPAddress</div>
|
||||||
<div><i class="bi bi-pc-display me-1"></i><strong>Typ:</strong> @s.Type</div>
|
<div><i class="bi bi-pc-display me-1"></i><strong>Typ:</strong> @s.Type</div>
|
||||||
<div><i class="bi bi-calendar-check me-1"></i><strong>Erstellt:</strong> @s.CreatedAt.ToLocalTime().ToString("dd.MM.yyyy HH:mm")</div>
|
<div><i class="bi bi-calendar-check me-1"></i><strong>Erstellt:</strong>
|
||||||
<div><i class="bi bi-clock me-1"></i><strong>Last-Seen:</strong> @s.LastSeen.ToLocalTime().ToString("dd.MM.yyyy HH:mm")</div>
|
@s.CreatedAt.ToLocalTime().ToString("dd.MM.yyyy HH:mm")</div>
|
||||||
|
<div><i class="bi bi-clock me-1"></i><strong>Last-Seen:</strong>
|
||||||
|
@s.LastSeen.ToLocalTime().ToString("dd.MM.yyyy HH:mm")</div>
|
||||||
<div><i class="bi bi-cpu me-1"></i><strong>CPU:</strong> @(s.CpuType ?? "not found") </div>
|
<div><i class="bi bi-cpu me-1"></i><strong>CPU:</strong> @(s.CpuType ?? "not found") </div>
|
||||||
<div><i class="bi bi-cpu me-1"></i><strong>CPU-Kerne: </strong> @s.CpuCores </div>
|
<div><i class="bi bi-cpu me-1"></i><strong>CPU-Kerne: </strong> @s.CpuCores </div>
|
||||||
<div><i class="bi bi-gpu-card me-1"></i><strong>GPU:</strong> @(s.GpuType ?? "not found") </div>
|
<div><i class="bi bi-gpu-card me-1"></i><strong>GPU:</strong> @(s.GpuType ?? "not found")
|
||||||
|
</div>
|
||||||
<div><i class="bi bi-memory me-1"></i><strong>RAM:</strong> @(s.RamSize) </div>
|
<div><i class="bi bi-memory me-1"></i><strong>RAM:</strong> @(s.RamSize) </div>
|
||||||
<div><i class="bi bi-hdd me-1"></i><strong>Disk Space:</strong> ... </div>
|
<div><i class="bi bi-hdd me-1"></i><strong>Disk Space:</strong> ... </div>
|
||||||
</div>
|
</div>
|
||||||
@@ -38,15 +41,18 @@
|
|||||||
<i class="bi bi-pencil-square me-1"></i> Bearbeiten
|
<i class="bi bi-pencil-square me-1"></i> Bearbeiten
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<a asp-asp-controller="Server" asp-action="Details" asp-route-id="@s.Id" class="btn btn-outline-primary">
|
<a asp-asp-controller="Server" asp-action="Details" asp-route-id="@s.Id"
|
||||||
|
class="btn btn-outline-primary">
|
||||||
<i class="bi bi-bar-chart-fill me-1"></i> Metrics
|
<i class="bi bi-bar-chart-fill me-1"></i> Metrics
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<a asp-asp-controller="Container" asp-action="Overview" asp-route-id="@s.Id" class="btn btn-outline-primary">
|
<a asp-asp-controller="Container" asp-action="Overview" asp-route-id="@s.Id"
|
||||||
|
class="btn btn-outline-primary">
|
||||||
<i class="bi bi-box-fill me-1"></i> Container
|
<i class="bi bi-box-fill me-1"></i> Container
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<form asp-action="Delete" asp-route-id="@s.Id" method="post" onsubmit="return confirm('Diesen Server wirklich löschen?');" class="m-0">
|
<form asp-action="Delete" asp-route-id="@s.Id" method="post"
|
||||||
|
onsubmit="return confirm('Diesen Server wirklich löschen?');" class="m-0">
|
||||||
<button type="submit" class="btn btn-outline-danger">
|
<button type="submit" class="btn btn-outline-danger">
|
||||||
<i class="bi bi-trash me-1"></i> Löschen
|
<i class="bi bi-trash me-1"></i> Löschen
|
||||||
</button>
|
</button>
|
||||||
|
@@ -35,7 +35,7 @@
|
|||||||
<i class="bi bi-pencil"></i> Bearbeiten
|
<i class="bi bi-pencil"></i> Bearbeiten
|
||||||
</a>
|
</a>
|
||||||
<form asp-action="Delete" asp-route-id="@Model.Id" method="post" class="d-inline"
|
<form asp-action="Delete" asp-route-id="@Model.Id" method="post" class="d-inline"
|
||||||
onsubmit="return confirm('Diesen Server wirklich löschen?');">
|
onsubmit="return confirm('Diesen Server wirklich löschen?');">
|
||||||
<button type="submit" class="btn btn-outline-danger">
|
<button type="submit" class="btn btn-outline-danger">
|
||||||
<i class="bi bi-trash"></i> Löschen
|
<i class="bi bi-trash"></i> Löschen
|
||||||
</button>
|
</button>
|
||||||
@@ -59,9 +59,9 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="mt-4"></div>
|
<div class="mt-4"></div>
|
||||||
<h6><i class="bi bi-graph-up me-1"></i>RAM Last</h6>
|
<h6><i class="bi bi-graph-up me-1"></i>RAM Last</h6>
|
||||||
<div class="bg-light border rounded p-4 text-center text-muted" style="height: 250px;">
|
<div class="bg-light border rounded p-4 text-center text-muted" style="height: 250px;">
|
||||||
<canvas id="uptimeChart"></canvas>
|
<canvas id="uptimeChart"></canvas>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
Reference in New Issue
Block a user