|
|
@ -33,11 +33,11 @@ |
|
|
|
<div class="ui divider"></div> |
|
|
|
<div class="ui divider"></div> |
|
|
|
|
|
|
|
|
|
|
|
<dt>{{.i18n.Tr "admin.config.static_file_root_path"}}</dt> |
|
|
|
<dt>{{.i18n.Tr "admin.config.static_file_root_path"}}</dt> |
|
|
|
<dd>{{.StaticRootPath}}</dd> |
|
|
|
<dd><code>{{.StaticRootPath}}</code></dd> |
|
|
|
<dt>{{.i18n.Tr "admin.config.log_file_root_path"}}</dt> |
|
|
|
<dt>{{.i18n.Tr "admin.config.log_file_root_path"}}</dt> |
|
|
|
<dd>{{.LogRootPath}}</dd> |
|
|
|
<dd><code>{{.LogRootPath}}</code></dd> |
|
|
|
<dt>{{.i18n.Tr "admin.config.reverse_auth_user"}}</dt> |
|
|
|
<dt>{{.i18n.Tr "admin.config.reverse_auth_user"}}</dt> |
|
|
|
<dd>{{.ReverseProxyAuthUser}}</dd> |
|
|
|
<dd><code>{{.ReverseProxyAuthUser}}</code></dd> |
|
|
|
</dl> |
|
|
|
</dl> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
@ -76,30 +76,49 @@ |
|
|
|
</dl> |
|
|
|
</dl> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Repository Configuration --> |
|
|
|
<h4 class="ui top attached header"> |
|
|
|
<h4 class="ui top attached header"> |
|
|
|
{{.i18n.Tr "admin.config.repo_config"}} |
|
|
|
{{.i18n.Tr "admin.config.repo_config"}} |
|
|
|
</h4> |
|
|
|
</h4> |
|
|
|
<div class="ui attached table segment"> |
|
|
|
<div class="ui attached table segment"> |
|
|
|
<dl class="dl-horizontal admin-dl-horizontal"> |
|
|
|
<dl class="dl-horizontal admin-dl-horizontal"> |
|
|
|
<dt>{{.i18n.Tr "admin.config.repo_root_path"}}</dt> |
|
|
|
<dt>{{.i18n.Tr "admin.config.repo_root_path"}}</dt> |
|
|
|
<dd>{{.RepoRootPath}}</dd> |
|
|
|
<dd><code>{{.RepoRootPath}}</code></dd> |
|
|
|
<dt>{{.i18n.Tr "admin.config.script_type"}}</dt> |
|
|
|
<dt>{{.i18n.Tr "admin.config.script_type"}}</dt> |
|
|
|
<dd><code>{{.ScriptType}}</code></dd> |
|
|
|
<dd>{{.ScriptType}}</dd> |
|
|
|
<dt>{{.i18n.Tr "admin.config.repo_force_private"}}</dt> |
|
|
|
<dt>{{.i18n.Tr "admin.config.repo_force_private"}}</dt> |
|
|
|
<dd><i class="fa fa{{if .Repository.ForcePrivate}}-check{{end}}-square-o"></i></dd> |
|
|
|
<dd><i class="fa fa{{if .Repository.ForcePrivate}}-check{{end}}-square-o"></i></dd> |
|
|
|
<dt>{{.i18n.Tr "admin.config.max_creation_limit"}}</dt> |
|
|
|
<dt>{{.i18n.Tr "admin.config.max_creation_limit"}}</dt> |
|
|
|
<dd><code>{{.Repository.MaxCreationLimit}}</code></dd> |
|
|
|
<dd>{{.Repository.MaxCreationLimit}}</dd> |
|
|
|
<dt>{{.i18n.Tr "admin.config.preferred_licenses"}}</dt> |
|
|
|
<dt>{{.i18n.Tr "admin.config.preferred_licenses"}}</dt> |
|
|
|
<dd><code>{{Join .Repository.PreferredLicenses ", "}}</code></dd> |
|
|
|
<dd>{{Join .Repository.PreferredLicenses ", "}}</dd> |
|
|
|
<dt>{{.i18n.Tr "admin.config.disable_http_git"}}</dt> |
|
|
|
<dt>{{.i18n.Tr "admin.config.disable_http_git"}}</dt> |
|
|
|
<dd><i class="fa fa{{if .Repository.DisableHTTPGit}}-check{{end}}-square-o"></i></dd> |
|
|
|
<dd><i class="fa fa{{if .Repository.DisableHTTPGit}}-check{{end}}-square-o"></i></dd> |
|
|
|
<dt>{{.i18n.Tr "admin.config.enable_local_path_migration"}}</dt> |
|
|
|
<dt>{{.i18n.Tr "admin.config.enable_local_path_migration"}}</dt> |
|
|
|
<dd><i class="fa fa{{if .Repository.EnableLocalPathMigration}}-check{{end}}-square-o"></i></dd> |
|
|
|
<dd><i class="fa fa{{if .Repository.EnableLocalPathMigration}}-check{{end}}-square-o"></i></dd> |
|
|
|
<dt>{{.i18n.Tr "admin.config.commits_fetch_concurrency"}}</dt> |
|
|
|
<dt>{{.i18n.Tr "admin.config.commits_fetch_concurrency"}}</dt> |
|
|
|
<dd><code>{{.Repository.CommitsFetchConcurrency}}</code></dd> |
|
|
|
<dd>{{.Repository.CommitsFetchConcurrency}}</dd> |
|
|
|
</dl> |
|
|
|
</dl> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- HTTP Configuration --> |
|
|
|
|
|
|
|
<h4 class="ui top attached header"> |
|
|
|
|
|
|
|
{{.i18n.Tr "admin.config.http_config"}} |
|
|
|
|
|
|
|
</h4> |
|
|
|
|
|
|
|
<div class="ui attached table segment"> |
|
|
|
|
|
|
|
<dl class="dl-horizontal admin-dl-horizontal"> |
|
|
|
|
|
|
|
<dt>{{.i18n.Tr "admin.config.http_access_control_allow_origin"}}</dt> |
|
|
|
|
|
|
|
<dd> |
|
|
|
|
|
|
|
{{if .HTTP.AccessControlAllowOrigin}} |
|
|
|
|
|
|
|
<code>{{.HTTP.AccessControlAllowOrigin}}</code> |
|
|
|
|
|
|
|
{{else}} |
|
|
|
|
|
|
|
<i>{{.i18n.Tr "admin.config.not_set"}}</i> |
|
|
|
|
|
|
|
{{end}} |
|
|
|
|
|
|
|
</dd> |
|
|
|
|
|
|
|
</dl> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Database Configuration --> |
|
|
|
<h4 class="ui top attached header"> |
|
|
|
<h4 class="ui top attached header"> |
|
|
|
{{.i18n.Tr "admin.config.db_config"}} |
|
|
|
{{.i18n.Tr "admin.config.db_config"}} |
|
|
|
</h4> |
|
|
|
</h4> |
|
|
|