Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
solo-1
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
solo-1
Commits
9c8549eb
Commit
9c8549eb
authored
Sep 12, 2017
by
Liang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🔨
error page
parent
bc8eda52
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
29 deletions
+15
-29
src/main/webapp/css/default-init.css
src/main/webapp/css/default-init.css
+4
-18
src/main/webapp/error/403.ftl
src/main/webapp/error/403.ftl
+5
-4
src/main/webapp/error/404.ftl
src/main/webapp/error/404.ftl
+3
-4
src/main/webapp/error/500.ftl
src/main/webapp/error/500.ftl
+3
-3
No files found.
src/main/webapp/css/default-init.css
View file @
9c8549eb
...
@@ -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 */
...
...
src/main/webapp/error/403.ftl
View file @
9c8549eb
...
@@ -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>
src/main/webapp/error/404.ftl
View file @
9c8549eb
...
@@ -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
src/main/webapp/error/500.ftl
View file @
9c8549eb
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment