thsf.net/maintenance/templates/status.html

46 lines
1.4 KiB
HTML
Raw Normal View History

2023-05-27 14:42:56 +11:00
Content-type: text/html
2023-05-27 14:25:10 +11:00
<!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">
2023-05-27 14:47:39 +11:00
<script src="/thsf.net/maintenance/scripts/maintenance.js"></script>
2023-05-27 14:25:10 +11:00
<link rel="stylesheet"
2023-05-27 14:47:39 +11:00
href="/thsf.net/maintenance/style/maintenance.css">
2023-05-27 14:25:10 +11:00
<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">
2023-05-27 17:05:30 +11:00
<div class="line">
<span class="title">THSF Status</span>
</div>
2023-05-27 14:25:10 +11:00
<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">
2023-05-27 16:37:28 +11:00
<i class="button fa-regular fa-recycle" onclick="reboot()"></i>
2023-05-27 14:25:10 +11:00
</div>
</div>
<div class="container_log" id="logs">
2023-05-27 16:55:00 +11:00
{{ container.logs | safe }}
2023-05-27 14:25:10 +11:00
</div>
{% endfor %}
</div>
</div>
</div>
</div>
</body>
</html>