Additional Work Done on requests

This commit is contained in:
2023-08-07 13:35:27 +02:00
parent ae3530f2dd
commit 6d5d037f44
3 changed files with 156 additions and 27 deletions

View File

@@ -7,13 +7,20 @@
<title>{{title}}</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.1/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-4bw+/aepP/YC94hEpVNVgiZdgIC5+VKNBQNGCHeKRQN+PtmoHDEXuppvnDJzQIu9" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css">
<style>
</style>
</head>
<body data-bs-theme="dark">
<div class="container-fluid">
<h1>Containers</h1>
<a href="/" class="d-flex text-decoration-none text-primary">
<i style="font-size: 3rem;" class="bi bi-stack me-2"></i>
<div class="mb-2">
<h2 class="mb-0">Containers</h2>
<small>{{subtitle}}</small>
</div>
</a>
<div class="row row-cols-auto g-2">
{% for container in containers %}
<div class="col-6 col-sm-4 col-md-4 col-lg-3 col-xxl-2">
@@ -28,7 +35,8 @@
<input class="form-check-input" type="checkbox" id="flexSwitchCheckReverse"
onclick="toggleContainer('{{container.id}}', '{{container.status}}', this, event);" {% if
container.status=="running" %} checked {% endif %}>
<label class="form-check-label d-none d-md-block " for="flexSwitchCheckReverse">isRunning</label>
<label class="form-check-label d-none d-md-block "
for="flexSwitchCheckReverse">{{container.status}}</label>
</div>
</div>
<h4 class="text-truncate">{{container.attrs['Config']['Labels']['com.docker.compose.project']}}</h4>