80 lines
4.0 KiB
HTML
80 lines
4.0 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>𝚌𝚘𝚖𝚙𝚘𝚜𝚎𝚛 - {{ stack }}</title>
|
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&family=Lexend:wght@100..900&display=swap" rel="stylesheet">
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css">
|
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous">
|
|
<style>
|
|
body{
|
|
font-family: "JetBrains Mono", monospace;
|
|
font-weight: 100;
|
|
}
|
|
h1{
|
|
font-family: "JetBrains Mono", monospace;
|
|
font-weight: 800;
|
|
}
|
|
h2{
|
|
font-family: "Lexend", sans-serif;
|
|
font-weight: 600;
|
|
}
|
|
h3{
|
|
font-family: "Lexend", sans-serif;
|
|
font-weight: 400;
|
|
}
|
|
b{
|
|
font-weight: 400;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body class="text-light bg-dark">
|
|
<div class="container-fluid">
|
|
<div class="row text-center">
|
|
<h1>composer<i class="bi bi-music-note"></i></h1>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-lg-4">
|
|
<div class="border border-2 rounded-4 p-2 m-2">
|
|
<h2 class="d-inline-block">{{ stack }}</h2>
|
|
<div class="btn-group float-end">
|
|
<button type="button" class="btn btn-outline-light"><i class="bi bi-play-circle"></i></button>
|
|
<button type="button" class="btn btn-outline-light"><i class="bi bi-pause-circle"></i></button>
|
|
<button type="button" class="btn btn-outline-light"><i class="bi bi-arrow-clockwise"></i></button>
|
|
</div>
|
|
<br>
|
|
<p>
|
|
<b>running</b>: <br>
|
|
<b>stopped</b>: <br>
|
|
<b>remote</b>: {{ remote }}
|
|
</p>
|
|
</div>
|
|
</div>
|
|
<div class="col-lg-8">
|
|
{% for container, status, image in containers %}
|
|
<div class="border border-2 rounded-4 p-2 m-2">
|
|
<h3 class="d-inline-block">{{ container }}</h3>
|
|
<div class="btn-group float-end">
|
|
<button type="button" class="btn btn-outline-light"><i class="bi bi-play-circle"></i></button>
|
|
<button type="button" class="btn btn-outline-light"><i class="bi bi-pause-circle"></i></button>
|
|
<button type="button" class="btn btn-outline-light"><i class="bi bi-arrow-clockwise"></i></button>
|
|
</div>
|
|
<br>
|
|
<p>
|
|
{% if status %}
|
|
<b>status</b>: <span class="text-success">running</span><br>
|
|
{% else %}
|
|
<b>status</b>: <span class="text-danger">off</span><br>
|
|
{% endif %}
|
|
<b>image</b>: {{ image }}
|
|
</p>
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-kenU1KFdBIe4zVF0s0G1M5b4hcpxyD9F7jL+jjXkk+Q2h455rYXK/7HAuoJl+0I4" crossorigin="anonymous"></script>
|
|
</html> |