]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix missing semicolon to fix themed logo on log in page 683/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 16:16:32 +0000 (18:16 +0200)
apps/theming/lib/controller/themingcontroller.php
apps/theming/tests/lib/controller/ThemingControllerTest.php

index 61bc0b86bf47b15405967401d00a7d804b746b60..6f8af0bb78c55885b0f0c4024c00d3bd652fcf6a 100644 (file)
@@ -233,10 +233,10 @@ class ThemingController extends Controller {
                                "}\n";
                        $responseCss .= '
                                #firstrunwizard .firstrunwizard-header {
-                                   background-color: ' . $color . ';
+                                       background-color: ' . $color . ';
                                }
                                #firstrunwizard p a {
-                                   color: ' . $color . ';
+                                       color: ' . $color . ';
                                }
                                ';
 
@@ -245,7 +245,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 0cbf125d8fd685c4356decc4fc18dfb027fd6a7e..c9b55001f8c224929933121a8fea3cd9719e8bb9 100644 (file)
@@ -349,10 +349,10 @@ class ThemingControllerTest extends TestCase {
 
                $expectedData .= '
                                #firstrunwizard .firstrunwizard-header {
-                                   background-color: ' . $color . ';
+                                       background-color: ' . $color . ';
                                }
                                #firstrunwizard p a {
-                                   color: ' . $color . ';
+                                       color: ' . $color . ';
                                }
                                ';
 
@@ -404,10 +404,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";
@@ -445,7 +445,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 {' .
@@ -538,15 +538,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 {' .
@@ -610,15 +610,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 {' .