summaryrefslogtreecommitdiff
path: root/www/js/shows.js
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2016-02-05 06:35:01 (GMT)
committerChristian Pointner <equinox@helsinki.at>2016-02-05 06:35:01 (GMT)
commit9baecec39b44a6e016dab0ffa41de83d2c7acbd2 (patch)
treef15ef7329eb3b6a331fe65ea63fd7a4c2dd0b6e2 /www/js/shows.js
parent58d574f5a77264a2052006964b8ba2c3116a46a3 (diff)
fixed progress bars
Diffstat (limited to 'www/js/shows.js')
-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 07a906d..c140fe2 100644
--- a/www/js/shows.js
+++ b/www/js/shows.js
@@ -77,11 +77,11 @@ function shows_importUpdateProgress(file, stats) {
var bytes_str = Number((file.upload.bytesSent/1024)/1024).toFixed(1) + " von " +
Number((file.upload.total/1024)/1024).toFixed(1) + " MB";
stats.find('.file-bytes').text(bytes_str);
- stats.find('.progress .bar').css("width", file.upload.progress + "%");
+ stats.find('.progress .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('progress-striped').addClass('active');
+ stats.find('.progress .progress-bar').css('width', '100%');
+ stats.find('.progress .progress-bar').addClass('progress-bar-striped').addClass('active');
}
}
@@ -182,7 +182,7 @@ function shows_newCartEntry(elem) {
}
function shows_newImportingEntry(cart) {
- var progress_bar = '<div class="progress"><div class="bar" style="width: 0%;"></div></div>';
+ var progress_bar = '<div class="progress"><div class="progress-bar" style="width: 0%;"><span class="sr-only">0% Complete</span></div></div>';
var cancel_button = '<button class="btn btn-danger btn-xs">' +
'<span class="glyphicon glyphicon-remove"></span>&nbsp;&nbsp;Abbrechen</button>';