2017-05-24 22:16:38 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
2017-05-30 18:24:16 +02:00
|
|
|
<head>
|
2017-06-01 22:14:14 +02:00
|
|
|
<title>Firefox Fileshare</title>
|
2017-06-24 05:01:32 +02:00
|
|
|
{{#if dsn}}
|
|
|
|
{{> sentry dsn=dsn}}
|
|
|
|
{{/if}}
|
2017-06-09 00:01:04 +02:00
|
|
|
<script src="/bundle.js"></script>
|
2017-06-21 23:31:21 +02:00
|
|
|
<link rel="stylesheet" href="https://code.cdn.mozilla.net/fonts/fira.css" />
|
2017-06-09 00:01:04 +02:00
|
|
|
<link rel="stylesheet" type="text/css" href="/main.css" />
|
2017-06-24 05:01:32 +02:00
|
|
|
{{#if trackerId}}
|
2017-06-21 22:54:24 +02:00
|
|
|
{{> analytics trackerId=trackerId}}
|
|
|
|
{{/if}}
|
2017-05-30 18:24:16 +02:00
|
|
|
</head>
|
2017-06-05 16:25:10 +02:00
|
|
|
<body>
|
2017-06-01 19:54:17 +02:00
|
|
|
|
|
|
|
<div class="main-window">
|
|
|
|
<div id="page-one">
|
|
|
|
<div class="title">
|
|
|
|
Share your files quickly, privately and securely.
|
|
|
|
</div>
|
2017-06-08 21:57:56 +02:00
|
|
|
<div class="upload-window" ondrop="onUpload(event)" ondragover="allowDrop(event)">
|
2017-06-09 19:21:22 +02:00
|
|
|
<div id="upload-img"><img src="/resources/upload.svg" alt="Upload"/></div>
|
2017-06-01 19:54:17 +02:00
|
|
|
<div>
|
2017-06-05 16:26:50 +02:00
|
|
|
DRAG & DROP
|
2017-06-01 19:54:17 +02:00
|
|
|
</div>
|
|
|
|
<div class="upload">
|
|
|
|
<div id="browse-text">
|
|
|
|
your file/folder here or
|
|
|
|
</div>
|
|
|
|
<div id="browse">
|
|
|
|
<form method="post" action="upload" enctype="multipart/form-data">
|
2017-06-06 23:23:10 +02:00
|
|
|
<label for="file-upload" class="file-upload">browse</label>
|
2017-06-08 21:57:56 +02:00
|
|
|
<input id="file-upload" type="file" onchange="onUpload(event)" name="fileUploaded" />
|
2017-06-01 19:54:17 +02:00
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="file-list">
|
|
|
|
<table id="uploaded-files">
|
2017-06-23 18:10:53 +02:00
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<!-- htmllint attr-bans="false" -->
|
|
|
|
<th width="30%">File</th>
|
|
|
|
<th width="45%">Copy URL</th>
|
|
|
|
<th width="18%">Expires in</th>
|
|
|
|
<th width="7%">Delete</th>
|
|
|
|
<!-- htmllint tag-bans="$previous" -->
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
|
|
|
|
</tbody>
|
2017-06-01 19:54:17 +02:00
|
|
|
</table>
|
|
|
|
</div>
|
2017-05-30 18:24:16 +02:00
|
|
|
|
2017-06-06 23:23:10 +02:00
|
|
|
<div id="upload-progress">
|
|
|
|
<div class="title" id="upload-filename">
|
|
|
|
Uploading
|
|
|
|
</div>
|
|
|
|
<div class="upload-window">
|
2017-06-09 19:21:22 +02:00
|
|
|
<div id="upload-img"><img src="/resources/upload.svg" alt="Upload" /></div>
|
2017-06-06 23:23:10 +02:00
|
|
|
<div class="upload">
|
|
|
|
<!-- progress bar here -->
|
2017-06-20 21:23:12 +02:00
|
|
|
<div id="progress-bar"></div>
|
|
|
|
<div id="progress-text"></div>
|
2017-06-06 23:23:10 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="share-link">
|
|
|
|
<div class="title">
|
|
|
|
Copy the link below to share your file!
|
|
|
|
</div>
|
|
|
|
<div class="share-window">
|
2017-06-09 19:21:22 +02:00
|
|
|
<img src="/resources/share.png" alt="Share" />
|
2017-06-06 23:23:10 +02:00
|
|
|
<div id="share-window-r">
|
|
|
|
<div id="copy">
|
|
|
|
<input id="link" type="url" value="" readonly/>
|
|
|
|
<button id="copy-btn">Copy</button>
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
This link expires after one download
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="send-new">
|
|
|
|
Send another file
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-06-01 19:54:17 +02:00
|
|
|
</div>
|
2017-06-06 23:23:10 +02:00
|
|
|
|
2017-05-30 18:24:16 +02:00
|
|
|
</body>
|
2017-06-01 19:54:17 +02:00
|
|
|
</html>
|