fix background id selector for the first run wizard
This commit is contained in:
parent
39f88c74f9
commit
35acbd6279
|
@ -261,7 +261,7 @@ class ThemingController extends Controller {
|
||||||
$backgroundLogo = $this->config->getAppValue($this->appName, 'backgroundMime');
|
$backgroundLogo = $this->config->getAppValue($this->appName, 'backgroundMime');
|
||||||
if($backgroundLogo !== '') {
|
if($backgroundLogo !== '') {
|
||||||
$responseCss .= '#body-login {background-image: url(\'./loginbackground?v='.$cacheBusterValue.'\');}' . "\n";
|
$responseCss .= '#body-login {background-image: url(\'./loginbackground?v='.$cacheBusterValue.'\');}' . "\n";
|
||||||
$responseCss .= 'firstrunwizard .firstrunwizard-header {' .
|
$responseCss .= '#firstrunwizard .firstrunwizard-header {' .
|
||||||
'background-image: url(\'./loginbackground?v='.$cacheBusterValue.'\');' .
|
'background-image: url(\'./loginbackground?v='.$cacheBusterValue.'\');' .
|
||||||
'}' . "\n";
|
'}' . "\n";
|
||||||
}
|
}
|
||||||
|
|
|
@ -486,7 +486,7 @@ class ThemingControllerTest extends TestCase {
|
||||||
->willReturn('text/svg');
|
->willReturn('text/svg');
|
||||||
|
|
||||||
$expectedData = '#body-login {background-image: url(\'./loginbackground?v=0\');}' . "\n";
|
$expectedData = '#body-login {background-image: url(\'./loginbackground?v=0\');}' . "\n";
|
||||||
$expectedData .= 'firstrunwizard .firstrunwizard-header {' .
|
$expectedData .= '#firstrunwizard .firstrunwizard-header {' .
|
||||||
'background-image: url(\'./loginbackground?v=0\');' .
|
'background-image: url(\'./loginbackground?v=0\');' .
|
||||||
'}' . "\n";
|
'}' . "\n";
|
||||||
|
|
||||||
|
@ -559,7 +559,7 @@ class ThemingControllerTest extends TestCase {
|
||||||
'}' . "\n"
|
'}' . "\n"
|
||||||
);
|
);
|
||||||
$expectedData .= '#body-login {background-image: url(\'./loginbackground?v=0\');}' . "\n";
|
$expectedData .= '#body-login {background-image: url(\'./loginbackground?v=0\');}' . "\n";
|
||||||
$expectedData .= 'firstrunwizard .firstrunwizard-header {' .
|
$expectedData .= '#firstrunwizard .firstrunwizard-header {' .
|
||||||
'background-image: url(\'./loginbackground?v=0\');' .
|
'background-image: url(\'./loginbackground?v=0\');' .
|
||||||
'}' . "\n";
|
'}' . "\n";
|
||||||
$expected = new Http\DataDownloadResponse($expectedData, 'style', 'text/css');
|
$expected = new Http\DataDownloadResponse($expectedData, 'style', 'text/css');
|
||||||
|
@ -631,7 +631,7 @@ class ThemingControllerTest extends TestCase {
|
||||||
'}' . "\n"
|
'}' . "\n"
|
||||||
);
|
);
|
||||||
$expectedData .= '#body-login {background-image: url(\'./loginbackground?v=0\');}' . "\n";
|
$expectedData .= '#body-login {background-image: url(\'./loginbackground?v=0\');}' . "\n";
|
||||||
$expectedData .= 'firstrunwizard .firstrunwizard-header {' .
|
$expectedData .= '#firstrunwizard .firstrunwizard-header {' .
|
||||||
'background-image: url(\'./loginbackground?v=0\');' .
|
'background-image: url(\'./loginbackground?v=0\');' .
|
||||||
'}' . "\n";
|
'}' . "\n";
|
||||||
$expectedData .= '#header .header-appname, #expandDisplayName { color: #000000; }' . "\n";
|
$expectedData .= '#header .header-appname, #expandDisplayName { color: #000000; }' . "\n";
|
||||||
|
|
Loading…
Reference in New Issue