fox-send/views/download.handlebars

70 lines
1.6 KiB
Handlebars
Raw Normal View History

2017-05-30 16:24:16 +00:00
<!DOCTYPE html>
<html>
<head>
2017-06-06 21:23:10 +00:00
<title>Download your file</title>
2017-06-24 03:01:32 +00:00
{{#if dsn}}
{{> sentry dsn=dsn}}
{{/if}}
2017-06-06 21:23:10 +00:00
<script src="/bundle.js"></script>
<link rel="stylesheet" href="https://code.cdn.mozilla.net/fonts/fira.css" />
2017-06-06 21:23:10 +00:00
<link rel="stylesheet" type="text/css" href="/main.css" />
2017-06-24 03:01:32 +00:00
{{#if trackerId}}
{{> analytics trackerId=trackerId}}
{{/if}}
2017-05-30 16:24:16 +00:00
</head>
<body>
2017-06-06 21:23:10 +00:00
<div class="main-window">
<div id="download">
{{#if filename}}
2017-06-06 21:23:10 +00:00
<div class="title">
2017-06-09 17:21:22 +00:00
Your friend is sending you a file: <br />
2017-06-09 13:45:06 +00:00
{{{filename}}} ({{{filesize}}})
2017-06-06 21:23:10 +00:00
</div>
2017-06-20 19:23:12 +00:00
<div id="download-page-one">
<div>
2017-07-12 17:56:04 +00:00
<button id="download-btn">Download File</button>
2017-06-20 19:23:12 +00:00
</div>
2017-07-11 18:18:31 +00:00
<div id='expired-img'>
<img src='/resources/link_expired.png' />
</div>
2017-06-20 19:23:12 +00:00
</div>
2017-07-11 18:18:31 +00:00
2017-06-20 19:23:12 +00:00
<div id="download-progress">
<div id="download-text">
Downloading File...
</div>
<div class="upload">
<!-- progress bar here -->
<div id="progress-bar"></div>
<div id="progress-text"></div>
</div>
2017-06-06 21:23:10 +00:00
</div>
2017-06-20 19:23:12 +00:00
2017-06-06 21:31:07 +00:00
<div class="send-new" id="send-file">
2017-06-06 21:23:10 +00:00
Send your own files
</div>
2017-06-20 19:23:12 +00:00
{{else}}
2017-06-20 19:23:12 +00:00
<div class="title">
This link has expired or never existed in the first place.
</div>
<div class="share-window">
2017-06-09 17:21:22 +00:00
<img src="/resources/link_expired.png" alt="Link expired" />
</div>
<div class="send-new" id="send-file">
Send your own files
</div>
{{/if}}
2017-06-06 21:23:10 +00:00
</div>
</div>
2017-05-30 16:24:16 +00:00
2017-06-06 21:23:10 +00:00
<!-- <ul id="downloaded_files">
2017-06-20 19:23:12 +00:00
</ul> -->
2017-05-30 16:24:16 +00:00
</body>
2017-06-06 21:23:10 +00:00
</html>