mirror of
https://github.com/portainer/portainer.git
synced 2025-08-04 21:35:23 +02:00
feat(docker): migrate files table to react [EE-4663] (#8916)
This commit is contained in:
parent
146681e1c7
commit
09f60c3277
24 changed files with 529 additions and 229 deletions
|
@ -1,16 +1,12 @@
|
|||
<files-datatable
|
||||
title-text="Host browser - {{ $ctrl.getRelativePath() }}"
|
||||
title-icon="file"
|
||||
<agent-host-browser-react
|
||||
ng-if="$ctrl.files"
|
||||
dataset="$ctrl.files"
|
||||
table-key="host_browser"
|
||||
order-by="Dir"
|
||||
is-root="$ctrl.isRoot()"
|
||||
go-to-parent="$ctrl.goToParent()"
|
||||
browse="$ctrl.browse(name)"
|
||||
rename="$ctrl.renameFile(name, newName)"
|
||||
download="$ctrl.downloadFile(name)"
|
||||
delete="$ctrl.confirmDeleteFile(name)"
|
||||
is-upload-allowed="true"
|
||||
on-go-to-parent="($ctrl.goToParent)"
|
||||
relative-path="$ctrl.getRelativePath()"
|
||||
on-browse="($ctrl.browse)"
|
||||
on-rename="($ctrl.renameFile)"
|
||||
on-download="($ctrl.downloadFile)"
|
||||
on-delete="($ctrl.confirmDeleteFile)"
|
||||
on-file-selected-for-upload="($ctrl.onFileSelectedForUpload)"
|
||||
>
|
||||
</files-datatable>
|
||||
></agent-host-browser-react>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue