diff --git a/custom/public/img/icon-403@2x.png b/custom/public/img/icon-403@2x.png new file mode 100644 index 000000000..65bc29cd8 Binary files /dev/null and b/custom/public/img/icon-403@2x.png differ diff --git a/custom/public/img/icon-500@2x.png b/custom/public/img/icon-500@2x.png new file mode 100644 index 000000000..e493b71c7 Binary files /dev/null and b/custom/public/img/icon-500@2x.png differ diff --git a/templates/explore/repo_list.tmpl b/templates/explore/repo_list.tmpl index b10a860ae..093e54463 100755 --- a/templates/explore/repo_list.tmpl +++ b/templates/explore/repo_list.tmpl @@ -33,7 +33,7 @@ {{end}} - {{if or $.PageIsExplore $.PageIsProfileStarList }}{{if .Owner}}{{.Owner.Name}} / {{end}}{{end}}{{.Name}} + {{if or $.PageIsExplore $.PageIsProfileStarList }}{{if .Owner}}{{.Owner.Name}} / {{end}}{{end}}{{.Name}} {{if .IsArchived}}{{end}} {{if .IsPrivate}} diff --git a/templates/explore/repo_right.tmpl b/templates/explore/repo_right.tmpl index f6a073a05..3eebdd15c 100644 --- a/templates/explore/repo_right.tmpl +++ b/templates/explore/repo_right.tmpl @@ -1,4 +1 @@ - -
-申请贡献项目到OpenI -
\ No newline at end of file + \ No newline at end of file diff --git a/templates/status/404.tmpl b/templates/status/404.tmpl index 536038a91..d14e88083 100644 --- a/templates/status/404.tmpl +++ b/templates/status/404.tmpl @@ -3,7 +3,7 @@
- +

您的访问受限!

{{.i18n.Tr "error404" | Safe}}

diff --git a/templates/status/500.tmpl b/templates/status/500.tmpl index db4e3e234..4af002d4c 100644 --- a/templates/status/500.tmpl +++ b/templates/status/500.tmpl @@ -1,16 +1,13 @@ {{template "base/head" .}} {{if .IsRepo}}
{{template "repo/header" .}}
{{end}} -
-
-

- 500 -

-
-
-
-

{{.i18n.Tr "error404" | Safe}} - {{if .ShowFooterVersion}}

{{.i18n.Tr "admin.config.app_ver"}}: {{AppVer}}

{{end}} -
+ +
+
+ + +

抱歉!您指定的网页无法访问。

+

{{.i18n.Tr "error404" | Safe}}

+ +{{template "base/footer" .}} \ No newline at end of file diff --git a/web_src/less/_repository.less b/web_src/less/_repository.less index aca922684..0382595b3 100644 --- a/web_src/less/_repository.less +++ b/web_src/less/_repository.less @@ -2443,6 +2443,8 @@ .page.buttons { padding-top: 15px; + padding-bottom: 15px; + margin-bottom: 15px; } .ui.form {