drop.chapril.org-firefoxsend/views/download.handlebars

76 lines
2.4 KiB
Handlebars
Raw Normal View History

2017-05-30 18:24:16 +02:00
<!DOCTYPE html>
<html>
<head>
2017-06-06 23:23:10 +02:00
<title>Download your file</title>
2017-06-24 05:01:32 +02:00
{{#if dsn}}
2017-07-14 23:44:56 +02:00
{{> sentry dsn=dsn}}
2017-06-24 05:01:32 +02:00
{{/if}}
2017-06-06 23:23:10 +02:00
<script src="/bundle.js"></script>
<link rel="stylesheet" type="text/css" href="/main.css" />
2017-06-24 05:01:32 +02:00
{{#if trackerId}}
2017-07-14 23:44:56 +02:00
{{> analytics trackerId=trackerId}}
{{/if}}
2017-05-30 18:24:16 +02:00
</head>
<body>
2017-07-18 20:12:42 +02:00
<div class="send-logo">
<img src="/resources/send_logo.svg"/>
<img src="/resources/send_logo_type.svg"/>
</div>
2017-07-18 16:50:53 +02:00
<div class="all">
2017-07-14 23:44:56 +02:00
<div id="download">
{{#if filename}}
<div id="download-page-one">
<div class="title">
Download <span id="dl-filename">{{{filename}}}</span> ({{{filesize}}})
</div>
<div class="description">
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.
</div>
<img src="/resources/illustration_download.svg" id="download-img" alt="Download"/>
<div>
<button id="download-btn" title="Download">Download</button>
</div>
2017-06-06 23:23:10 +02:00
</div>
2017-07-14 23:44:56 +02:00
<div id="download-progress">
<div class="title">
Downloading {{{filename}}} ({{{filesize}}})
</div>
<div class="description">
Please leave this tab open while we fetch your file and decrypt it.
</div>
<!-- progress bar here -->
<div class="progress-bar" id="dl-progress">
<div class="percentage">
<span class="percent-number"></span>
<span class="percent-sign">%</span>
</div>
</div>
<div class="upload">
<div class="progress-text">{{{filename}}}</div>
</div>
2017-06-20 21:23:12 +02:00
</div>
2017-07-14 23:44:56 +02:00
<div class="send-new" title="Try Firefox Send">
Try Firefox Send
2017-07-13 16:05:45 +02:00
</div>
2017-07-14 23:44:56 +02:00
{{else}}
2017-07-13 16:05:45 +02:00
<div class="title">
2017-07-14 23:44:56 +02:00
This link has expired or never existed in the first place.
2017-07-13 16:05:45 +02:00
</div>
2017-07-14 23:44:56 +02:00
<div class="share-window">
<img src="/resources/illustration_expired.svg" id="expired-img" alt="Link expired" />
2017-07-13 16:05:45 +02:00
</div>
2017-07-14 23:44:56 +02:00
<div class="expired-description">
Send files through a safe, private, and encrypted link that automatically expires to ensure your stuff does not remain online forever.
2017-06-06 23:23:10 +02:00
</div>
2017-07-14 23:44:56 +02:00
<div class="send-new" title="Try Firefox Send">
Try Firefox Send
2017-06-06 23:23:10 +02:00
</div>
2017-07-14 23:44:56 +02:00
{{/if}}
2017-07-13 16:05:45 +02:00
</div>
2017-06-06 23:23:10 +02:00
</div>
2017-05-30 18:24:16 +02:00
</body>
2017-06-06 23:23:10 +02:00
</html>