summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2015-06-19 02:46:03 (GMT)
committerChristian Pointner <equinox@helsinki.at>2015-06-19 02:46:03 (GMT)
commit5eff3d12716eaeacde27cb892f5844063a763bcc (patch)
treef5cf5d7dfdb0ab3209f96c55aa55772b4b3d1ed5
parentedbdce251c8226ce89898f5b7a5eb621e2922129 (diff)
make progress bar striped for import only
-rw-r--r--www/js/shows.js8
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>';