Commit 9c8549eb authored by Liang's avatar Liang

🔨 error page

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