Dashboard, Services, Server, Settings, Userinfo Page auf Darkmode umgebaut

This commit is contained in:
2025-09-08 15:06:39 +02:00
parent ab6f99eb6b
commit 6e6d17b134
15 changed files with 154 additions and 98 deletions

View File

@@ -2,35 +2,38 @@
@{
ViewData["Title"] = "Containerübersicht";
}
<head>
<link rel="stylesheet" href="~/css/main.css" />
<link rel="stylesheet" href="~/css/services-overview.css" />
</head>
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6">
@foreach (var server in Model.Servers)
{
<div class="bg-white shadow-md rounded-xl p-5 border border-gray-200 hover:shadow-lg transition duration-200">
<h2 class="text-xl font-semibold mb-1">@server.Name</h2>
</div>
<div >
<!-- TODO: Später auf > 0 ändern! -->
<table class="ServiceList">
<!-- foreach (var container in Model.Containers)-->
<tr>
<th>Service</th>
<th>HostServer</th>
<th>Status</th>
<th>SSL/TLS</th>
<th>Proxy</th>
<th>Deployment</th>
<div class="bg-white">
@if (Model.Containers.Count > 0)
{
<table>
@foreach (var container in Model.Containers)
{
<tr>test</tr>
if (container.HostServer.Equals(server.Name))
{
</tr>
@for (int i = 0; i < 3; i++)
{
<tr class="ServiceRow">
<td>test</td>
<td><a class="ServiceEntry" href="/Server/Details/7">test</a></td>
<td>Online</td>
<td>true</td>
<td>true</td>
<td>Docker</td>
</tr>
}
</table>
</div>
}
}
</table>
} else
{
<p> keine Container gefunden </p>
}
</div>
}
</div>