diff --git a/composer.json b/composer.json index b77d96e0..8c87310d 100644 --- a/composer.json +++ b/composer.json @@ -41,7 +41,8 @@ "fzaninotto/faker": "^1.5", "graham-campbell/testbench-core": "^1.0", "mockery/mockery": "^0.9.4", - "phpunit/phpunit": "^4.8" + "phpunit/phpunit": "^4.8", + "laravel/homestead": "dev-master" }, "autoload": { "classmap": [ diff --git a/composer.lock b/composer.lock index 8c11a2a3..a9b46f39 100644 --- a/composer.lock +++ b/composer.lock @@ -1,11 +1,10 @@ { "_readme": [ "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", + "Read more about it at http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "hash": "6e0387e8efc04fc7cb084b6ad8c70ce3", - "content-hash": "fb168177d45e3399c9e971831b79c3b3", + "hash": "4424167995f5ee7e2ce91d557a1f3156", "packages": [ { "name": "alt-three/emoji", @@ -1665,7 +1664,7 @@ "name": "Jeremy Lindblom", "email": "jeremeamia@gmail.com", "homepage": "https://github.com/jeremeamia", - "role": "Developer" + "role": "developer" } ], "description": "Serialize Closure objects, including their context and binding", @@ -3552,6 +3551,47 @@ ], "time": "2015-05-11 14:41:42" }, + { + "name": "laravel/homestead", + "version": "dev-master", + "source": { + "type": "git", + "url": "https://github.com/laravel/homestead.git", + "reference": "92308796309767bbde56669b334ef4b7dd4b31e0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laravel/homestead/zipball/92308796309767bbde56669b334ef4b7dd4b31e0", + "reference": "92308796309767bbde56669b334ef4b7dd4b31e0", + "shasum": "" + }, + "require": { + "php": ">=5.4", + "symfony/console": "~2.0", + "symfony/process": "~2.0" + }, + "bin": [ + "homestead" + ], + "type": "library", + "autoload": { + "psr-4": { + "Laravel\\Homestead\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylorotwell@gmail.com" + } + ], + "description": "A virtual machine for web artisans.", + "time": "2015-10-19 21:21:09" + }, { "name": "mockery/mockery", "version": "0.9.4", @@ -4517,14 +4557,13 @@ ], "aliases": [], "minimum-stability": "dev", - "stability-flags": [], + "stability-flags": { + "laravel/homestead": 20 + }, "prefer-stable": true, "prefer-lowest": false, "platform": { "php": "^5.5.9" }, - "platform-dev": [], - "platform-overrides": { - "php": "5.5.9" - } + "platform-dev": [] } diff --git a/resources/views/index.blade.php b/resources/views/index.blade.php index 55e026e8..b3fca4ba 100644 --- a/resources/views/index.blade.php +++ b/resources/views/index.blade.php @@ -7,11 +7,6 @@ @include('partials.about-app') -@if(Setting::get('style_fullwidth_header')) - -
-@endif -
{{ $systemMessage }}
diff --git a/resources/views/layout/master.blade.php b/resources/views/layout/master.blade.php index 2682ab28..2f99abd3 100644 --- a/resources/views/layout/master.blade.php +++ b/resources/views/layout/master.blade.php @@ -57,12 +57,10 @@ - @if(Setting::get('style_fullwidth_header')) -
- @else -
- @endif + @include('partials.banner') + +
@yield('content')
diff --git a/resources/views/partials/about-app.blade.php b/resources/views/partials/about-app.blade.php index 3e83865c..196635d0 100644 --- a/resources/views/partials/about-app.blade.php +++ b/resources/views/partials/about-app.blade.php @@ -1,16 +1,3 @@ -@if($bannerImage = Setting::get('app_banner')) -
-
- - @if($app_url = Setting::get('app_domain')) - - @else - - @endif -
-
-@endif - @if($about_app)

{{ trans('cachet.about_this_site') }}

diff --git a/resources/views/partials/banner.blade.php b/resources/views/partials/banner.blade.php new file mode 100644 index 00000000..086287e1 --- /dev/null +++ b/resources/views/partials/banner.blade.php @@ -0,0 +1,16 @@ +@if($bannerImage = Setting::get('app_banner')) +
+
+
+
+ + @if($app_url = Setting::get('app_domain')) + + @else + + @endif +
+
+
+
+@endif \ No newline at end of file diff --git a/resources/views/partials/stylesheet.blade.php b/resources/views/partials/stylesheet.blade.php index a979947c..cdee2613 100644 --- a/resources/views/partials/stylesheet.blade.php +++ b/resources/views/partials/stylesheet.blade.php @@ -19,6 +19,9 @@ body.status-page { */ .app-banner { background-color: {{ $theme_banner_background_color }} !important; +} + +.app-banner-padding { padding: {{ $theme_banner_padding }} !important; }