send/views/index.handlebars

132 lines
4.3 KiB
Handlebars
Raw Normal View History

<!DOCTYPE html>
<html>
2017-05-30 16:24:16 +00:00
<head>
2017-07-11 19:34:49 +00:00
<title>Firefox Send</title>
2017-06-24 03:01:32 +00:00
{{#if dsn}}
2017-07-14 21:44:56 +00:00
{{> sentry dsn=dsn}}
2017-06-24 03:01:32 +00:00
{{/if}}
<script src="/bundle.js"></script>
<link rel="stylesheet" type="text/css" href="/main.css" />
2017-07-13 14:05:45 +00: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 03:01:32 +00:00
{{#if trackerId}}
2017-07-14 21:44:56 +00:00
{{> analytics trackerId=trackerId}}
{{/if}}
2017-05-30 16:24:16 +00:00
</head>
2017-06-05 14:25:10 +00:00
<body>
2017-07-18 18:12:42 +00:00
<div class="send-logo">
2017-07-18 15:35:58 +00:00
<img src="/resources/send_logo.svg"/>
<img src="/resources/send_logo_type.svg"/>
</div>
2017-07-18 14:50:53 +00:00
<div class="all">
2017-06-01 17:54:17 +00:00
<div id="page-one">
<div class="title">
2017-07-13 14:05:45 +00:00
Private, Encrypted File Sharing
</div>
<div class="description">
2017-07-18 18:16:28 +00:00
Send files through a safe, private, and encrypted link that automatically expires to ensure your stuff does not remain online forever.<br> <a href="https://testpilot.firefox.com/experiments/send" class="link">Learn more</a>
2017-06-01 17:54:17 +00:00
</div>
2017-07-13 14:05:45 +00:00
<div class="upload-window" >
2017-06-09 17:21:22 +00:00
<div id="upload-img"><img src="/resources/upload.svg" alt="Upload"/></div>
2017-07-13 14:05:45 +00:00
<div id="upload-text">
Drop your files here to start uploading
2017-06-01 17:54:17 +00:00
</div>
2017-07-13 14:05:45 +00:00
<form method="post" action="upload" enctype="multipart/form-data">
2017-07-14 21:44:56 +00: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 14:05:45 +00:00
</form>
2017-06-01 17:54:17 +00:00
</div>
2017-07-18 14:50:53 +00:00
2017-07-05 13:50:00 +00:00
<div id="file-list">
<table id="uploaded-files">
<thead>
<tr>
<!-- htmllint attr-bans="false" -->
2017-07-13 14:05:45 +00:00
<th width="35%">File</th>
2017-07-14 21:44:56 +00:00
<th width="25%">Copy URL</th>
<th width="21%">Expires in</th>
<th width="12%">Delete</th>
2017-07-05 13:50:00 +00:00
<!-- htmllint tag-bans="$previous" -->
</tr>
</thead>
<tbody>
2017-06-23 16:10:53 +00:00
2017-07-05 13:50:00 +00:00
</tbody>
</table>
</div>
2017-06-01 17:54:17 +00:00
</div>
2017-05-30 16:24:16 +00:00
2017-06-06 21:23:10 +00:00
<div id="upload-progress">
<div class="title" id="upload-filename">
2017-07-13 14:05:45 +00:00
Uploading Your File
2017-06-06 21:23:10 +00:00
</div>
2017-07-13 14:05:45 +00:00
<div class="description">
</div>
<!-- progress bar here -->
<div class="progress-bar" id="ul-progress">
<div class="percentage">
2017-07-14 21:44:56 +00:00
<span class="percent-number">0</span>
2017-07-13 14:05:45 +00:00
<span class="percent-sign">%</span>
2017-06-06 21:23:10 +00:00
</div>
</div>
2017-07-14 21:44:56 +00:00
<div class="upload">
<div class="progress-text"></div>
<div id="cancel-upload" title="Cancel Upload">Cancel Upload</div>
</div>
2017-06-06 21:23:10 +00:00
</div>
<div id="share-link">
<div class="title">
2017-07-13 14:05:45 +00: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 21:23:10 +00:00
</div>
2017-07-13 14:05:45 +00:00
<button id="delete-file" title="Delete file">Delete file</button>
2017-07-18 15:07:55 +00:00
<div class="send-new" title="Send another file">
Send another file
</div>
2017-06-06 21:23:10 +00:00
</div>
</div>
2017-07-06 21:11:24 +00:00
<div id="upload-error">
<div class="title">
2017-07-13 14:05:45 +00:00
Something went wrong!
2017-07-06 21:11:24 +00:00
</div>
2017-07-13 14:05:45 +00: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 21:11:24 +00:00
Send another file
</div>
</div>
2017-07-18 14:50:53 +00:00
<div id="unsupported-browser">
<div class="title">
Your browser is not supported.
</div>
<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>
2017-07-14 21:44:56 +00:00
</div>
2017-07-18 14:50:53 +00:00
2017-07-14 21:44:56 +00:00
</div>
</div>
2017-05-30 16:24:16 +00:00
</body>
2017-06-01 17:54:17 +00:00
</html>