forked from compiler-explorer/infra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuilds.html
120 lines (103 loc) · 2.79 KB
/
builds.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
<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">
<title>Compilers Build Status</title>
<script src="knockout-3.4.2.js"></script>
<script src="knockout.simpleGrid.3.0.js"></script>
<script src="builds.js"></script>
<link rel="icon" type="image/png"
href="https://github.com/compiler-explorer/infra/blob/main/logo/favicon.png?raw=true"/>
<style>
html, body {
background-color: #EEEEEE;
}
.navbar {
font-family: monospace;
}
.ko-grid {
width: 100%;
}
.ko-grid thead th {
border-bottom: 1px solid black;
user-select: none;
}
.ko-grid tbody tr:nth-child(odd),
.ko-grid thead th:nth-child(odd) {
background-color: #EEEEEE;
}
.ko-grid tbody tr:nth-child(even),
.ko-grid thead th:nth-child(even) {
background-color: #DDDDDD;
}
.ko-grid tbody td:nth-child(odd),
.ko-grid thead th:nth-child(odd) {
background-color: rgba(220, 220, 220, 0.5);
}
.ko-grid tbody td:nth-child(even),
.ko-grid thead th:nth-child(even) {
background-color: rgba(200, 200, 200, 0.5);
}
.ko-grid tbody td {
text-align: center;
}
.ko-grid-pageLinks {
background-color: #EEEEAA;
border-top: 1px solid #f3f3f3;
}
#log {
background-color: #f2f2f2;
box-sizing: border-box;
width: 100%;
height: 350px;
}
.navbar {
font-size: 18px;
border: 1px solid rgba(0, 0, 0, 0.2);
padding-bottom: 10px;
}
#main-nav {
list-style-type: none;
display: flex;
flex-direction: row;
}
#main-nav li {
text-align: center;
margin: 2px auto;
text-decoration: none;
color: black;
}
#log {
flex: 1 1 auto;
height: 95%;
}
html, body {
height: 100%;
margin: 0;
}
.container {
height: 100%;
display: flex;
flex-flow: column;
}
</style>
</head>
<body>
<div class="container">
<nav class="navbar">
<ul id="main-nav">
<li>
Last update - <span data-bind="text: lastUpdate"></span>
<br>
<small>(Next - <span data-bind="text: nextUpdate"></span>)</small>
</li>
</ul>
</nav>
<div data-bind="simpleGrid: gridViewModel"></div>
<textarea id="log" data-bind="visible: isLogVisible, text: selectedLog" readonly></textarea>
</div>
<script>
init();
</script>
</body>
</html>