2020-12-08 10:18:34 +00:00
|
|
|
{{template "base" .}}
|
|
|
|
|
|
|
|
{{define "title"}}{{.Title}}{{end}}
|
|
|
|
|
|
|
|
{{define "page_body"}}
|
|
|
|
|
|
|
|
<div class="card mb-4 {{ if .Status.SSH.IsActive}}border-left-success{{else}}border-left-info{{end}}">
|
|
|
|
<div class="card-body">
|
|
|
|
<h5 class="card-title">SFTP/SSH server</h5>
|
|
|
|
<p class="card-text">
|
|
|
|
Status: {{ if .Status.SSH.IsActive}}"Started"{{else}}"Stopped"{{end}}
|
|
|
|
{{if .Status.SSH.IsActive}}
|
|
|
|
<br>
|
2020-12-23 15:12:30 +00:00
|
|
|
{{range .Status.SSH.Bindings}}
|
2020-12-08 10:18:34 +00:00
|
|
|
<br>
|
2020-12-23 15:12:30 +00:00
|
|
|
Address: "{{.GetAddress}}" {{if .HasProxy}}Proxy: ON{{end}}
|
|
|
|
<br>
|
|
|
|
{{end}}
|
2020-12-08 10:18:34 +00:00
|
|
|
Accepted commands: "{{.Status.SSH.SSHCommands}}"
|
|
|
|
<br>
|
|
|
|
{{range .Status.SSH.HostKeys}}
|
|
|
|
<br>
|
|
|
|
Host Key: "{{.Path}}"
|
|
|
|
<br>
|
|
|
|
Fingerprint: "{{.Fingerprint}}"
|
|
|
|
<br>
|
|
|
|
{{end}}
|
|
|
|
{{end}}
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="card mb-4 {{ if .Status.FTP.IsActive}}border-left-success{{else}}border-left-info{{end}}">
|
|
|
|
<div class="card-body">
|
|
|
|
<h5 class="card-title">FTP server</h5>
|
|
|
|
<p class="card-text">
|
|
|
|
Status: {{ if .Status.FTP.IsActive}}"Started"{{else}}"Stopped"{{end}}
|
|
|
|
{{if .Status.FTP.IsActive}}
|
|
|
|
<br>
|
2020-12-23 15:12:30 +00:00
|
|
|
{{range .Status.FTP.Bindings}}
|
2020-12-08 10:18:34 +00:00
|
|
|
<br>
|
2020-12-23 15:12:30 +00:00
|
|
|
Address: "{{.GetAddress}}" {{if .HasProxy}}Proxy: ON{{end}}
|
|
|
|
<br>
|
|
|
|
TLS: "{{.GetTLSDescription}}"
|
|
|
|
{{if .ForcePassiveIP}}
|
|
|
|
<br>
|
|
|
|
PassiveIP: {{.ForcePassiveIP}}
|
|
|
|
{{end}}
|
2020-12-08 10:18:34 +00:00
|
|
|
<br>
|
2020-12-23 15:12:30 +00:00
|
|
|
{{end}}
|
|
|
|
<br>
|
|
|
|
Passive port range: "{{.Status.FTP.PassivePortRange.Start}}-{{.Status.FTP.PassivePortRange.End}}"
|
2020-12-08 10:18:34 +00:00
|
|
|
{{end}}
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="card mb-4 {{ if .Status.WebDAV.IsActive}}border-left-success{{else}}border-left-info{{end}}">
|
|
|
|
<div class="card-body">
|
|
|
|
<h5 class="card-title">WebDAV server</h5>
|
|
|
|
<p class="card-text">
|
|
|
|
Status: {{ if .Status.WebDAV.IsActive}}"Started"{{else}}"Stopped"{{end}}
|
|
|
|
{{if .Status.WebDAV.IsActive}}
|
|
|
|
<br>
|
2020-12-23 15:12:30 +00:00
|
|
|
{{range .Status.WebDAV.Bindings}}
|
2020-12-08 10:18:34 +00:00
|
|
|
<br>
|
2020-12-23 15:12:30 +00:00
|
|
|
Address: "{{.GetAddress}}"
|
|
|
|
<br>
|
|
|
|
Protocol: {{if .EnableHTTPS}} HTTPS {{else}} HTTP {{end}}
|
|
|
|
<br>
|
|
|
|
{{end}}
|
2020-12-08 10:18:34 +00:00
|
|
|
{{end}}
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="card mb-4 {{ if .Status.DataProvider.IsActive}}border-left-success{{else}}border-left-warning{{end}}">
|
|
|
|
<div class="card-body">
|
|
|
|
<h5 class="card-title">Data provider</h5>
|
|
|
|
<p class="card-text">
|
|
|
|
Status: {{ if .Status.DataProvider.IsActive}}"OK"{{else}}"{{.Status.DataProvider.Error}}"{{end}}
|
|
|
|
<br>
|
|
|
|
Driver: "{{.Status.DataProvider.Driver}}"
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{{end}}
|