fixes #675. progress on ios
This commit is contained in:
parent
7fb11ba912
commit
55ed6100e0
@ -6,6 +6,7 @@ module.exports = function(state) {
|
|||||||
const transfer = state.transfer;
|
const transfer = state.transfer;
|
||||||
const div = html`
|
const div = html`
|
||||||
<div id="page-one">
|
<div id="page-one">
|
||||||
|
<div id="download">
|
||||||
<div id="download-progress" class="fadeIn">
|
<div id="download-progress" class="fadeIn">
|
||||||
<div id="dl-title" class="title">${state.translate(
|
<div id="dl-title" class="title">${state.translate(
|
||||||
'downloadingPageProgress',
|
'downloadingPageProgress',
|
||||||
@ -14,7 +15,9 @@ module.exports = function(state) {
|
|||||||
size: bytes(state.fileInfo.size)
|
size: bytes(state.fileInfo.size)
|
||||||
}
|
}
|
||||||
)}</div>
|
)}</div>
|
||||||
<div class="description">${state.translate('downloadingPageMessage')}</div>
|
<div class="description">${state.translate(
|
||||||
|
'downloadingPageMessage'
|
||||||
|
)}</div>
|
||||||
${progress(transfer.progressRatio)}
|
${progress(transfer.progressRatio)}
|
||||||
<div class="upload">
|
<div class="upload">
|
||||||
<div class="progress-text">${state.translate(
|
<div class="progress-text">${state.translate(
|
||||||
@ -24,6 +27,7 @@ module.exports = function(state) {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
`;
|
`;
|
||||||
|
|
||||||
return div;
|
return div;
|
||||||
|
@ -6,6 +6,7 @@ module.exports = function(state, emit) {
|
|||||||
const transfer = state.transfer;
|
const transfer = state.transfer;
|
||||||
|
|
||||||
const div = html`
|
const div = html`
|
||||||
|
<div id="download">
|
||||||
<div id="upload-progress" class="fadeIn">
|
<div id="upload-progress" class="fadeIn">
|
||||||
<div class="title" id="upload-filename">${state.translate(
|
<div class="title" id="upload-filename">${state.translate(
|
||||||
'uploadingPageProgress',
|
'uploadingPageProgress',
|
||||||
@ -26,6 +27,7 @@ module.exports = function(state, emit) {
|
|||||||
)}" onclick=${cancel}>${state.translate('uploadingPageCancel')}</button>
|
)}" onclick=${cancel}>${state.translate('uploadingPageCancel')}</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
`;
|
`;
|
||||||
|
|
||||||
function cancel() {
|
function cancel() {
|
||||||
|
Loading…
Reference in New Issue
Block a user