thsf.net/maintenance/templates/status.html

46 lines
1.4 KiB
HTML

Content-type: text/html
<!DOCTYPE html>
<html lang='zxx'>
<head>
<title>THSF 2023: Status page</title>
<meta name="viewport" content="initial-scale=1.0">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<script src="/thsf.net/maintenance/scripts/maintenance.js"></script>
<link rel="stylesheet"
href="/thsf.net/maintenance/style/maintenance.css">
<link rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
</head>
<body>
<div class="page_wrapper">
<div class="center_wrapper">
<div class="container_list">
<div class="line">
<span class="title">THSF Status</span>
</div>
<div class="table_headers">
<div class="header">Name</div>
<div class="header">Status</div>
<div class="header">Action</div>
</div>
<div class="table_content">
{% for container in containers %}
<div class="line">
<div class="status">{{ container.name }}</div>
<div class="status">{{ container.status }}</div>
<div class="status">
<i class="button fa-regular fa-recycle" onclick="reboot()"></i>
</div>
</div>
<div class="container_log" id="logs">
{{ container.logs | safe }}
</div>
{% endfor %}
</div>
</div>
</div>
</div>
</body>
</html>