Skip to content

Commit

Permalink
Merge pull request #86 from InfyOmLabs/next_major
Browse files Browse the repository at this point in the history
Next major
  • Loading branch information
mitulgolakiya authored Jul 21, 2022
2 parents deed005 + 53771cf commit 8682e58
Show file tree
Hide file tree
Showing 92 changed files with 409 additions and 640 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ storage/
.env.php
.env
.env.example
composer.lock
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"require": {
"php": "^8.0",
"illuminate/support": "^9.0",
"illuminate/view": "^9.0",
"infyomlabs/laravel-ui-adminlte": "^4.0"
},
"autoload": {
Expand Down
9 changes: 9 additions & 0 deletions src/AdminLTETemplatesServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
namespace InfyOm\AdminLTETemplates;

use Illuminate\Pagination\Paginator;
use Illuminate\Support\Facades\Blade;
use Illuminate\Support\ServiceProvider;

class AdminLTETemplatesServiceProvider extends ServiceProvider
Expand All @@ -21,6 +22,14 @@ public function boot()

Paginator::defaultView('adminlte-templates::common.paginator');
Paginator::defaultSimpleView('adminlte-templates::common.simple_paginator');

Blade::directive('ocb', function () {
return '<?php echo "{{ " ?>';
});

Blade::directive('ccb', function () {
return '<?php echo " }}" ?>';
});
}

/**
Expand Down
8 changes: 0 additions & 8 deletions templates/scaffold/fields/boolean.stub

This file was deleted.

8 changes: 0 additions & 8 deletions templates/scaffold/fields/boolean_locale.stub

This file was deleted.

8 changes: 0 additions & 8 deletions templates/scaffold/fields/checkbox.stub

This file was deleted.

5 changes: 0 additions & 5 deletions templates/scaffold/fields/checkbox_group.stub

This file was deleted.

5 changes: 0 additions & 5 deletions templates/scaffold/fields/checkbox_group_locale.stub

This file was deleted.

8 changes: 0 additions & 8 deletions templates/scaffold/fields/checkbox_locale.stub

This file was deleted.

15 changes: 0 additions & 15 deletions templates/scaffold/fields/date.stub

This file was deleted.

15 changes: 0 additions & 15 deletions templates/scaffold/fields/date_locale.stub

This file was deleted.

5 changes: 0 additions & 5 deletions templates/scaffold/fields/email.stub

This file was deleted.

5 changes: 0 additions & 5 deletions templates/scaffold/fields/email_locale.stub

This file was deleted.

11 changes: 0 additions & 11 deletions templates/scaffold/fields/file.stub

This file was deleted.

11 changes: 0 additions & 11 deletions templates/scaffold/fields/file_locale.stub

This file was deleted.

5 changes: 0 additions & 5 deletions templates/scaffold/fields/number.stub

This file was deleted.

5 changes: 0 additions & 5 deletions templates/scaffold/fields/number_locale.stub

This file was deleted.

5 changes: 0 additions & 5 deletions templates/scaffold/fields/password.stub

This file was deleted.

5 changes: 0 additions & 5 deletions templates/scaffold/fields/password_locale.stub

This file was deleted.

3 changes: 0 additions & 3 deletions templates/scaffold/fields/radio.stub

This file was deleted.

5 changes: 0 additions & 5 deletions templates/scaffold/fields/radio_group.stub

This file was deleted.

5 changes: 0 additions & 5 deletions templates/scaffold/fields/radio_group_locale.stub

This file was deleted.

5 changes: 0 additions & 5 deletions templates/scaffold/fields/select.stub

This file was deleted.

5 changes: 0 additions & 5 deletions templates/scaffold/fields/select_locale.stub

This file was deleted.

5 changes: 0 additions & 5 deletions templates/scaffold/fields/text.stub

This file was deleted.

5 changes: 0 additions & 5 deletions templates/scaffold/fields/text_locale.stub

This file was deleted.

5 changes: 0 additions & 5 deletions templates/scaffold/fields/textarea.stub

This file was deleted.

5 changes: 0 additions & 5 deletions templates/scaffold/fields/textarea_locale.stub

This file was deleted.

7 changes: 0 additions & 7 deletions templates/scaffold/fields/toggle-switch.stub

This file was deleted.

8 changes: 0 additions & 8 deletions templates/scaffold/fields/toggle-switch_locale.stub

This file was deleted.

6 changes: 0 additions & 6 deletions templates/scaffold/layouts/menu_template.stub

This file was deleted.

32 changes: 0 additions & 32 deletions templates/scaffold/views/blade_table_body.stub

This file was deleted.

32 changes: 0 additions & 32 deletions templates/scaffold/views/blade_table_body_locale.stub

This file was deleted.

39 changes: 0 additions & 39 deletions templates/scaffold/views/create.stub

This file was deleted.

Loading

0 comments on commit 8682e58

Please sign in to comment.