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

45 lines
1.7 KiB
Handlebars
Raw Normal View History

2017-07-19 16:21:56 +02:00
<div id="download">
2017-08-12 04:13:57 +02:00
<script defer src="/download.js"></script>
2017-07-19 16:21:56 +02:00
<div id="download-page-one">
<div class="title">
2017-08-06 03:06:43 +02:00
<span id="dl-file"
data-filename="{{filename}}"
data-size="{{sizeInBytes}}"
data-ttl="{{ttl}}"
data-l10n-id="downloadFileName"
2017-08-06 03:06:43 +02:00
data-l10n-args='{{filenameJson}}'></span>
<span id="dl-filesize"></span>
</div>
<div class="description" data-l10n-id="downloadMessage"></div>
<img src="/resources/illustration_download.svg" id="download-img" data-l10n-id="downloadAltText"/>
2017-07-19 16:21:56 +02:00
<div>
<button id="download-btn" class="btn" data-l10n-id="downloadButtonLabel"></button>
2017-07-19 16:21:56 +02:00
</div>
</div>
2017-07-14 23:44:56 +02:00
2017-07-19 21:48:39 +02:00
<div id="download-progress" hidden="true">
2017-08-06 03:06:43 +02:00
<div id="dl-title" class="title"></div>
<div class="description" data-l10n-id="downloadingPageMessage"></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"></span>
<span class="percent-sign">%</span>
2017-06-06 23:23:10 +02:00
</div>
2017-07-13 16:05:45 +02:00
</div>
2017-07-19 16:21:56 +02:00
<div class="upload">
<div class="progress-text">{{filename}}</div>
</div>
2017-06-06 23:23:10 +02:00
</div>
<div id="upload-error" hidden="true">
<div class="title" data-l10n-id="errorPageHeader"></div>
<img id="upload-error-img" data-l10n-id="errorAltText" src="/resources/illustration_error.svg"/>
</div>
2017-08-05 21:23:58 +02:00
<a class="send-new" data-state="completed" data-l10n-id="sendYourFilesLink" href="/"></a>
</div>