-
Notifications
You must be signed in to change notification settings - Fork 425
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #617 from nasirkhan/formatter
Prettier code formatter added
- Loading branch information
Showing
104 changed files
with
1,868 additions
and
1,288 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
node_modules | ||
dist | ||
.env* | ||
vendor/ | ||
/vendor | ||
public/ | ||
.git | ||
**/.git | ||
package-lock.json | ||
composer.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"printWidth": 120, | ||
"semi": true, | ||
"tabWidth": 4, | ||
"trailingComma": "all", | ||
"plugins": ["@shufo/prettier-plugin-blade", "prettier-plugin-tailwindcss"], | ||
"overrides": [ | ||
{ | ||
"files": ["*.blade.php"], | ||
"options": { | ||
"parser": "blade" | ||
} | ||
} | ||
] | ||
} |
20 changes: 11 additions & 9 deletions
20
Modules/Category/Resources/views/backend/categories/create.blade.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,18 @@ | ||
@extends('backend.layouts.app') | ||
|
||
@section('title') {{ __($module_action) }} {{ __($module_title) }} @endsection | ||
@section('title') | ||
{{ __($module_action) }} {{ __($module_title) }} | ||
@endsection | ||
|
||
@section('breadcrumbs') | ||
<x-backend.breadcrumbs> | ||
<x-backend.breadcrumb-item route='{{route("backend.$module_name.index")}}' icon='{{ $module_icon }}'> | ||
{{ __($module_title) }} | ||
</x-backend.breadcrumb-item> | ||
<x-backend.breadcrumb-item type="active">{{ __($module_action) }}</x-backend.breadcrumb-item> | ||
</x-backend.breadcrumbs> | ||
<x-backend.breadcrumbs> | ||
<x-backend.breadcrumb-item route='{{ route("backend.$module_name.index") }}' icon='{{ $module_icon }}'> | ||
{{ __($module_title) }} | ||
</x-backend.breadcrumb-item> | ||
<x-backend.breadcrumb-item type="active">{{ __($module_action) }}</x-backend.breadcrumb-item> | ||
</x-backend.breadcrumbs> | ||
@endsection | ||
|
||
@section('content') | ||
<x-backend.layouts.create :module_name="$module_name" :module_path="$module_path" :module_title="$module_title" :module_icon="$module_icon" :module_action="$module_action" /> | ||
@endsection | ||
<x-backend.layouts.create :module_name="$module_name" :module_path="$module_path" :module_title="$module_title" :module_icon="$module_icon" :module_action="$module_action" /> | ||
@endsection |
21 changes: 12 additions & 9 deletions
21
Modules/Category/Resources/views/backend/categories/edit.blade.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,19 @@ | ||
@extends('backend.layouts.app') | ||
|
||
@section('title') {{ __($module_action) }} {{ __($module_title) }} @endsection | ||
@section('title') | ||
{{ __($module_action) }} {{ __($module_title) }} | ||
@endsection | ||
|
||
@section('breadcrumbs') | ||
<x-backend.breadcrumbs> | ||
<x-backend.breadcrumb-item route='{{route("backend.$module_name.index")}}' icon='{{ $module_icon }}'> | ||
{{ __($module_title) }} | ||
</x-backend.breadcrumb-item> | ||
<x-backend.breadcrumb-item type="active">{{ __($module_action) }}</x-backend.breadcrumb-item> | ||
</x-backend.breadcrumbs> | ||
<x-backend.breadcrumbs> | ||
<x-backend.breadcrumb-item route='{{ route("backend.$module_name.index") }}' icon='{{ $module_icon }}'> | ||
{{ __($module_title) }} | ||
</x-backend.breadcrumb-item> | ||
<x-backend.breadcrumb-item type="active">{{ __($module_action) }}</x-backend.breadcrumb-item> | ||
</x-backend.breadcrumbs> | ||
@endsection | ||
|
||
@section('content') | ||
<x-backend.layouts.edit :data="$$module_name_singular" :module_name="$module_name" :module_path="$module_path" :module_title="$module_title" :module_icon="$module_icon" :module_action="$module_action" /> | ||
@endsection | ||
<x-backend.layouts.edit :data="$$module_name_singular" :module_name="$module_name" :module_path="$module_path" :module_title="$module_title" :module_icon="$module_icon" | ||
:module_action="$module_action" /> | ||
@endsection |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 8 additions & 5 deletions
13
Modules/Category/Resources/views/backend/categories/trash.blade.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,16 @@ | ||
@extends ('backend.layouts.app') | ||
|
||
@section('title') {{ __($module_action) }} {{ __($module_title) }} @endsection | ||
@section('title') | ||
{{ __($module_action) }} {{ __($module_title) }} | ||
@endsection | ||
|
||
@section('breadcrumbs') | ||
<x-backend.breadcrumbs> | ||
<x-backend.breadcrumb-item type="active" icon='{{ $module_icon }}'>{{ __($module_title) }}</x-backend.breadcrumb-item> | ||
</x-backend.breadcrumbs> | ||
<x-backend.breadcrumbs> | ||
<x-backend.breadcrumb-item type="active" | ||
icon='{{ $module_icon }}'>{{ __($module_title) }}</x-backend.breadcrumb-item> | ||
</x-backend.breadcrumbs> | ||
@endsection | ||
|
||
@section('content') | ||
<x-backend.layouts.trash :data="$$module_name" :module_name="$module_name" :module_path="$module_path" :module_title="$module_title" :module_icon="$module_icon" /> | ||
<x-backend.layouts.trash :data="$$module_name" :module_name="$module_name" :module_path="$module_path" :module_title="$module_title" :module_icon="$module_icon" /> | ||
@endsection |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,18 @@ | ||
@extends('backend.layouts.app') | ||
|
||
@section('title') {{ __($module_action) }} {{ __($module_title) }} @endsection | ||
@section('title') | ||
{{ __($module_action) }} {{ __($module_title) }} | ||
@endsection | ||
|
||
@section('breadcrumbs') | ||
<x-backend.breadcrumbs> | ||
<x-backend.breadcrumb-item route='{{route("backend.$module_name.index")}}' icon='{{ $module_icon }}'> | ||
{{ __($module_title) }} | ||
</x-backend.breadcrumb-item> | ||
<x-backend.breadcrumb-item type="active">{{ __($module_action) }}</x-backend.breadcrumb-item> | ||
</x-backend.breadcrumbs> | ||
<x-backend.breadcrumbs> | ||
<x-backend.breadcrumb-item route='{{ route("backend.$module_name.index") }}' icon='{{ $module_icon }}'> | ||
{{ __($module_title) }} | ||
</x-backend.breadcrumb-item> | ||
<x-backend.breadcrumb-item type="active">{{ __($module_action) }}</x-backend.breadcrumb-item> | ||
</x-backend.breadcrumbs> | ||
@endsection | ||
|
||
@section('content') | ||
<x-backend.layouts.create :module_name="$module_name" :module_path="$module_path" :module_title="$module_title" :module_icon="$module_icon" :module_action="$module_action" /> | ||
@endsection | ||
<x-backend.layouts.create :module_name="$module_name" :module_path="$module_path" :module_title="$module_title" :module_icon="$module_icon" :module_action="$module_action" /> | ||
@endsection |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,19 @@ | ||
@extends('backend.layouts.app') | ||
|
||
@section('title') {{ __($module_action) }} {{ __($module_title) }} @endsection | ||
@section('title') | ||
{{ __($module_action) }} {{ __($module_title) }} | ||
@endsection | ||
|
||
@section('breadcrumbs') | ||
<x-backend.breadcrumbs> | ||
<x-backend.breadcrumb-item route='{{route("backend.$module_name.index")}}' icon='{{ $module_icon }}'> | ||
{{ __($module_title) }} | ||
</x-backend.breadcrumb-item> | ||
<x-backend.breadcrumb-item type="active">{{ __($module_action) }}</x-backend.breadcrumb-item> | ||
</x-backend.breadcrumbs> | ||
<x-backend.breadcrumbs> | ||
<x-backend.breadcrumb-item route='{{ route("backend.$module_name.index") }}' icon='{{ $module_icon }}'> | ||
{{ __($module_title) }} | ||
</x-backend.breadcrumb-item> | ||
<x-backend.breadcrumb-item type="active">{{ __($module_action) }}</x-backend.breadcrumb-item> | ||
</x-backend.breadcrumbs> | ||
@endsection | ||
|
||
@section('content') | ||
<x-backend.layouts.edit :data="$$module_name_singular" :module_name="$module_name" :module_path="$module_path" :module_title="$module_title" :module_icon="$module_icon" :module_action="$module_action" /> | ||
@endsection | ||
<x-backend.layouts.edit :data="$$module_name_singular" :module_name="$module_name" :module_path="$module_path" :module_title="$module_title" :module_icon="$module_icon" | ||
:module_action="$module_action" /> | ||
@endsection |
Oops, something went wrong.