mirror of
https://github.com/astuto/astuto.git
synced 2025-12-16 11:47:56 +01:00
Fix public html pages (#312)
This commit is contained in:
committed by
GitHub
parent
437262040a
commit
d1f04ef2ed
@@ -3,11 +3,45 @@
|
|||||||
<head>
|
<head>
|
||||||
<title>Page not found</title>
|
<title>Page not found</title>
|
||||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||||
<link rel="stylesheet" href="https://raw.githubusercontent.com/astuto/astuto-assets/main/public/style.css" />
|
|
||||||
|
<style type="text/css">
|
||||||
|
.card {
|
||||||
|
/* Bootstrap 4.6.2 card style */
|
||||||
|
position: relative;
|
||||||
|
display: -ms-flexbox;
|
||||||
|
display: flex;
|
||||||
|
-ms-flex-direction: column;
|
||||||
|
flex-direction: column;
|
||||||
|
min-width: 0;
|
||||||
|
word-wrap: break-word;
|
||||||
|
background-color: #fff;
|
||||||
|
background-clip: border-box;
|
||||||
|
border: 1px solid rgba(0, 0, 0, 0.125);
|
||||||
|
border-radius: 0.25rem;
|
||||||
|
|
||||||
|
/* My customizations */
|
||||||
|
max-width: 540px;
|
||||||
|
text-align: center;
|
||||||
|
font-family: system-ui;
|
||||||
|
margin: 0 auto;
|
||||||
|
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04),0 2px 4px -1px rgba(0, 0, 0, 0.03);
|
||||||
|
color: black;
|
||||||
|
padding: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.logo {
|
||||||
|
text-align: center;
|
||||||
|
margin-bottom: 16px;
|
||||||
|
}
|
||||||
|
.error-image { margin: 0 auto; }
|
||||||
|
.error-description { font-size: 18px; }
|
||||||
|
a { color: black; }
|
||||||
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<!-- This file lives in public/404.html -->
|
<!-- This file lives in public/404.html -->
|
||||||
|
<div class="logo"><img src="https://raw.githubusercontent.com/astuto/astuto-assets/main/logo-256.png" width="64" height="64" /></div>
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<h1>Page not found</h1>
|
<h1>Page not found</h1>
|
||||||
<img src="https://raw.githubusercontent.com/astuto/astuto-assets/main/public/error-404.png" width="64" height="64" class="error-image" />
|
<img src="https://raw.githubusercontent.com/astuto/astuto-assets/main/public/error-404.png" width="64" height="64" class="error-image" />
|
||||||
|
|||||||
@@ -3,11 +3,45 @@
|
|||||||
<head>
|
<head>
|
||||||
<title>The change you wanted was rejected</title>
|
<title>The change you wanted was rejected</title>
|
||||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||||
<link rel="stylesheet" href="https://raw.githubusercontent.com/astuto/astuto-assets/main/public/style.css" />
|
|
||||||
|
<style type="text/css">
|
||||||
|
.card {
|
||||||
|
/* Bootstrap 4.6.2 card style */
|
||||||
|
position: relative;
|
||||||
|
display: -ms-flexbox;
|
||||||
|
display: flex;
|
||||||
|
-ms-flex-direction: column;
|
||||||
|
flex-direction: column;
|
||||||
|
min-width: 0;
|
||||||
|
word-wrap: break-word;
|
||||||
|
background-color: #fff;
|
||||||
|
background-clip: border-box;
|
||||||
|
border: 1px solid rgba(0, 0, 0, 0.125);
|
||||||
|
border-radius: 0.25rem;
|
||||||
|
|
||||||
|
/* My customizations */
|
||||||
|
max-width: 540px;
|
||||||
|
text-align: center;
|
||||||
|
font-family: system-ui;
|
||||||
|
margin: 0 auto;
|
||||||
|
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04),0 2px 4px -1px rgba(0, 0, 0, 0.03);
|
||||||
|
color: black;
|
||||||
|
padding: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.logo {
|
||||||
|
text-align: center;
|
||||||
|
margin-bottom: 16px;
|
||||||
|
}
|
||||||
|
.error-image { margin: 0 auto; }
|
||||||
|
.error-description { font-size: 18px; }
|
||||||
|
a { color: black; }
|
||||||
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<!-- This file lives in public/422.html -->
|
<!-- This file lives in public/422.html -->
|
||||||
|
<div class="logo"><img src="https://raw.githubusercontent.com/astuto/astuto-assets/main/logo-256.png" width="64" height="64" /></div>
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<h1>Rejected</h1>
|
<h1>Rejected</h1>
|
||||||
<img src="https://raw.githubusercontent.com/astuto/astuto-assets/main/public/error-422.png" width="64" height="64" class="error-image" />
|
<img src="https://raw.githubusercontent.com/astuto/astuto-assets/main/public/error-422.png" width="64" height="64" class="error-image" />
|
||||||
|
|||||||
@@ -3,11 +3,45 @@
|
|||||||
<head>
|
<head>
|
||||||
<title>We're sorry, but something went wrong</title>
|
<title>We're sorry, but something went wrong</title>
|
||||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||||
<link rel="stylesheet" href="https://raw.githubusercontent.com/astuto/astuto-assets/main/public/style.css" />
|
|
||||||
|
<style type="text/css">
|
||||||
|
.card {
|
||||||
|
/* Bootstrap 4.6.2 card style */
|
||||||
|
position: relative;
|
||||||
|
display: -ms-flexbox;
|
||||||
|
display: flex;
|
||||||
|
-ms-flex-direction: column;
|
||||||
|
flex-direction: column;
|
||||||
|
min-width: 0;
|
||||||
|
word-wrap: break-word;
|
||||||
|
background-color: #fff;
|
||||||
|
background-clip: border-box;
|
||||||
|
border: 1px solid rgba(0, 0, 0, 0.125);
|
||||||
|
border-radius: 0.25rem;
|
||||||
|
|
||||||
|
/* My customizations */
|
||||||
|
max-width: 540px;
|
||||||
|
text-align: center;
|
||||||
|
font-family: system-ui;
|
||||||
|
margin: 0 auto;
|
||||||
|
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04),0 2px 4px -1px rgba(0, 0, 0, 0.03);
|
||||||
|
color: black;
|
||||||
|
padding: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.logo {
|
||||||
|
text-align: center;
|
||||||
|
margin-bottom: 16px;
|
||||||
|
}
|
||||||
|
.error-image { margin: 0 auto; }
|
||||||
|
.error-description { font-size: 18px; }
|
||||||
|
a { color: black; }
|
||||||
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<!-- This file lives in public/500.html -->
|
<!-- This file lives in public/500.html -->
|
||||||
|
<div class="logo"><img src="https://raw.githubusercontent.com/astuto/astuto-assets/main/logo-256.png" width="64" height="64" /></div>
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<h1>Something went wrong</h1>
|
<h1>Something went wrong</h1>
|
||||||
<img src="https://raw.githubusercontent.com/astuto/astuto-assets/main/public/error-500.png" width="64" height="64" class="error-image" />
|
<img src="https://raw.githubusercontent.com/astuto/astuto-assets/main/public/error-500.png" width="64" height="64" class="error-image" />
|
||||||
|
|||||||
Reference in New Issue
Block a user