summaryrefslogtreecommitdiffstats
path: root/templates/install.tmpl
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-08-19 20:36:19 +0800
committerUnknwon <u@gogs.io>2015-08-19 20:36:19 +0800
commitbd1d7d1509e87c8ace6d8372cd1db7535ce06525 (patch)
treedbce69b06521abafb5fe0ad01014e6e5f3826d28 /templates/install.tmpl
parent1453e91f419e52fc74e3ec51b47a080a27a33342 (diff)
downloadgitea-bd1d7d1509e87c8ace6d8372cd1db7535ce06525.tar.gz
gitea-bd1d7d1509e87c8ace6d8372cd1db7535ce06525.zip
Able to set SSH port when install, update Docker docs
Diffstat (limited to 'templates/install.tmpl')
-rw-r--r--templates/install.tmpl9
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/install.tmpl b/templates/install.tmpl
index e28468f07b..f92843692d 100644
--- a/templates/install.tmpl
+++ b/templates/install.tmpl
@@ -93,6 +93,11 @@
<span class="help">{{.i18n.Tr "install.domain_helper"}}</span>
</div>
<div class="inline required field">
+ <label for="ssh_port">{{.i18n.Tr "install.ssh_port"}}</label>
+ <input id="ssh_port" name="ssh_port" value="{{.ssh_port}}">
+ <span class="help">{{.i18n.Tr "install.ssh_port_helper"}}</span>
+ </div>
+ <div class="inline required field">
<label for="http_port">{{.i18n.Tr "install.http_port"}}</label>
<input id="http_port" name="http_port" value="{{.http_port}}" required>
<span class="help">{{.i18n.Tr "install.http_port_helper"}}</span>
@@ -105,6 +110,8 @@
<!-- Optional Settings -->
<h4 class="ui dividing header">{{.i18n.Tr "install.optional_title"}}</h4>
+
+ <!-- Email -->
<div class="ui accordion optional field">
<div class="title {{if .Err_SMTP}}text red{{end}}">
<i class="icon dropdown"></i>
@@ -143,6 +150,7 @@
</div>
</div>
+ <!-- Server and other services -->
<div class="ui accordion optional field">
<div class="title">
<i class="icon dropdown"></i>
@@ -170,6 +178,7 @@
</div>
</div>
+ <!-- Admin -->
<div class="ui accordion optional field">
<div class="title {{if .Err_Admin}}text red{{end}}">
<i class="icon dropdown"></i>