mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-05-12 17:04:46 +00:00
92 lines
3.0 KiB
HTML
92 lines
3.0 KiB
HTML
<app-page-layout [hasError]="!isValidPath">
|
|
<app-page-layout-header>
|
|
<adf-breadcrumb
|
|
[root]="title"
|
|
[folderNode]="node"
|
|
[maxItems]="isSmallScreen ? 1 : 0"
|
|
(navigate)="onBreadcrumbNavigate($event)"
|
|
>
|
|
</adf-breadcrumb>
|
|
|
|
<adf-toolbar class="inline">
|
|
<ng-container *ngFor="let entry of actions; trackBy: trackByActionId">
|
|
<aca-toolbar-action [actionRef]="entry"></aca-toolbar-action>
|
|
</ng-container>
|
|
</adf-toolbar>
|
|
</app-page-layout-header>
|
|
|
|
<app-page-layout-error>
|
|
<aca-generic-error></aca-generic-error>
|
|
</app-page-layout-error>
|
|
|
|
<app-page-layout-content>
|
|
<div class="main-content">
|
|
<adf-upload-drag-area [rootFolderId]="node?.id" [disabled]="!canUpload">
|
|
<adf-document-list
|
|
#documentList
|
|
acaDocumentList
|
|
acaContextActions
|
|
[display]="documentDisplayMode$ | async"
|
|
[sorting]="['modifiedAt', 'desc']"
|
|
selectionMode="multiple"
|
|
[currentFolderId]="node?.id"
|
|
[allowDropFiles]="true"
|
|
[navigate]="false"
|
|
[imageResolver]="imageResolver"
|
|
(node-dblclick)="navigateTo($event.detail?.node)"
|
|
(name-click)="navigateTo($event.detail?.node)"
|
|
>
|
|
<data-columns>
|
|
<ng-container *ngFor="let column of columns; trackBy: trackById">
|
|
<ng-container
|
|
*ngIf="
|
|
column.template && !(column.desktopOnly && isSmallScreen)
|
|
"
|
|
>
|
|
<data-column
|
|
[key]="column.key"
|
|
[title]="column.title"
|
|
[type]="column.type"
|
|
[format]="column.format"
|
|
[class]="column.class"
|
|
[sortable]="column.sortable"
|
|
>
|
|
<ng-template let-context>
|
|
<adf-dynamic-column
|
|
[id]="column.template"
|
|
[context]="context"
|
|
>
|
|
</adf-dynamic-column>
|
|
</ng-template>
|
|
</data-column>
|
|
</ng-container>
|
|
|
|
<ng-container
|
|
*ngIf="
|
|
!column.template && !(column.desktopOnly && isSmallScreen)
|
|
"
|
|
>
|
|
<data-column
|
|
[key]="column.key"
|
|
[title]="column.title"
|
|
[type]="column.type"
|
|
[format]="column.format"
|
|
[class]="column.class"
|
|
[sortable]="column.sortable"
|
|
>
|
|
</data-column>
|
|
</ng-container>
|
|
</ng-container>
|
|
</data-columns>
|
|
</adf-document-list>
|
|
|
|
<adf-pagination acaPagination [target]="documentList"> </adf-pagination>
|
|
</adf-upload-drag-area>
|
|
</div>
|
|
|
|
<div class="sidebar" *ngIf="(infoDrawerOpened$ | async)">
|
|
<aca-info-drawer [node]="selection.last"></aca-info-drawer>
|
|
</div>
|
|
</app-page-layout-content>
|
|
</app-page-layout>
|