Skip to content
Permalink
Browse files
Display file before download
Allow user to display the file before downloading it
  • Loading branch information
czarniek committed Nov 29, 2019
1 parent 30bc63b commit 36c862a0f7ddf7bce64367582fad032ebd95962f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
@@ -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 {
@@ -28,7 +28,7 @@
<h1>Download your file</h1>

{{#if link}}
<p id='filename'>{{file.fileName}}</p>
<a href='{{link}}'><p id='filename'>{{file.fileName}}</p></a>
<form action='/download' id='form-id' method="post">
<input type='hidden' name='downloaded' value='true'>
<input type='hidden' name='fileHash' value='{{file.fileHash}}'>

0 comments on commit 36c862a

Please sign in to comment.