From 4068291f7cd883290a30012231d80d8945f35ae8 Mon Sep 17 00:00:00 2001 From: Daniela Arcese Date: Tue, 18 Jul 2017 14:57:29 -0400 Subject: [PATCH] move head and html tags to main template --- public/main.css | 2 +- views/download.handlebars | 121 +++++++++---------- views/index.handlebars | 212 ++++++++++++++++------------------ views/layouts/main.handlebars | 46 +++++--- 4 files changed, 183 insertions(+), 198 deletions(-) diff --git a/public/main.css b/public/main.css index 217ba4d2..02a1f69a 100644 --- a/public/main.css +++ b/public/main.css @@ -23,7 +23,7 @@ body { } .all { - padding-top: 12%; + padding-top: 10%; overflow-y: scroll; } diff --git a/views/download.handlebars b/views/download.handlebars index b6009a52..e1d53c63 100644 --- a/views/download.handlebars +++ b/views/download.handlebars @@ -1,75 +1,60 @@ - - - - Download your file - {{#if dsn}} - {{> sentry dsn=dsn}} - {{/if}} - - - {{#if trackerId}} - {{> analytics trackerId=trackerId}} - {{/if}} - - - -
-
- {{#if filename}} -
-
- Download {{{filename}}} ({{{filesize}}}) -
-
- Your friend is sending you a file with Firefox Send, a service that allows you to share files with a safe, private, and encrypted link that automatically expires to ensure your stuff does not remain online forever. -
- Download -
- -
-
-
-
- Downloading {{{filename}}} ({{{filesize}}}) -
-
- Please leave this tab open while we fetch your file and decrypt it. -
- -
-
- - % -
-
-
-
{{{filename}}}
-
-
- -
- Try Firefox Send -
- {{else}} + +
+
+ {{#if filename}} +
- This link has expired or never existed in the first place. + Download {{{filename}}} ({{{filesize}}})
- - - - +
diff --git a/views/index.handlebars b/views/index.handlebars index 73a4d78b..8dde3b8e 100644 --- a/views/index.handlebars +++ b/views/index.handlebars @@ -1,131 +1,113 @@ - - - - Firefox Send - {{#if dsn}} - {{> sentry dsn=dsn}} - {{/if}} - - - - - {{#if trackerId}} - {{> analytics trackerId=trackerId}} - {{/if}} - - -