mobile bunch of updayes
Former-commit-id: 28552c1940bdc0b97545123038a424d11e7d9c68
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
<h2>Folders</h2>
|
||||
<div>
|
||||
{{- range .Items }}
|
||||
{{- if and (.UserAllowed) (.IsDir) }}
|
||||
{{- if (.IsDir) }}
|
||||
{{ template "item" .}}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
@@ -47,7 +47,7 @@
|
||||
<h2>Files</h2>
|
||||
<div>
|
||||
{{- range .Items }}
|
||||
{{- if and (.UserAllowed) (not .IsDir) }}
|
||||
{{- if (not .IsDir) }}
|
||||
{{ template "item" .}}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
@@ -55,7 +55,7 @@
|
||||
{{- end }}
|
||||
</div>
|
||||
|
||||
<input style="display:none" type="file" id="upload-input" onchange="handleFiles(this.files, '')" value="Upload" multiple>
|
||||
<input style="display:none" type="file" id="upload-input" onchange="listing.handleFiles(this.files, '')" value="Upload" multiple>
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user