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>
|
|
|
|
<script src="/bundle.js"></script>
|
|
|
|
<link rel="stylesheet" href="https://code.cdn.mozilla.net/fonts/fira.css">
|
|
|
|
<link rel="stylesheet" type="text/css" href="/main.css" />
|
2017-05-30 18:24:16 +02:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
2017-06-06 23:23:10 +02:00
|
|
|
<div class="main-window">
|
|
|
|
<div id="download">
|
2017-06-08 01:16:38 +02:00
|
|
|
{{#if filename}}
|
2017-06-06 23:23:10 +02:00
|
|
|
<div class="title">
|
|
|
|
Your friend is sending you a file:
|
|
|
|
</div>
|
2017-06-08 01:16:38 +02:00
|
|
|
|
|
|
|
<span> {{{filename}}} ({{{filesize}}})
|
|
|
|
|
2017-06-06 23:23:10 +02:00
|
|
|
<div class="share-window">
|
|
|
|
<button id="download-btn" onclick="download()">Download File</button>
|
|
|
|
<img id="expired-img" src="/resources/link_expired.png"/>
|
|
|
|
</div>
|
2017-06-06 23:31:07 +02:00
|
|
|
<div class="send-new" id="send-file">
|
2017-06-06 23:23:10 +02:00
|
|
|
Send your own files
|
|
|
|
</div>
|
2017-06-08 01:16:38 +02:00
|
|
|
{{else}}
|
|
|
|
<div class="title">
|
|
|
|
This link has expired or never existed in the first place.
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="share-window">
|
|
|
|
<img src="/resources/link_expired.png"/>
|
|
|
|
</div>
|
|
|
|
<div class="send-new" id="send-file">
|
|
|
|
Send your own files
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
2017-06-06 23:23:10 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2017-05-30 18:24:16 +02:00
|
|
|
|
2017-06-06 23:23:10 +02:00
|
|
|
<!-- <ul id="downloaded_files">
|
|
|
|
</ul> -->
|
2017-06-01 18:55:47 +02:00
|
|
|
|
2017-05-30 18:24:16 +02:00
|
|
|
</body>
|
2017-06-06 23:23:10 +02:00
|
|
|
</html>
|