From 2a827fa8ed7ad0989fe9ede1f7803fb410988fb8 Mon Sep 17 00:00:00 2001 From: Max Burnette Date: Thu, 4 Jun 2020 16:00:19 -0500 Subject: [PATCH 01/15] initial stub implementation of selection features --- app/views/datasets/filesAndFolders.scala.html | 163 +++++++++++++----- app/views/files/grid.scala.html | 3 - app/views/files/listitem.scala.html | 8 +- public/javascripts/deleteUtils.js | 32 ++++ 4 files changed, 162 insertions(+), 44 deletions(-) diff --git a/app/views/datasets/filesAndFolders.scala.html b/app/views/datasets/filesAndFolders.scala.html index 3230dc605..07ceb09d9 100644 --- a/app/views/datasets/filesAndFolders.scala.html +++ b/app/views/datasets/filesAndFolders.scala.html @@ -1,4 +1,6 @@ -@(dataset: Dataset, currentFolder: Option[String], foldersList: List[Folder], folderHierarchy: List[Folder], filepage: Int, next: Boolean, fileList:List[File], fileComments: Map[UUID, Int], space: Option[String], filter: Option[String])(implicit user: Option[models.User]) +@(dataset: Dataset, currentFolder: Option[String], foldersList: List[Folder], folderHierarchy: List[Folder], + filepage: Int, next: Boolean, fileList:List[File], fileComments: Map[UUID, Int], space: Option[String], + filter: Option[String])(implicit user: Option[models.User]) @if(folderHierarchy.length > 0 ) { @@ -27,47 +29,126 @@ }); }); - - - - + + + +
-
- - -
- -
-
-
-
-   - @if(filter.getOrElse("")!="") { - Filtering by @filter.get - } + + + - -
+
+ + +
+
-
-
+
+
+
+   + @if(filter.getOrElse("")!="") { + Filtering by @filter.get + } +
+
+
+
+ +
+ +} else { + +
+} +