diff options
author | Mario Vavti <mario@mariovavti.com> | 2021-10-01 17:09:36 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2021-10-01 17:09:36 +0200 |
commit | b1eaa810ce37e4af88fdb41f0067b56f8725ef31 (patch) | |
tree | 7111312baf4f5b25f0ba968776b348fc33b47097 /view/tpl/import_progress.tpl | |
parent | 6ed160e4fa05e880bc81720b626f2bdc68a20db8 (diff) | |
download | volse-hubzilla-b1eaa810ce37e4af88fdb41f0067b56f8725ef31.tar.gz volse-hubzilla-b1eaa810ce37e4af88fdb41f0067b56f8725ef31.tar.bz2 volse-hubzilla-b1eaa810ce37e4af88fdb41f0067b56f8725ef31.zip |
improve channel import progress page
Diffstat (limited to 'view/tpl/import_progress.tpl')
-rw-r--r-- | view/tpl/import_progress.tpl | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/view/tpl/import_progress.tpl b/view/tpl/import_progress.tpl new file mode 100644 index 000000000..34a93e7c8 --- /dev/null +++ b/view/tpl/import_progress.tpl @@ -0,0 +1,42 @@ +<h3>Channel clone status: 100%</h3> + +<div> + <div class="progress mb-2"> + <div class="progress-bar progress-bar-striped bg-primary" role="progressbar" style="width: 100%" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100"></div> + </div> + <div> + <span class="text-muted">Channel cloning completed!</span> + </div> +</div> + +<hr> + +<h3>Item sync status: <span id="cprogress-label">{{$cprogress_str}}</span></h3> + +<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> + <div id="cprogress-resume" class=""> + <a href="/import_progress/restart_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> + </div> +</div> + +<hr> + +<h3>File sync status: <span id="fprogress-label">{{$fprogress_str}}</span></h3> + +<div id="fprogress"> + <div class="progress mb-2"> + <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> + </div> + <div id="fprogress-complete" class="{{if $fprogress < 100}}d-none{{/if}}"> + <span class="text-muted">File sync completed!</span> + </div> +</div> |