diff options
author | Christian Pointner <equinox@helsinki.at> | 2015-06-19 02:46:03 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2015-06-19 02:46:03 (GMT) |
commit | 5eff3d12716eaeacde27cb892f5844063a763bcc (patch) | |
tree | f5cf5d7dfdb0ab3209f96c55aa55772b4b3d1ed5 /www/js | |
parent | edbdce251c8226ce89898f5b7a5eb621e2922129 (diff) |
make progress bar striped for import only
Diffstat (limited to 'www/js')
-rw-r--r-- | www/js/shows.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/www/js/shows.js b/www/js/shows.js index 6979b7e..b2d9d98 100644 --- a/www/js/shows.js +++ b/www/js/shows.js @@ -47,9 +47,9 @@ function shows_importUpdateProgress(file, stats) { stats.find('.file-bytes').text(bytes_str); stats.find('.progress .bar').css("width", file.upload.progress + "%"); } else { - stats.find('.file-bytes').text("importiere..."); - stats.find('.progress .bar').css("width", "100%"); - stats.find('.progress').addClass('active'); + stats.find('.file-bytes').text('importiere...'); + stats.find('.progress .bar').css('width', '100%'); + stats.find('.progress').addClass('progress-striped').addClass('active'); } } @@ -132,7 +132,7 @@ function shows_getDzStat(empty) { .css("margin", 0) .css("padding", 0)); } else { - var progress_bar = '<div class="progress progress-striped"><div class="bar" style="width: 0%;"></div></div>'; + var progress_bar = '<div class="progress"><div class="bar" style="width: 0%;"></div></div>'; var cancel_button = '<button class="btn btn-danger btn-mini">' + '<i class="icon-remove icon-white"></i> Abbrechen</button>'; |