-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.php
More file actions
78 lines (68 loc) · 1.58 KB
/
index.php
File metadata and controls
78 lines (68 loc) · 1.58 KB
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
70
71
72
73
74
75
76
77
78
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>État des sites mozfr.org</title>
<script src="htmx.org@2.0.4.js"></script>
<style>
body {
font: 1.2em sans-serif;
color: #161618;
text-align:center;
}
h1 {
letter-spacing: 1px;
font-weight: normal;
color: darkmagenta;
}
ul {
list-style: none;
margin: 2em 0;
}
a {
text-decoration: none;
color: darkblue;
}
img {
height: 5em;
opacity: 1 !important;
}
.container {
margin: auto;
width: 30em;
height: 30em;
}
.item {
margin: 2em 0;
padding: 2em;
border: 1px solid lightgray;
border-radius: 0.2em;
width: 26em;
}
.item li {
vertical-align: middle;
line-height: 2em;
padding-left: 1em;
text-align: left;
}
span {
padding-right: 0.5em
}
.bad {
color: red;
}
.good {
color: green;
}
</style>
</head>
<body>
<div class="container">
<h1>État des sites mozfr.org</h1>
<ul class="item" hx-get="/sites.php" hx-trigger="load">
<img alt="Chargement en cours…" class="htmx-indicator" src="bars.svg"/>
</ul>
</div>
</body>
</html>