aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2021-10-01 17:24:19 +0200
committerMario Vavti <mario@mariovavti.com>2021-10-01 17:24:19 +0200
commit9a87b8bf1b4384660822f6cb820dbc09e308d07f (patch)
tree7e41f84de7fcd8aaa3a4cdeb4794ccd34a15afe0 /view
parentdac27aab6810473fa020120d348c51dcf93e2d79 (diff)
downloadvolse-hubzilla-9a87b8bf1b4384660822f6cb820dbc09e308d07f.tar.gz
volse-hubzilla-9a87b8bf1b4384660822f6cb820dbc09e308d07f.tar.bz2
volse-hubzilla-9a87b8bf1b4384660822f6cb820dbc09e308d07f.zip
only allow resume if we are not completed yet
Diffstat (limited to 'view')
-rw-r--r--view/tpl/import_progress.tpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/view/tpl/import_progress.tpl b/view/tpl/import_progress.tpl
index 34a93e7c8..2a05661ff 100644
--- a/view/tpl/import_progress.tpl
+++ b/view/tpl/import_progress.tpl
@@ -15,10 +15,10 @@
<div id="cprogress">
<div class="progress mb-2">
- <div id="cprogress-bar" class="progress-bar progress-bar-striped bg-warning{{if $fprogress < 100}} progress-bar-animated{{/if}}" role="progressbar" style="width: {{$cprogress}}%" aria-valuenow="{{$cprogress}}" aria-valuemin="0" aria-valuemax="100"></div>
+ <div id="cprogress-bar" class="progress-bar progress-bar-striped bg-warning{{if $cprogress < 100}} progress-bar-animated{{/if}}" role="progressbar" style="width: {{$cprogress}}%" aria-valuenow="{{$cprogress}}" aria-valuemin="0" aria-valuemax="100"></div>
</div>
<div id="cprogress-resume" class="">
- <a href="/import_progress/restart_itemsync">[ RESUME ]</a> <span class="text-muted">Only resume if sync stalled!</span>
+ <a href="/import_progress/resume_itemsync">[ RESUME ]</a> <span class="text-muted">Only resume if sync stalled!</span>
</div>
<div id="cprogress-complete" class="d-none">
<span class="text-muted">Item sync completed!</span>
@@ -34,7 +34,7 @@
<div id="fprogress-bar" class="progress-bar progress-bar-striped bg-info{{if $fprogress < 100}} progress-bar-animated{{/if}}" role="progressbar" style="width: {{$fprogress}}%" aria-valuenow="{{$fprogress}}" aria-valuemin="0" aria-valuemax="100"></div>
</div>
<div id="fprogress-resume" class="{{if $fprogress == 100}}d-none{{/if}}">
- <a href="/import_progress/restart_filesync">[ RESUME ]</a> <span class="text-muted">Only resume if sync stalled!</span>
+ <a href="/import_progress/resume_filesync">[ RESUME ]</a> <span class="text-muted">Only resume if sync stalled!</span>
</div>
<div id="fprogress-complete" class="{{if $fprogress < 100}}d-none{{/if}}">
<span class="text-muted">File sync completed!</span>