diff options
author | Unknwon <u@gogs.io> | 2017-02-18 12:47:35 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2017-02-18 12:47:35 -0500 |
commit | 21d538a73857e4732dc2060279ee486caa93e921 (patch) | |
tree | b85fe7054dee775de211f1396474c12ecceed6e8 /templates/install.tmpl | |
parent | 36f448f47fefe9222a7781063b28d81937053964 (diff) |
install: able to enable builtin SSH server (#3773)
Diffstat (limited to 'templates/install.tmpl')
-rw-r--r-- | templates/install.tmpl | 6 |
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> |