Commit 9c8549eb authored by Liang's avatar Liang

🔨 error page

parent bc8eda52
......@@ -194,29 +194,15 @@ button:active {
/* end article-pwd */
/* start 403/404/500 */
.a-403, .a-500, .a-404 {
margin: 20px 50px 0 0 ;
.a-error {
text-align: right;
}
.a-403 {
margin: 10px 75px 0 0 ;
}
.img-500,
.img-403,
.img-404 {
.img-error {
max-width: 100%;
margin: 20px 0 ;
margin: 20px auto;
padding: 0;
}
.a-500 {
margin: 25px 35px 0 0 ;
}
.a-404 {
margin: 42px 35px 0 0;
display: block;
}
/* end 403/404/500 */
......
......@@ -2,9 +2,10 @@
<@commonPage "403 Forbidden!">
<h2>403 Forbidden!</h2>
<img class="img-403" src="${staticServePath}/images/403.png" alt="403: forbidden" title="403: forbidden" />
<div class="a-403">
<a href="${servePath}">Index</a> |
<a href="${loginURL}">Login</a>
<img class="img-error" src="${staticServePath}/images/403.png" alt="403: forbidden" title="403: forbidden" />
<div class="a-error">
Please
<a href="${loginURL}">Login</a>.
Return to <a href="${servePath}">Index</a> or <a href="https://hacpai.com">HacPai</a>.
</div>
</@commonPage>
......@@ -2,9 +2,8 @@
<@commonPage "404 Not Found!">
<h2>404 Not Found!</h2>
<img class="img-404" src="${staticServePath}/images/404.gif" title="404" alt="404 Not Found!"/>
<div class="a-404">
欢迎访问
<a href="https://hacpai.com">黑客与画家</a>
<img class="img-error" src="${staticServePath}/images/404.gif" title="404" alt="404 Not Found!"/>
<div class="a-error">
Return to <a href="${servePath}">Index</a> or <a href="https://hacpai.com">HacPai</a>.
</div>
</@commonPage>
\ No newline at end of file
......@@ -2,10 +2,10 @@
<@commonPage "500 Internal Server Error!">
<h2>500 Internal Server Error!</h2>
<img class="img-500" src="${staticServePath}/images/500.png" title="500: internal error" alt="500: internal error" />
<div class="a-500">
<img class="img-error" src="${staticServePath}/images/500.png" title="500: internal error" alt="500: internal error" />
<div class="a-error">
Please
<a href="https://github.com/b3log/solo/issues/new">report</a>.
Return to <a href="${servePath}">Index</a>.
Return to <a href="${servePath}">Index</a> or <a href="https://hacpai.com">HacPai</a>.
</div>
</@commonPage>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment