{{ $absURL := .BaseURL }} {{.Name}} {{- if ne .User.StyleSheet "" -}} {{- end -}} {{- if .IsDir }} {{- else }} {{- end }}

File Manager

exit_to_app
{{- if ne .Name "/"}} {{- end }} {{ if ne .Name "/"}}

{{ .Name }}

{{ end }}
{{- if and (not .IsDir) (.User.AllowEdit) }} {{- if .Editor}} {{- if eq .Data.Mode "markdown" }}
remove_red_eye
{{- end }} {{- if eq .Data.Visual true }}
code
{{- end }} {{- end }}
save
{{- end }} {{- if .IsDir }}
open_in_new See raw
{{- end }} {{- if and (.User.AllowEdit) (.IsDir) }}
forward Move file
{{- end }} {{- if and .IsDir .User.AllowEdit }}
mode_edit
{{- end }} {{- if and .User.AllowEdit .IsDir }}
deleteDelete
{{- end }}
more_vert
{{- if .IsDir }}
{{- if eq .Display "mosaic" }} view_listSwitch view {{- else }} view_moduleSwitch view {{- end }}
check_circleSelect
{{- end }} {{- if and (.User.AllowNew) (.IsDir) }}
file_uploadUpload
{{- end }} {{- if not .IsDir }}
open_in_new See raw
{{- end }} {{- if and .User.AllowEdit (not .IsDir) }}
deleteDelete
{{- end }}
{{- if not .IsDir}}{{ end }} file_downloadDownload {{- if not .IsDir}}{{ end }} {{- if .IsDir }} {{- end }}
infoInfo

Multiple selection enabled

clear
{{- template "content" . }}
{{- if and (.User.AllowNew) (.IsDir) }}
add
{{- end }} {{ template "templates" . }}