aboutsummaryrefslogtreecommitdiff
path: root/templates/install.tmpl
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2017-02-18 12:47:35 -0500
committerUnknwon <u@gogs.io>2017-02-18 12:47:35 -0500
commit21d538a73857e4732dc2060279ee486caa93e921 (patch)
treeb85fe7054dee775de211f1396474c12ecceed6e8 /templates/install.tmpl
parent36f448f47fefe9222a7781063b28d81937053964 (diff)
install: able to enable builtin SSH server (#3773)
Diffstat (limited to 'templates/install.tmpl')
-rw-r--r--templates/install.tmpl6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/install.tmpl b/templates/install.tmpl
index 3dd3e985..193eaac5 100644
--- a/templates/install.tmpl
+++ b/templates/install.tmpl
@@ -99,6 +99,12 @@
<input id="ssh_port" name="ssh_port" value="{{.ssh_port}}">
<span class="help">{{.i18n.Tr "install.ssh_port_helper"}}</span>
</div>
+ <div class="inline field" id="use-builtin-ssh-server">
+ <div class="ui checkbox">
+ <label class="poping up" data-content="{{.i18n.Tr "install.use_builtin_ssh_server_popup"}}"><strong>{{.i18n.Tr "install.use_builtin_ssh_server"}}</strong></label>
+ <input name="use_builtin_ssh_server" type="checkbox" {{if .use_builtin_ssh_server}}checked{{end}}>
+ </div>
+ </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>