drop.chapril.org-firefoxsend/webpack/upload.hbs

76 lines
3.0 KiB
Handlebars
Raw Normal View History

2017-08-03 08:37:55 +02:00
<div id="page-one" hidden>
<div class="title" data-l10n-id="uploadPageHeader"></div>
2017-07-19 16:21:56 +02: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 16:21:56 +02:00
<div class="upload-window" >
2017-08-16 06:47:34 +02:00
<div id="upload-img"><img data-l10n-id="uploadSvgAlt" src="../public/resources/upload.svg"/></div>
<div id="upload-text" data-l10n-id="uploadPageDropMessage"></div>
2017-07-19 21:48:39 +02:00
<span id="file-size-msg"><em data-l10n-id="uploadPageSizeMessage"></em></span>
2017-07-19 16:21:56 +02:00
<form method="post" action="upload" enctype="multipart/form-data">
2017-07-19 21:48:39 +02:00
<label for="file-upload" id="browse"
2017-08-15 19:30:19 +02:00
data-l10n-id="uploadPageBrowseButton1" class="btn"></label>
2017-07-19 16:21:56 +02:00
<input id="file-upload" type="file" name="fileUploaded" />
</form>
</div>
2017-06-06 23:23:10 +02:00
2017-07-19 16:21:56 +02:00
<div id="file-list">
<table id="uploaded-files">
<thead>
<tr>
<!-- htmllint attr-bans="false" -->
<th id="uploaded-file" data-l10n-id="uploadedFile"></th>
<th id="copy-file-list" data-l10n-id="copyFileList"></th>
<th id="expiry-file-list" data-l10n-id="expiryFileList"></th>
<th id="delete-file-list" data-l10n-id="deleteFileList"></th>
2017-07-19 16:21:56 +02:00
<!-- htmllint tag-bans="$previous" -->
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
2017-07-19 16:21:56 +02:00
</div>
2017-07-06 23:11:24 +02:00
2017-07-19 21:48:39 +02:00
<div id="upload-progress" hidden="true">
2017-08-06 03:06:43 +02:00
<div class="title" id="upload-filename"></div>
<div class="description"></div>
2017-08-13 20:02:27 +02:00
<div class="progress-bar">
<svg id="progress" width="166" height="166" viewPort="0 0 166 166" version="1.1">
<circle r="73" cx="83" cy="83" fill="transparent"/>
<circle id="bar" r="73" cx="83" cy="83" fill="transparent" transform="rotate(-90 83 83)" stroke-dasharray="458.67" stroke-dashoffset="458.67"/>
</svg>
2017-07-19 16:21:56 +02:00
<div class="percentage">
<span class="percent-number">0</span>
<span class="percent-sign">%</span>
2017-07-06 23:11:24 +02:00
</div>
</div>
2017-07-19 16:21:56 +02:00
<div class="upload">
<div class="progress-text"></div>
2017-07-19 21:48:39 +02:00
<div id="cancel-upload"
data-l10n-id="uploadingPageCancel"></div>
</div>
2017-07-19 21:48:39 +02:00
2017-07-19 16:21:56 +02:00
</div>
2017-07-18 16:50:53 +02:00
2017-07-19 21:48:39 +02:00
<div id="share-link" hidden="true">
<div class="title" data-l10n-id="uploadSuccessTimingHeader"></div>
2017-07-19 16:21:56 +02:00
<div id="share-window">
2017-07-21 19:56:01 +02:00
<div id="copy-text"></div>
2017-07-19 16:21:56 +02:00
<div id="copy">
<input id="link" type="url" value="" readonly/>
<button id="copy-btn" class="btn" data-l10n-id="copyUrlFormButton"></button>
2017-07-14 23:44:56 +02:00
</div>
<button id="delete-file" class="btn" data-l10n-id="deleteFileButton"></button>
<a class="send-new" data-state="completed" data-l10n-id="sendAnotherFileLink" href="/"></a>
2017-07-14 23:44:56 +02:00
</div>
</div>
2017-07-18 16:50:53 +02:00
2017-07-19 21:48:39 +02:00
<div id="upload-error" hidden="true">
<div class="title" data-l10n-id="errorPageHeader"></div>
<div class="expired-description" data-l10n-id="errorPageMessage"></div>
2017-08-16 06:47:34 +02:00
<img id="upload-error-img" data-l10n-id="errorAltText" src="../public/resources/illustration_error.svg"/>
2017-08-11 19:50:37 +02:00
<a class="send-new" href="/" data-state="errored" data-l10n-id="sendAnotherFileLink"></a>
2017-07-14 23:44:56 +02:00
</div>