From 3b7c760ffd73a7313a7f0ccc981cc9fe1f93235d Mon Sep 17 00:00:00 2001 From: Jesse Lucas Date: Fri, 10 Apr 2020 22:08:08 -0400 Subject: [PATCH] start of expandable rows for folder list --- .../folder-list/folder-list.component.html | 42 +++++++++---------- .../folder-list/folder-list.component.scss | 38 +++++++++++++++++ .../folder-list/folder-list.component.ts | 12 +++++- 3 files changed, 68 insertions(+), 24 deletions(-) diff --git a/src/app/lists/folder-list/folder-list.component.html b/src/app/lists/folder-list/folder-list.component.html index aeee70087..f715da319 100644 --- a/src/app/lists/folder-list/folder-list.component.html +++ b/src/app/lists/folder-list/folder-list.component.html @@ -2,33 +2,29 @@ Filter - - - - - +
Id{{row.id}}
+ + + - - - - - - - - - - - - - - - - - + + + - + + +
{{column}} {{folder[column]}} Name{{row.label}}Path{{row.path}}State{{row.state}} +
+
+ Shared with: + {{device.name}} +
+
+
collapsed', animate('225ms cubic-bezier(0.4, 0.0, 0.2, 1)')), + ]), + ], }) export class FolderListComponent implements AfterViewInit, OnInit, OnDestroy { @ViewChild(MatPaginator) paginator: MatPaginator; @@ -23,6 +32,7 @@ export class FolderListComponent implements AfterViewInit, OnInit, OnDestroy { /** Columns displayed in the table. Columns IDs can be added, removed, or reordered. */ displayedColumns = ['id', 'label', 'path', 'state']; + expandedFolder: Folder | null; constructor( private folderService: FolderService,