portainer/app/agent/components/volume-browser/volumeBrowser.html

16 lines
473 B
HTML

<files-datatable
title-text="Volume browser"
title-icon="fa-file"
dataset="$ctrl.files"
table-key="volume_browser"
order-by="Dir"
is-root="$ctrl.state.path === '/'"
go-to-parent="$ctrl.up()"
browse="$ctrl.browse(name)"
rename="$ctrl.rename(name, newName)"
download="$ctrl.download(name)"
delete="$ctrl.confirmDelete(name)"
is-upload-allowed="$ctrl.isUploadEnabled"
on-file-selected-for-upload="($ctrl.onFileSelectedForUpload)"
></files-datatable>