]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix missing semicolon to fix themed logo on log in page 682/head
authorJan-Christoph Borchardt <hey@jancborchardt.net>
Mon, 1 Aug 2016 06:39:40 +0000 (08:39 +0200)
committerJan-Christoph Borchardt <hey@jancborchardt.net>
Mon, 1 Aug 2016 07:57:05 +0000 (09:57 +0200)
apps/theming/lib/Controller/ThemingController.php
apps/theming/tests/Controller/ThemingControllerTest.php

index 55391619f3ca37766b5639729b32fb506c1b8655..24865cc2c6e39aa91b13bc728f6b66fd907a7a51 100644 (file)
@@ -244,10 +244,10 @@ class ThemingController extends Controller {
                                "}\n";
                        $responseCss .= '
                                #firstrunwizard .firstrunwizard-header {
-                                   background-color: ' . $color . ';
+                                       background-color: ' . $color . ';
                                }
                                #firstrunwizard p a {
-                                   color: ' . $color . ';
+                                       color: ' . $color . ';
                                }
                                ';
 
@@ -256,7 +256,7 @@ class ThemingController extends Controller {
                if($logo !== '') {
                        $responseCss .= sprintf(
                                '#header .logo {' .
-                               'background-image: url(\'./logo?v='.$cacheBusterValue.'\')' .
+                               'background-image: url(\'./logo?v='.$cacheBusterValue.'\');' .
                                'background-size: contain;' .
                                '}' . "\n" .
                                '#header .logo-icon {' .
index 933faf8a0a16cc70532dd741f3421a0e3e1d34c8..c5a947cc8b7115f294a7e14c57d829a4aa7904e3 100644 (file)
@@ -365,10 +365,10 @@ class ThemingControllerTest extends TestCase {
 
                $expectedData .= '
                                #firstrunwizard .firstrunwizard-header {
-                                   background-color: ' . $color . ';
+                                       background-color: ' . $color . ';
                                }
                                #firstrunwizard p a {
-                                   color: ' . $color . ';
+                                       color: ' . $color . ';
                                }
                                ';
 
@@ -421,10 +421,10 @@ class ThemingControllerTest extends TestCase {
 
                $expectedData .= '
                                #firstrunwizard .firstrunwizard-header {
-                                   background-color: ' . $color . ';
+                                       background-color: ' . $color . ';
                                }
                                #firstrunwizard p a {
-                                   color: ' . $color . ';
+                                       color: ' . $color . ';
                                }
                                ';
                $expectedData .= '#header .header-appname, #expandDisplayName { color: #000000; }' . "\n";
@@ -463,7 +463,7 @@ class ThemingControllerTest extends TestCase {
                        ->willReturn('');
 
                $expectedData = '#header .logo {' .
-                       'background-image: url(\'./logo?v=0\')' .
+                       'background-image: url(\'./logo?v=0\');' .
                        'background-size: contain;' .
                        '}' . "\n" .
                        '#header .logo-icon {' .
@@ -558,15 +558,15 @@ class ThemingControllerTest extends TestCase {
                        "}\n";
                $expectedData .= '
                                #firstrunwizard .firstrunwizard-header {
-                                   background-color: ' . $color . ';
+                                       background-color: ' . $color . ';
                                }
                                #firstrunwizard p a {
-                                   color: ' . $color . ';
+                                       color: ' . $color . ';
                                }
                                ';
                $expectedData .= sprintf(
                        '#header .logo {' .
-                       'background-image: url(\'./logo?v=0\')' .
+                       'background-image: url(\'./logo?v=0\');' .
                        'background-size: contain;' .
                        '}' . "\n" .
                        '#header .logo-icon {' .
@@ -631,15 +631,15 @@ class ThemingControllerTest extends TestCase {
                        "}\n";
                $expectedData .= '
                                #firstrunwizard .firstrunwizard-header {
-                                   background-color: ' . $color . ';
+                                       background-color: ' . $color . ';
                                }
                                #firstrunwizard p a {
-                                   color: ' . $color . ';
+                                       color: ' . $color . ';
                                }
                                ';
                $expectedData .= sprintf(
                        '#header .logo {' .
-                       'background-image: url(\'./logo?v=0\')' .
+                       'background-image: url(\'./logo?v=0\');' .
                        'background-size: contain;' .
                        '}' . "\n" .
                        '#header .logo-icon {' .