-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
normal_checks.html
139 lines (122 loc) · 3.89 KB
/
normal_checks.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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
---
layout: default
title: Normal Checks
description: Which version of Normal Checks is each repository using?
---
{% assign org_href = "https://github.com/eustasy" %}
<script defer src="sortable.mega-advanced.min.js"></script>
<style>
.wrapper {
max-width: 1080px;
width: auto;
}
section {
width: calc(100% - 270px);
}
h1,
a:focus,
a:hover {
font-weight: normal;
}
.name {
display: block;
font-weight: normal;
color: inherit;
}
.status {
background-color: rgba(212, 212, 212, 0.5);
border-radius: 1em;
color: #555761;
font-size: 0.85em;
padding: 0.15em 0.75em;
}
.version a,
.status a {
color: inherit;
font-weight: inherit;
}
.good {
background-color: rgba(209, 255, 130, 0.5);
color: #206b00;
}
.warn {
background-color: rgba(255, 243, 148, 0.5);
color: #ad5f00;
}
.critical {
background-color: rgba(255, 140, 130, 0.5);
color: #7a0000;
}
.beta {
color: #ad5f00;
}
.alpha {
color: #7a0000;
}
</style>
<table class="releases sortable">
<thead>
<th>Repository</th>
<th>Default Branch</th>
<th>Version</th>
<th>Status</th>
</thead>
<tbody>
{% for repo in site.data.normal_checks %}
{% unless site.data.exclusions contains repo.name %}
{% assign repo_href = org_href | append: "/" | append: repo.name %}
<tr id="{{ repo.name }}" >
<td data-sort="{{ repo.name }}">
<a href="{{ repo_href }}" class="name">{{ repo.name }}</a>
</td>
<td data-sort="{{ repo.default_branch }}">
{% if repo.default_branch == "main" %}
<span class="status good">{{ repo.default_branch }}</span>
{% elsif repo.default_branch == "gh-pages" %}
<span class="status good">{{ repo.default_branch }}</span>
{% elsif repo.default_branch == "cf-pages" %}
<span class="status good">{{ repo.default_branch }}</span>
{% elsif repo.default_branch == "master" %}
<span class="status warn">{{ repo.default_branch }}</span>
{% else %}
<span class="status critical">{{ repo.default_branch }}</span>
{% endif %}
</td>
<td data-sort="{{ repo.normal_checks }}">
{% if repo.normal_checks == "3.0.1" %}
<span class="status good">Up to date</span>
{% elsif repo.normal_checks == "3.0" %}
<span class="status warn">{{ repo.normal_checks }}</span>
{% elsif repo.normal_checks == "2.0" %}
<span class="status warn">{{ repo.normal_checks }}</span>
{% elsif repo.normal_checks == "1.10.1" %}
<span class="status warn">{{ repo.normal_checks }}</span>
{% elsif repo.normal_checks == "1.10.0" %}
<span class="status warn">{{ repo.normal_checks }}</span>
{% elsif repo.normal_checks == "1.9" %}
<span class="status warn">{{ repo.normal_checks }}</span>
{% elsif repo.normal_checks == "1.7" %}
<span class="status critical">{{ repo.normal_checks }}</span>
{% elsif repo.normal_checks == "1.4" %}
<span class="status critical">{{ repo.normal_checks }}</span>
{% else %}
<span class="status">{{ repo.normal_checks }}</span>
{% endif %}
</td>
<td>
{% if repo.normal_checks != false %}
<a href="https://github.com/eustasy/{{ repo.name }}/actions/workflows/normal.yml"><img src="https://github.com/eustasy/{{ repo.name }}/actions/workflows/normal.yml/badge.svg"></a>
{% endif %}
</td>
</tr>
{% endunless %}
{% endfor %}
</tbody>
</table>
{% assign st = site.time %}
<p><small>Last updated <time datetime="{{ st }}" title="{{ st }}">
{% assign d = st | date: "%-d" %}
{{ st | date: "%B" }}
{% case d %}{% when '1' or '21' or '31' %}{{ d }}st{% when '2' or '22' %}{{ d }}nd{% when '3' or '23' %}{{ d }}rd{% else %}{{ d }}th{% endcase %},
{{ st | date: "%Y at %r %Z" }}
</time>.</small></p>