{{ define "index" }} {{ if .Path }} {{ .Path }} {{ else }} {{ if .Upload }} Upload {{ else }} Error {{ end }} {{ end }} {{ if .Path }}

Index of: {{ .Path }}

{{ range .Dirs }} {{ template "filelabel" . }} {{ end }} {{ range .Items }} {{ template "filelabel" . }} {{ end }}
{{ else }} {{ if .Error }}

{{ .Error }}

{{ else }} {{ if .Upload }}

Upload

Path:
File:
Username:
Password:
OTP:
{{ end }} {{ end }} {{ end }} {{ end }}