annotate public/422.html @ 243:bc2f45058c9e legit-client

Prevent caching of rate limited error and combine response handling
author nanaya <me@nanaya.net>
date Sun, 16 Jul 2023 08:53:59 +0900
parents 4a94ed44142d
children 89f6c0016bab
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
1 <!DOCTYPE html>
210
4a94ed44142d More html compliance
nanaya <me@nanaya.pro>
parents: 0
diff changeset
2 <html lang="en">
0
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
3 <head>
210
4a94ed44142d More html compliance
nanaya <me@nanaya.pro>
parents: 0
diff changeset
4 <meta charset="utf-8">
0
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
5 <title>The change you wanted was rejected (422)</title>
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
6 <meta name="viewport" content="width=device-width,initial-scale=1">
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
7 <style>
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
8 body {
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
9 background-color: #EFEFEF;
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
10 color: #2E2F30;
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
11 text-align: center;
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
12 font-family: arial, sans-serif;
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
13 margin: 0;
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
14 }
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
15
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
16 div.dialog {
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
17 width: 95%;
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
18 max-width: 33em;
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
19 margin: 4em auto 0;
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
20 }
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
21
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
22 div.dialog > div {
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
23 border: 1px solid #CCC;
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
24 border-right-color: #999;
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
25 border-left-color: #999;
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
26 border-bottom-color: #BBB;
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
27 border-top: #B00100 solid 4px;
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
28 border-top-left-radius: 9px;
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
29 border-top-right-radius: 9px;
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
30 background-color: white;
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
31 padding: 7px 12% 0;
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
32 box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
33 }
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
34
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
35 h1 {
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
36 font-size: 100%;
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
37 color: #730E15;
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
38 line-height: 1.5em;
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
39 }
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
40
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
41 div.dialog > p {
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
42 margin: 0 0 1em;
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
43 padding: 1em;
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
44 background-color: #F7F7F7;
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
45 border: 1px solid #CCC;
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
46 border-right-color: #999;
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
47 border-left-color: #999;
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
48 border-bottom-color: #999;
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
49 border-bottom-left-radius: 4px;
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
50 border-bottom-right-radius: 4px;
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
51 border-top-color: #DADADA;
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
52 color: #666;
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
53 box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
54 }
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
55 </style>
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
56 </head>
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
57
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
58 <body>
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
59 <!-- This file lives in public/422.html -->
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
60 <div class="dialog">
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
61 <div>
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
62 <h1>The change you wanted was rejected.</h1>
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
63 <p>Maybe you tried to change something you didn't have access to.</p>
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
64 </div>
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
65 <p>If you are the application owner check the logs for more information.</p>
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
66 </div>
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
67 </body>
a1c9fadc0904 Initial.
edogawaconan <me@myconan.net>
parents:
diff changeset
68 </html>