-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html.pre
153 lines (129 loc) · 2.29 KB
/
index.html.pre
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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
<!DOCTYPE html>
<html>
<head>
<style>
body {
font-family: Roboto, Arial, sans-serif;
font-size: 14px
}
@media (prefers-color-scheme: dark) {
body {
background-color: #0d1111;
color: #e0e0e0;
}
}
a {
text-decoration: none;
color: #000000;
}
@media (prefers-color-scheme: dark) {
a {
color: #eeeeee;
}
}
a:hover {
text-decoration: underline;
color: #000000;
}
@media (prefers-color-scheme: dark) {
a:hover {
color: #eeeeee;
}
}
span.approved {
color: #269926
}
@media (prefers-color-scheme: dark) {
span.approved {
color: #40ff40
}
}
span.blocked {
color: #992626
}
@media (prefers-color-scheme: dark) {
span.blocked {
color: #ff4040;
}
}
span.none {
color: #999999
}
a.approved {
color: #269926
}
a.blocked {
color: #992626
}
.prs {
border-collapse: collapse;
width: 100%;
}
.prs td, .prs th {
border: 1px solid #ddd;
padding: 4px;
}
.prs tr:nth-child(even){
background-color: #f2f2f2;
}
@media (prefers-color-scheme: dark) {
.prs tr:nth-child(even){
background-color: #303030;
}
}
.prs tr:hover {
background-color: #eeeeee;
}
@media (prefers-color-scheme: dark) {
.prs tr:hover {
background-color: #555555;
}
}
.prs th {
padding-top: 4px;
padding-bottom: 4px;
text-align: left;
background-color: #333f67;
color: white;
}
.prs tr.draft {
font-style: italic;
opacity: 0.5;
}
.prs tr.change {
font-style: bold;
color: #992626
}
</style>
<script type="text/javascript">
function load() {
var checkbox = document.getElementById('autoRefreshCheckbox');
var value = localStorage.getItem('autoRefresh');
if (value == "true") {
checkbox.checked = true;
}
}
function refreshSave() {
var checkbox = document.getElementById('autoRefreshCheckbox');
localStorage.setItem('autoRefresh', checkbox.checked);
}
setInterval(function () {
if (document.getElementById('autoRefreshCheckbox').checked) {
location.reload();
}
}, 60000);
</script>
</head>
<body onload="load()">
<h1>NXP PR queue</h1>
<h3>Last update: UPDATE_TIMESTAMP</h3>
<table class="prs" id="author">
<tr>
<th>#</th><th>Title</th><th>Author</th><th>Assignee</th><th>Approvers</th>
<th>Base</th>
<th>Milestone</th>
<th title="Mergeable">↰</th>
<th title="Approved">✓</th>
<th title="Review time">⏲</th>
<th title="Tags">🏷</th>
</tr>