This repository has been archived by the owner on Jul 13, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
78 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<!doctype html> | ||
<html lang="zh-CN"> | ||
|
||
<!--suppress HtmlRequiredTitleElement --> | ||
<head> | ||
{{ block "head.html" . }}{{ end }} | ||
</head> | ||
|
||
<body> | ||
|
||
|
||
<main class="container"> | ||
|
||
{{ block "nav.html" . }}{{ end }} | ||
|
||
<!-- 欢迎 --> | ||
<hgroup> | ||
<h1>糟糕😱, {{ .Nickname }}</h1> | ||
<h2>你似乎遇到了什么麻烦</h2> | ||
</hgroup> | ||
|
||
<!-- 错误信息 --> | ||
<article> | ||
<hgroup> | ||
<h2>{{ .Error.Title }}</h2> | ||
<h3>{{ .Error.Intro }}</h3> | ||
</hgroup> | ||
</article> | ||
|
||
|
||
</main> | ||
|
||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package web | ||
|
||
var ( | ||
errNoMapTokenWeb = simpleError{ | ||
Title: "NoMapTokenWeb", | ||
Intro: "天地图 浏览器端 API Token 未设置", | ||
} | ||
errNoMapTokenApi = simpleError{ | ||
Title: "NoMapTokenApi", | ||
Intro: "天地图 服务器端 API Token 未设置", | ||
} | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters