fox-send/views/download.handlebars

54 lines
1.7 KiB
Handlebars
Raw Normal View History

2017-07-19 14:21:56 +00:00
<div id="download">
{{#if filename}}
<div id="download-page-one">
<div class="title">
Download <span id="dl-filename">{{filename}}</span> ({{filesize}})
</div>
2017-07-19 14:21:56 +00:00
<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.
2017-07-13 14:05:45 +00:00
</div>
2017-07-19 14:21:56 +00:00
<img src="/resources/illustration_download.svg" id="download-img" alt="Download"/>
<div>
<button id="download-btn" title="Download">Download</button>
</div>
</div>
2017-07-19 14:21:56 +00:00
<div id="download-progress">
<div class="title">
2017-07-19 14:21:56 +00:00
Downloading {{filename}} ({{filesize}})
</div>
2017-07-19 14:21:56 +00:00
<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>
2017-07-19 14:21:56 +00:00
<div class="upload">
<div class="progress-text">{{filename}}</div>
</div>
2017-06-06 21:23:10 +00:00
</div>
2017-07-19 14:21:56 +00:00
<a class="send-new" title="Try Firefox Send">
Try Firefox Send
</a>
{{else}}
<div class="title">
This link has expired or never existed in the first place.
</div>
<div class="share-window">
<img src="/resources/illustration_expired.svg" id="expired-img" alt="Link expired" />
</div>
<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.
</div>
<a class="send-new" title="Try Firefox Send">
Try Firefox Send
</a>
{{/if}}
</div>