-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
73 lines (64 loc) · 2.79 KB
/
index.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
70
71
72
73
---
# this is an empty front matter
---
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>Hakierspejs - status page</title>
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//unpkg.com/@popperjs/core@2"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="container">
<div class="row">
<div class="col-md-12">
<h1>Hakierspejs - Status Page</h1>
</div>
</div>
<div class="row clearfix">
<div class="col-md-12 column">
<div class="panel panel-{{ site.data.statusy[site.data.awarie.kod].style }}">
<div class="panel-heading">
<h3 class="panel-title">
{% assign status=site.data.statusy[site.data.awarie.kod] %}
{% if status.img %}
<!-- <img src="img/{{status.img}}" class="img-responsive img-rounded" style="float: left; max-width: 80px;" /> -->
{% endif %}
{{ site.data.awarie | size | minus: site.data.awarie.kod }}/{{ site.data.awarie | size }}:
{{ site.data.statusy[site.data.awarie.kod].name }}
</h3>
</div>
</div>
<div class="row clearfix">
<div class="col-md-12 column">
<div class="list-group">
{% for awaria in site.data.awarie.awarie %}
{% include opis_awarii.html kolor="danger" opis="Not Operational" %}
{% endfor %}
{% for awaria in site.data.awarie.dziala %}
{% include opis_awarii.html kolor="success" opis="Operational" %}
{% endfor %}
</div>
</div>
</div>
</div>
</div>
<div class="col-md-12">
<p>Powered by <a href="https://github.com/hakierspejs/status.hs-ldz.pl">Github Pages</a>.
<a href="https://github.com/hakierspejs/status.hs-ldz.pl/edit/main/_data/awarie.yml">Edytuj tutaj.</a>
Ostatni update: {{ site.time }}. </p>
</div>
</div>
<script>
$(function () {
$('[data-toggle="tooltip"]').tooltip()
})
</script>
</body>
</html>