-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.upptimerc.yml
More file actions
287 lines (264 loc) · 9.23 KB
/
Copy path.upptimerc.yml
File metadata and controls
287 lines (264 loc) · 9.23 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
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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
owner: paperclipinc
repo: status
sites:
- name: Marketing site
url: https://paperclip.inc/
- name: Docs
url: https://paperclip.inc/docs
- name: Auth
url: https://paperclip.inc/auth/sign-in
- name: Health API
url: https://paperclip.inc/api/healthz
i18n:
allSystemsOperational: All systems operational
partialOutage: Some systems are degraded
completeOutage: One service is down
activeIncidents: Active incidents
pastIncidents: Recent incidents
pastScheduledMaintenance: Past maintenance
footer: This page is [open source]($REPO), powered by [Upptime](https://upptime.js.org).
status-website:
cname: status.paperclip.inc
logoUrl: https://paperclip.inc/favicon.svg
favicon: https://paperclip.inc/favicon.ico
faviconSvg: https://paperclip.inc/favicon.svg
name: Paperclip.inc Status
introTitle: Paperclip.inc status
introMessage: Real-time status for [paperclip.inc](https://paperclip.inc).
navbar:
- title: Status
href: /
- title: paperclip.inc
href: https://paperclip.inc
- title: Subscribe
href: https://github.com/$OWNER/$REPO/issues
- title: GitHub
href: https://github.com/$OWNER/$REPO
metaTags:
- name: theme-color
content: "#f7f7f4"
- name: description
content: Real-time status for paperclip.inc.
js: |
(function () {
document.querySelectorAll('meta[name="theme-color"]').forEach(function (m) {
m.setAttribute('content', '#f7f7f4');
});
fetch('/api/summary.json')
.then(function (r) { return r.json(); })
.then(function (d) {
if (!d || !d.lastUpdate) return;
var last = new Date(d.lastUpdate);
var mins = Math.max(0, Math.round((Date.now() - last.getTime()) / 60000));
var text = mins < 1
? 'Updated just now'
: mins === 1
? 'Updated 1 minute ago'
: 'Updated ' + mins + ' minutes ago';
var h1 = document.querySelector('main h1, .intro h1, h1');
if (!h1) return;
var sub = document.createElement('p');
sub.className = 'paperclip-last-update';
sub.textContent = text;
h1.parentNode.insertBefore(sub, h1.nextSibling);
})
.catch(function () {});
})();
css: |
/* paperclip.inc status page — editorial monochrome, per DESIGN.md */
:root {
--color-canvas: #f7f7f4;
--color-ink: #26251e;
--color-body: #5a5852;
--color-muted: #807d72;
--color-hairline: #e6e5e0;
--color-hairline-soft: #efeee8;
--color-success: #1f8a65;
--color-warning: #c08532;
--color-error: #cf2d56;
--body-background-color: var(--color-canvas) !important;
--body-text-color: var(--color-ink) !important;
--card-background-color: transparent !important;
--card-border-color: transparent !important;
--nav-background-color: var(--color-canvas) !important;
--nav-border-bottom-color: var(--color-hairline) !important;
--nav-current-border-bottom-color: var(--color-ink) !important;
--down-border-left-color: var(--color-error) !important;
--down-background-color: transparent !important;
--down-color-color: var(--color-ink) !important;
--degraded-border-left-color: var(--color-warning) !important;
--degraded-color-color: var(--color-ink) !important;
--up-border-left-color: var(--color-success) !important;
--up-color-color: var(--color-ink) !important;
--tag-color: var(--color-muted) !important;
--tag-up-background-color: transparent !important;
--tag-down-background-color: transparent !important;
--tag-degraded-background-color: transparent !important;
--code-color: var(--color-ink) !important;
--code-background-color: transparent !important;
--error-button-border-color: rgba(38, 37, 30, 0.2) !important;
--error-button-background-color: transparent !important;
--error-button-color: var(--color-ink) !important;
--submit-button-background-color: var(--color-ink) !important;
--submit-button-color: var(--color-canvas) !important;
--submit-button-border-color: var(--color-ink) !important;
}
body {
font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important;
background: var(--color-canvas) !important;
color: var(--color-ink) !important;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 {
font-family: inherit !important;
color: var(--color-ink) !important;
font-weight: 400;
letter-spacing: -0.01em;
}
/* Hero h1 — display-lg */
main h1, .intro h1 {
font-size: 36px;
font-weight: 400;
line-height: 1.2;
letter-spacing: -0.72px;
margin: 0 0 8px;
}
/* "Recent incidents" — display-md */
main h2, .changed h2 {
font-size: 26px;
font-weight: 400;
line-height: 1.25;
letter-spacing: -0.325px;
margin: 80px 0 24px;
}
/* Row title — title-md */
article h3 {
font-size: 18px !important;
font-weight: 600 !important;
letter-spacing: 0 !important;
color: var(--color-ink) !important;
opacity: 1 !important;
margin: 0 0 4px !important;
}
/* "Updated N minutes ago" sub */
.paperclip-last-update {
font-size: 16px;
color: var(--color-muted);
margin: 0 0 64px;
}
.lead, .lead p {
color: var(--color-muted) !important;
font-size: 16px !important;
font-weight: 400 !important;
}
a {
color: var(--color-ink) !important;
text-decoration: underline;
text-decoration-color: rgba(38, 37, 30, 0.3);
text-underline-offset: 2px;
transition: text-decoration-color 0.15s ease;
}
a:hover {
text-decoration-color: var(--color-ink) !important;
}
/* Nav: flat canvas, hairline baseline, no glassmorphism */
nav {
position: sticky !important;
top: 0 !important;
z-index: 100 !important;
background: var(--color-canvas) !important;
border-bottom: 1px solid var(--color-hairline) !important;
padding: 0 !important;
backdrop-filter: none !important;
-webkit-backdrop-filter: none !important;
}
nav .container {
padding-top: 18px !important;
padding-bottom: 18px !important;
}
nav a {
color: var(--color-muted) !important;
text-decoration: none !important;
font-size: 14px !important;
font-weight: 500 !important;
}
nav a:hover { color: var(--color-ink) !important; }
nav .logo div {
color: var(--color-ink) !important;
font-weight: 600 !important;
font-size: 16px !important;
}
[aria-current] {
color: var(--color-ink) !important;
border-bottom: none !important;
}
/* 720px max, generous gutters */
.container {
max-width: 720px !important;
padding-left: 24px !important;
padding-right: 24px !important;
}
/* Hero top breathing room */
main > section:first-of-type,
.intro {
padding-top: 80px !important;
}
/* Service rows: flat editorial, dot at left */
article {
background: transparent !important;
border: 0 !important;
border-bottom: 1px solid var(--color-hairline-soft) !important;
border-radius: 0 !important;
padding: 20px 0 20px 20px !important;
margin: 0 !important;
position: relative !important;
}
article + article { margin-top: 0 !important; }
/* The 6px status dot (only color on the page) */
article::before {
content: '';
position: absolute;
left: 0;
top: 28px;
width: 6px;
height: 6px;
border-radius: 9999px;
background: var(--color-success);
}
article.up::before { background: var(--color-success); }
article.degraded::before { background: var(--color-warning); }
article.down::before { background: var(--color-error); }
article.down-active {
background: rgba(207, 45, 86, 0.04) !important;
border-color: rgba(207, 45, 86, 0.2) !important;
}
/* Status word at right — caption-uppercase but lowercased */
.tag {
background: transparent !important;
color: var(--color-muted) !important;
font-size: 11px !important;
font-weight: 600 !important;
letter-spacing: 0.88px !important;
text-transform: lowercase !important;
padding: 0 !important;
border-radius: 0 !important;
}
/* Time-range form labels (Upptime shows day/week/month/year switcher) */
form label {
color: var(--color-muted) !important;
font-size: 14px !important;
}
input[type="radio"]:checked + label { color: var(--color-ink) !important; }
/* Footer — body-sm muted, hairline top */
footer {
color: var(--color-muted) !important;
border-top: 1px solid var(--color-hairline) !important;
font-size: 14px !important;
padding: 32px 0 !important;
margin-top: 80px !important;
}
footer a { color: var(--color-muted) !important; }
footer a:hover { color: var(--color-ink) !important; }
/* Loading spinner — muted, calm */
.loading svg { stroke: var(--color-muted) !important; }