mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
* remove ContextMenuItemDirective * remove custom menu animation * remove custom menu styling * menu item component * material menu trigger * clean up menu theme * update context menu module * remoe context menu from libraries document list * clean up * clean up * tests
79 lines
3.1 KiB
HTML
79 lines
3.1 KiB
HTML
<div class="inner-layout">
|
|
<div class="inner-layout__header">
|
|
<adf-breadcrumb root="APP.BROWSE.LIBRARIES.TITLE">
|
|
</adf-breadcrumb>
|
|
|
|
<adf-toolbar class="inline">
|
|
<app-document-display-mode *ifExperimental="'cardview'"></app-document-display-mode>
|
|
|
|
<ng-container *ifExperimental="'extensions'">
|
|
<ng-container *ngFor="let entry of actions; trackBy: trackByActionId">
|
|
<aca-toolbar-action [actionRef]="entry"></aca-toolbar-action>
|
|
</ng-container>
|
|
</ng-container>
|
|
</adf-toolbar>
|
|
</div>
|
|
|
|
<div class="inner-layout__content">
|
|
<div class="inner-layout__panel">
|
|
<adf-document-list #documentList
|
|
acaDocumentList
|
|
[display]="documentDisplayMode$ | async"
|
|
currentFolderId="-mysites-"
|
|
selectionMode="single"
|
|
[navigate]="false"
|
|
[sorting]="[ 'title', 'asc' ]"
|
|
(node-dblclick)="navigateTo($event.detail?.node)"
|
|
(name-click)="navigateTo($event.detail?.node)">
|
|
|
|
<empty-folder-content>
|
|
<ng-template>
|
|
<adf-empty-content
|
|
icon="group_work"
|
|
[title]="'APP.BROWSE.LIBRARIES.EMPTY_STATE.TITLE'"
|
|
subtitle="APP.BROWSE.LIBRARIES.EMPTY_STATE.TEXT">
|
|
</adf-empty-content>
|
|
</ng-template>
|
|
</empty-folder-content>
|
|
|
|
<data-columns>
|
|
<ng-container *ngFor="let column of columns">
|
|
|
|
<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>
|
|
<app-dynamic-column
|
|
[id]="column.template"
|
|
[context]="context">
|
|
</app-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>
|
|
</div>
|
|
</div>
|
|
</div>
|