From: Vincent Vanwaelscappel Date: Tue, 25 Jun 2019 16:10:40 +0000 (+0200) Subject: #2843 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=8cdcc53211806ca4d2d6ee8e1cabd1f020f69c5f;p=cubist_cms-back.git #2843 --- diff --git a/composer.json b/composer.json index bc6a4b7..3329f2e 100644 --- a/composer.json +++ b/composer.json @@ -8,7 +8,10 @@ "autoload": { "psr-0": { "Cubist\\Backpack\\": "src" - } + }, + "files": [ + "app/helpers.php" + ] }, "authors": [ { diff --git a/src/CubistBackpackServiceProvider.php b/src/CubistBackpackServiceProvider.php index 024f82a..5d0c88d 100644 --- a/src/CubistBackpackServiceProvider.php +++ b/src/CubistBackpackServiceProvider.php @@ -5,6 +5,7 @@ namespace Cubist\Backpack; use Cubist\Backpack\app\Console\Command\MigrateCommand; use Cubist\Backpack\app\Console\Commands\GenerateCommand; use Cubist\Backpack\app\Console\Commands\InstallCommand; +use Illuminate\Support\Facades\Blade; use Illuminate\Support\ServiceProvider; class CubistBackpackServiceProvider extends ServiceProvider @@ -32,6 +33,9 @@ class CubistBackpackServiceProvider extends ServiceProvider } $this->loadViewsFrom(realpath(__DIR__ . '/resources/views'), self::NAMESPACE); + Blade::directive('vendorasset', function ($path) { + + }); } diff --git a/src/app/helpers.php b/src/app/helpers.php new file mode 100644 index 0000000..5e8550b --- /dev/null +++ b/src/app/helpers.php @@ -0,0 +1,7 @@ + .form-group { + padding: 0; + + > label { + font-size: 1.2em; + margin-bottom: 24px; + } + } + + .sample { + display: none; + } + } +} + + diff --git a/src/resources/views/fields/bunch_multiple.blade.php b/src/resources/views/fields/bunch_multiple.blade.php index 3d2d063..5fdfc7e 100644 --- a/src/resources/views/fields/bunch_multiple.blade.php +++ b/src/resources/views/fields/bunch_multiple.blade.php @@ -14,15 +14,18 @@ if (!is_string($value)) { $unique = 'bunchmultiple_' . rand(1, 100000); ?> -
+
@include('crud::inc.field_translatable_icon')
-
- @include('cubist_back::inc.show_bunch_fields', array('bunchfields'=>$field['bunchfields'])) +
+
+
move Editer +-
+ @include('cubist_back::inc.show_bunch_fields', array('bunchfields'=>$field['bunchfields'])) +
@@ -43,38 +46,12 @@ $unique = 'bunchmultiple_' . rand(1, 100000); {{-- FIELD CSS - will be loaded in the after_styles section --}} @push('crud_fields_styles') - + @endpush {{-- FIELD JS - will be loaded in the after_scripts section --}} @push('crud_fields_scripts') - + @endpush @endif