send/views/index.handlebars

74 lines
2.7 KiB
Handlebars
Raw Normal View History

2017-08-03 06:37:55 +00:00
<div id="page-one" hidden>
<script src="/upload.js"></script>
<div class="title" data-l10n-id="uploadPageHeader"></div>
2017-07-19 14:21:56 +00:00
<div class="description">
<div data-l10n-id="uploadPageExplainer"></div>
<a href="https://testpilot.firefox.com/experiments/send" class="link" data-l10n-id="uploadPageLearnMore"></a>
</div>
2017-07-19 14:21:56 +00:00
<div class="upload-window" >
<div id="upload-img"><img data-l10n-id="uploadSvgAlt" src="/resources/upload.svg"/></div>
<div id="upload-text" data-l10n-id="uploadPageDropMessage"></div>
2017-07-19 19:48:39 +00:00
<span id="file-size-msg"><em data-l10n-id="uploadPageSizeMessage"></em></span>
2017-07-19 14:21:56 +00:00
<form method="post" action="upload" enctype="multipart/form-data">
2017-07-19 19:48:39 +00:00
<label for="file-upload" id="browse"
data-l10n-id="uploadPageBrowseButton"></label>
2017-07-19 14:21:56 +00:00
<input id="file-upload" type="file" name="fileUploaded" />
</form>
</div>
2017-06-06 21:23:10 +00:00
2017-07-19 14:21:56 +00:00
<div id="file-list">
<table id="uploaded-files">
<thead>
<tr>
<!-- htmllint attr-bans="false" -->
2017-07-20 22:47:59 +00:00
<th width="35%" data-l10n-id="uploadedFile"></th>
<th width="25%" data-l10n-id="copyFileList"></th>
<th width="21%" data-l10n-id="expiryFileList"></th>
<th width="12%" data-l10n-id="deleteFileList"></th>
2017-07-19 14:21:56 +00:00
<!-- htmllint tag-bans="$previous" -->
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
2017-07-19 14:21:56 +00:00
</div>
2017-07-06 21:11:24 +00:00
2017-07-19 19:48:39 +00:00
<div id="upload-progress" hidden="true">
2017-08-06 01:06:43 +00:00
<div class="title" id="upload-filename"></div>
<div class="description"></div>
2017-07-19 14:21:56 +00:00
<!-- progress bar here -->
<div class="progress-bar" id="ul-progress">
<div class="percentage">
<span class="percent-number">0</span>
<span class="percent-sign">%</span>
2017-07-06 21:11:24 +00:00
</div>
</div>
2017-07-19 14:21:56 +00:00
<div class="upload">
<div class="progress-text"></div>
2017-07-19 19:48:39 +00:00
<div id="cancel-upload"
data-l10n-id="uploadingPageCancel"></div>
</div>
2017-07-19 19:48:39 +00:00
2017-07-19 14:21:56 +00:00
</div>
2017-07-18 14:50:53 +00:00
2017-07-19 19:48:39 +00:00
<div id="share-link" hidden="true">
<div class="title" data-l10n-id="uploadSuccessTimingHeader"></div>
2017-07-19 14:21:56 +00:00
<div id="share-window">
2017-07-21 17:56:01 +00:00
<div id="copy-text"></div>
2017-07-19 14:21:56 +00:00
<div id="copy">
<input id="link" type="url" value="" readonly/>
<button id="copy-btn" data-l10n-id="copyUrlFormButton"></button>
2017-07-14 21:44:56 +00:00
</div>
<button id="delete-file" data-l10n-id="deleteFileButton"></button>
2017-08-05 19:23:58 +00:00
<a class="send-new" data-state="completed" data-l10n-id="sendAnotherFileLink"></a>
2017-07-14 21:44:56 +00:00
</div>
</div>
2017-07-18 14:50:53 +00:00
2017-07-19 19:48:39 +00:00
<div id="upload-error" hidden="true">
<div class="title" data-l10n-id="errorPageHeader"></div>
<div class="expired-description" data-l10n-id="errorPageMessage"></div>
<img id="upload-error-img" data-l10n-id="errorAltText" src="/resources/illustration_error.svg"/>
2017-08-05 19:23:58 +00:00
<a class="send-new" data-state="errored" data-l10n-id="sendAnotherFileLink"></a>
2017-07-14 21:44:56 +00:00
</div>