[ticket/14310] Put progress percentage inside span and make more visible

PHPBB3-14310
This commit is contained in:
Marc Alexander 2015-12-07 16:41:23 +01:00
parent a740befb02
commit d7317c9b25
2 changed files with 2 additions and 1 deletions

View file

@ -2566,6 +2566,7 @@ fieldset.permissions .padding {
text-align: center; text-align: center;
line-height: 25px; line-height: 25px;
font-weight: bold; font-weight: bold;
color: #fff;
} }
#progress-bar #progress-bar-filler { #progress-bar #progress-bar-filler {

View file

@ -191,12 +191,12 @@
$progressText.attr('id', 'progress-bar-text'); $progressText.attr('id', 'progress-bar-text');
$progressFiller = $('<span />'); $progressFiller = $('<span />');
$progressFiller.attr('id', 'progress-bar-filler'); $progressFiller.attr('id', 'progress-bar-filler');
$progressFiller.html($progressText);
$statusText = $('<p />'); $statusText = $('<p />');
$statusText.attr('id', 'progress-status-text'); $statusText.attr('id', 'progress-status-text');
$progressBar.append($progressFiller); $progressBar.append($progressFiller);
$progressBar.append($progressText);
$progressBarWrapper.append($statusText); $progressBarWrapper.append($statusText);
$progressBarWrapper.append($progressBar); $progressBarWrapper.append($progressBar);