Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Optimize the installation page
  • Loading branch information
kerwin612 committed Dec 26, 2024
commit 1c88db0b38c4b14558e14b280a2d565a009f5acd
2 changes: 2 additions & 0 deletions options/locale/locale_en-US.ini
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,8 @@ license_desc = Go get <a target="_blank" rel="noopener noreferrer" href="%[1]s">

[install]
install = Installation
installing = Installing
installing_desc = Installing now, please wait
title = Initial Configuration
docker_helper = If you run Gitea inside Docker, please read the <a target="_blank" rel="noopener noreferrer" href="%s">documentation</a> before changing any settings.
require_db_desc = Gitea requires MySQL, PostgreSQL, MSSQL, SQLite3 or TiDB (MySQL protocol).
Expand Down
7 changes: 5 additions & 2 deletions templates/post-install.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,17 @@
<div class="home">
<div class="ui stackable middle very relaxed page grid">
<div class="sixteen wide center aligned centered column">
<h3 class="ui top attached">
{{ctx.Locale.Tr "install.installing"}}
</h3>
<div>
<img src="{{AssetUrlPrefix}}/img/loading.png" alt="{{ctx.Locale.Tr "loading"}}">
<img src="{{AssetUrlPrefix}}/img/loading.png" alt="{{ctx.Locale.Tr "install.installing"}}">
</div>
</div>
</div>
<div class="ui stackable middle very relaxed page grid">
<div class="sixteen wide center aligned centered column">
<p><a id="goto-user-login" href="{{AppSubUrl}}/user/login">{{ctx.Locale.Tr "loading"}}</a></p>
<p><a id="goto-user-login" href="{{AppSubUrl}}/user/login">{{ctx.Locale.Tr "install.installing_desc"}}...</a></p>
</div>
</div>
</div>
Expand Down
Loading