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

128 lines
4.3 KiB
Handlebars
Raw Normal View History

<!DOCTYPE html>
<html>
2017-05-30 18:24:16 +02:00
<head>
2017-07-11 21:34:49 +02:00
<title>Firefox Send</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}}
<script src="/bundle.js"></script>
<link rel="stylesheet" type="text/css" href="/main.css" />
2017-07-13 16:05:45 +02:00
<link rel="stylesheet" type="text/css" href="/resources/fontello-24c5e6ad/css/fontello.css" />
<link rel="stylesheet" href="https://code.cdn.mozilla.net/fonts/fira.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>
2017-06-05 16:25:10 +02:00
<body>
2017-07-14 23:44:56 +02:00
<div id="all">
2017-06-01 19:54:17 +02:00
<div id="page-one">
<div class="title">
2017-07-13 16:05:45 +02:00
Private, Encrypted File Sharing
</div>
<div class="description">
Send files through a safe, private, and encrypted link that automatically expires to ensure your stuff does not remain online forever.<br> <a href="" class="link">Learn more</a>
2017-06-01 19:54:17 +02:00
</div>
2017-07-13 16:05:45 +02:00
<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-07-13 16:05:45 +02:00
<div id="upload-text">
Drop your files here to start uploading
2017-06-01 19:54:17 +02:00
</div>
2017-07-13 16:05:45 +02:00
<form method="post" action="upload" enctype="multipart/form-data">
2017-07-14 23:44:56 +02:00
<label for="file-upload" id="browse" title="Upload file">Select a file on your computer</label>
<input id="file-upload" type="file" name="fileUploaded" />
2017-07-13 16:05:45 +02:00
</form>
2017-06-01 19:54:17 +02:00
</div>
2017-07-05 15:50:00 +02:00
<div id="file-list">
<table id="uploaded-files">
<thead>
<tr>
<!-- htmllint attr-bans="false" -->
2017-07-13 16:05:45 +02:00
<th width="35%">File</th>
2017-07-14 23:44:56 +02:00
<th width="25%">Copy URL</th>
<th width="21%">Expires in</th>
<th width="12%">Delete</th>
2017-07-05 15:50:00 +02:00
<!-- htmllint tag-bans="$previous" -->
</tr>
</thead>
<tbody>
2017-06-23 18:10:53 +02:00
2017-07-05 15:50:00 +02:00
</tbody>
</table>
</div>
2017-06-01 19:54:17 +02:00
</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">
2017-07-13 16:05:45 +02:00
Uploading Your File
2017-06-06 23:23:10 +02:00
</div>
2017-07-13 16:05:45 +02:00
<div class="description">
</div>
<!-- progress bar here -->
<div class="progress-bar" id="ul-progress">
<div class="percentage">
2017-07-14 23:44:56 +02:00
<span class="percent-number">0</span>
2017-07-13 16:05:45 +02:00
<span class="percent-sign">%</span>
2017-06-06 23:23:10 +02:00
</div>
</div>
2017-07-14 23:44:56 +02:00
<div class="upload">
<div class="progress-text"></div>
<div id="cancel-upload" title="Cancel Upload">Cancel Upload</div>
</div>
2017-06-06 23:23:10 +02:00
</div>
<div id="share-link">
<div class="title">
2017-07-13 16:05:45 +02:00
This encrypted link will expire after 1 download or in 24 hours
</div>
<div id="share-window">
<div id="copy-text">
Copy and share the link to send your file:
</div>
<div id="copy">
<input id="link" type="url" value="" readonly/>
<button id="copy-btn" title="Copy to Clipboard">Copy to Clipboard</button>
2017-06-06 23:23:10 +02:00
</div>
2017-07-13 16:05:45 +02:00
<button id="delete-file" title="Delete file">Delete file</button>
2017-06-06 23:23:10 +02:00
</div>
2017-07-13 16:05:45 +02:00
<div class="send-new" title="Send another file">
2017-06-06 23:23:10 +02:00
Send another file
</div>
</div>
2017-07-06 23:11:24 +02:00
<div id="upload-error">
<div class="title">
2017-07-13 16:05:45 +02:00
Something went wrong!
2017-07-06 23:11:24 +02:00
</div>
2017-07-13 16:05:45 +02:00
<div class="expired-description">
There has been an error uploading the file.
</div>
<img id="upload-error-img" src="/resources/illustration_error.svg" alt="Upload error" />
<div class="send-new" title="Send another file">
2017-07-06 23:11:24 +02:00
Send another file
</div>
</div>
2017-07-13 16:05:45 +02:00
</div>
2017-07-14 23:44:56 +02:00
<div id="unsupported-browser">
<div class="title">
Your browser is not supported.
</div>
2017-07-14 23:44:56 +02:00
<div class="description">
Unfortunately this browser does not support the web technology that powers Firefox Send. You'll need to try another browser. We recommend Firefox!
</div>
<a id="dl-firefox" href="https://www.mozilla.org/firefox/new/?scene=2" target="_blank">
<img src="/resources/firefox_logo-only.svg" id="firefox-logo" alt="Firefox"/>
<div id="dl-firefox-text">Firefox<br><span>Free Download</span></div>
</a>
<div class="unsupported-description">
Send files through a safe, private, and encrypted link that automatically expires to ensure your stuff does not remain online forever.
</div>
</div>
</div>
<!-- <div class="footer"><img src="/resources/mozilla-logo.jpg"/>This footer will always be positioned at the bottom of the page, but <strong>not fixed</strong>.</div> -->
2017-05-30 18:24:16 +02:00
</body>
2017-06-01 19:54:17 +02:00
</html>