-
Notifications
You must be signed in to change notification settings - Fork 0
/
server2.html
69 lines (69 loc) · 1.86 KB
/
server2.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<!-- server1.html -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Server 2 Status</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
margin: 0;
padding: 0;
}
header {
background-color: #333;
color: white;
padding: 10px;
text-align: center;
}
main {
margin: 20px;
}
footer {
background-color: #333;
color: white;
padding: 10px;
text-align: center;
position: fixed;
bottom: 0;
width: 100%;
}
.status {
font-size: 24px;
color: #4CAF50; /* Green color for healthy status */
}
.previous-reports {
margin-top: 20px;
max-height: 200px;
overflow-y: auto;
background-color: #fff;
padding: 10px;
border: 1px solid #ccc;
}
</style>
</head>
<body>
<header>
<h1>Server 2</h1>
</header>
<main>
<p>This is a big webpage showing the status of Server 2.</p>
<p class="status">Status: Healthy</p>
<div class="previous-reports">
<h2>Previous Health Reports</h2>
<ul>
{% for report in health_reports %}
<li>Iteration {{ report[0] }} - Health: {{ report[1] }}</li>
{% endfor %}
</ul>
</div>
<!-- Add more content here as needed -->
</main>
<footer>
<p>© 2023 Server 2</p>
</footer>
</body>
</html>