aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/import_progress.tpl
diff options
context:
space:
mode:
authormjfriaza <mjfriaza@disroot.org>2022-05-17 13:44:06 +0200
committermjfriaza <mjfriaza@disroot.org>2022-05-17 13:44:06 +0200
commita75c61d71efebf43713026200aa0f513bd7eef09 (patch)
tree909048adeaa329813e2530d43626ed3bd711bc25 /view/tpl/import_progress.tpl
parent481ecee9e87342ca7a1217395085e95d1a3b61ea (diff)
parent0d0f73fb67bbfcc53058cefded85ac36f951c7a7 (diff)
downloadvolse-hubzilla-a75c61d71efebf43713026200aa0f513bd7eef09.tar.gz
volse-hubzilla-a75c61d71efebf43713026200aa0f513bd7eef09.tar.bz2
volse-hubzilla-a75c61d71efebf43713026200aa0f513bd7eef09.zip
Merge remote-tracking branch 'upstream/dev' into dev
Diffstat (limited to 'view/tpl/import_progress.tpl')
-rw-r--r--view/tpl/import_progress.tpl42
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..05f6c09e3
--- /dev/null
+++ b/view/tpl/import_progress.tpl
@@ -0,0 +1,42 @@
+<h3>{{$chtitle_str}}: 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">{{$chcompleted_str}}</span>
+ </div>
+</div>
+
+<hr>
+
+<h3>{{$ctitle_str}}: <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 $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="{{if $cprogress == 100}}d-none{{/if}}">
+ <a href="/import_progress/resume_itemsync" class="text-capitalize">[ {{$resume_str}} ]</a> <span class="text-muted">{{$resume_helper_str}}</span>
+ </div>
+ <div id="cprogress-completed" class="{{if $cprogress < 100}}d-none{{/if}}">
+ <span class="text-muted">{{$ccompleted_str}}</span>
+ </div>
+</div>
+
+<hr>
+
+<h3>{{$ftitle_str}}: <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/resume_filesync" class="text-capitalize">[ {{$resume_str}} ]</a> <span class="text-muted">{{$resume_helper_str}}</span>
+ </div>
+ <div id="fprogress-completed" class="{{if $fprogress < 100}}d-none{{/if}}">
+ <span class="text-muted">{{$fcompleted_str}}</span>
+ </div>
+</div>