From 36c862a0f7ddf7bce64367582fad032ebd95962f Mon Sep 17 00:00:00 2001 From: czarniek Date: Fri, 29 Nov 2019 16:52:15 +0000 Subject: [PATCH] Display file before download Allow user to display the file before downloading it --- public/myfiles.css | 12 +++++++++--- views/download.handlebars | 2 +- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/public/myfiles.css b/public/myfiles.css index 715823d..1881f5e 100644 --- a/public/myfiles.css +++ b/public/myfiles.css @@ -255,15 +255,19 @@ table tr td { } .name { - width: 45%; + width: 54%; } .uploaded { - width: 22%; + width: 10%; } .expires { - width: 22%; + width: 10%; +} + +.size { + width: 15%; } .type { @@ -439,6 +443,8 @@ table tr td { #filename { margin: 40px 0 20px 0; + cursor: pointer; + } #fileTree a { diff --git a/views/download.handlebars b/views/download.handlebars index 448a962..903fe68 100644 --- a/views/download.handlebars +++ b/views/download.handlebars @@ -28,7 +28,7 @@

Download your file

{{#if link}} -

{{file.fileName}}

+

{{file.fileName}}