Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
laravel-adminpanel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
laravel-adminpanel
Commits
114caa06
Commit
114caa06
authored
Dec 19, 2017
by
Viral Solani
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://github.com/viralsolani/laravel-adminpanel
into test-cases
parents
b0c717fe
df471b87
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
36 additions
and
33 deletions
+36
-33
UserRepository.php
app/Repositories/Backend/Access/User/UserRepository.php
+1
-0
composer.lock
composer.lock
+22
-22
create_view.stub
resources/views/vendor/generator/Stubs/create_view.stub
+1
-1
edit_view.stub
resources/views/vendor/generator/Stubs/edit_view.stub
+1
-1
index_view.stub
resources/views/vendor/generator/Stubs/index_view.stub
+1
-1
resourceRoute.stub
resources/views/vendor/generator/Stubs/resourceRoute.stub
+10
-8
No files found.
app/Repositories/Backend/Access/User/UserRepository.php
View file @
114caa06
...
...
@@ -12,6 +12,7 @@ use App\Events\Backend\Access\User\UserRestored;
use
App\Events\Backend\Access\User\UserUpdated
;
use
App\Exceptions\GeneralException
;
use
App\Models\Access\User\User
;
use
App\Notifications\Frontend\Auth\UserNeedsConfirmation
;
use
App\Repositories\Backend\Access\Role\RoleRepository
;
use
App\Repositories\BaseRepository
;
use
Illuminate\Support\Facades\DB
;
...
...
composer.lock
View file @
114caa06
...
...
@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
"This file is @generated automatically"
],
"content-hash": "
2bdbd3cc26be3712c0b8e3d5c01f0681
",
"content-hash": "
35bd90d8d234415b1df889e0e8134318
",
"packages": [
{
"name": "arcanedev/log-viewer",
...
...
@@ -1367,16 +1367,16 @@
},
{
"name": "laravel/framework",
"version": "v5.5.2
5
",
"version": "v5.5.2
6
",
"source": {
"type": "git",
"url": "https://github.com/laravel/framework.git",
"reference": "
0a5b6112f325c56ae5a6679c08a0a10723153fe0
"
"reference": "
d7e6a7aab600c5cfae595ea22074ac3c536cbc28
"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/laravel/framework/zipball/
0a5b6112f325c56ae5a6679c08a0a10723153fe0
",
"reference": "
0a5b6112f325c56ae5a6679c08a0a10723153fe0
",
"url": "https://api.github.com/repos/laravel/framework/zipball/
d7e6a7aab600c5cfae595ea22074ac3c536cbc28
",
"reference": "
d7e6a7aab600c5cfae595ea22074ac3c536cbc28
",
"shasum": ""
},
"require": {
...
...
@@ -1497,7 +1497,7 @@
"framework",
"laravel"
],
"time": "2017-12-1
1T14:59:28
+00:00"
"time": "2017-12-1
8T14:15:59
+00:00"
},
{
"name": "laravel/socialite",
...
...
@@ -1563,16 +1563,16 @@
},
{
"name": "laravel/tinker",
"version": "v1.0.
2
",
"version": "v1.0.
3
",
"source": {
"type": "git",
"url": "https://github.com/laravel/tinker.git",
"reference": "
203978fd67f118902acff95925847e70b72e3daf
"
"reference": "
852c2abe0b0991555a403f1c0583e64de6acb4a6
"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/laravel/tinker/zipball/
203978fd67f118902acff95925847e70b72e3daf
",
"reference": "
203978fd67f118902acff95925847e70b72e3daf
",
"url": "https://api.github.com/repos/laravel/tinker/zipball/
852c2abe0b0991555a403f1c0583e64de6acb4a6
",
"reference": "
852c2abe0b0991555a403f1c0583e64de6acb4a6
",
"shasum": ""
},
"require": {
...
...
@@ -1581,7 +1581,7 @@
"illuminate/support": "~5.1",
"php": ">=5.5.9",
"psy/psysh": "0.7.*|0.8.*",
"symfony/var-dumper": "~3.0"
"symfony/var-dumper": "~3.0
|~4.0
"
},
"require-dev": {
"phpunit/phpunit": "~4.0|~5.0"
...
...
@@ -1622,7 +1622,7 @@
"laravel",
"psysh"
],
"time": "2017-
07-13T13:11:05
+00:00"
"time": "2017-
12-18T16:25:11
+00:00"
},
{
"name": "laravelcollective/html",
...
...
@@ -3884,16 +3884,16 @@
},
{
"name": "bvipul/generator",
"version": "0.9.
2
",
"version": "0.9.
3
",
"source": {
"type": "git",
"url": "https://github.com/bvipul/generator.git",
"reference": "
70f90f6e45dc2604e8648bc663b2683e43864ada
"
"reference": "
9aa7d1aa9c2c748fa3890ab25628ea2cd7042103
"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/bvipul/generator/zipball/
70f90f6e45dc2604e8648bc663b2683e43864ada
",
"reference": "
70f90f6e45dc2604e8648bc663b2683e43864ada
",
"url": "https://api.github.com/repos/bvipul/generator/zipball/
9aa7d1aa9c2c748fa3890ab25628ea2cd7042103
",
"reference": "
9aa7d1aa9c2c748fa3890ab25628ea2cd7042103
",
"shasum": ""
},
"type": "package",
...
...
@@ -3913,7 +3913,7 @@
}
],
"description": "To create a whole module with all related files like model, controller, repository, routes, views etc with a simple GUI.",
"time": "2017-12-1
5T18:43:36
+00:00"
"time": "2017-12-1
6T18:48:20
+00:00"
},
{
"name": "doctrine/instantiator",
...
...
@@ -4912,16 +4912,16 @@
},
{
"name": "phpunit/phpunit",
"version": "6.5.
4
",
"version": "6.5.
5
",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/phpunit.git",
"reference": "
1b2f933d5775f9237369deaa2d2bfbf9d652be4c
"
"reference": "
83d27937a310f2984fd575686138597147bdc7df
"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/
1b2f933d5775f9237369deaa2d2bfbf9d652be4c
",
"reference": "
1b2f933d5775f9237369deaa2d2bfbf9d652be4c
",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/
83d27937a310f2984fd575686138597147bdc7df
",
"reference": "
83d27937a310f2984fd575686138597147bdc7df
",
"shasum": ""
},
"require": {
...
...
@@ -4992,7 +4992,7 @@
"testing",
"xunit"
],
"time": "2017-12-1
0T08:06
:19+00:00"
"time": "2017-12-1
7T06:31
:19+00:00"
},
{
"name": "phpunit/phpunit-mock-objects",
...
...
resources/views/vendor/generator/Stubs/create_view.stub
View file @
114caa06
...
...
@@ -12,7 +12,7 @@
@section('content')
{{ Form::open(['route' => 'admin.dummy_small_plural_model.store', 'class' => 'form-horizontal', 'role' => 'form', 'method' => 'post', 'id' => 'create-dummy_small_model']) }}
<div class="box box-
success
">
<div class="box box-
info
">
<div class="box-header with-border">
<h3 class="box-title">{{ trans('labels.backend.dummy_small_plural_model.create') }}</h3>
...
...
resources/views/vendor/generator/Stubs/edit_view.stub
View file @
114caa06
...
...
@@ -12,7 +12,7 @@
@section('content')
{{ Form::model($dummy_small_model, ['route' => ['admin.dummy_small_plural_model.update', $dummy_small_model], 'class' => 'form-horizontal', 'role' => 'form', 'method' => 'PATCH', 'id' => 'edit-dummy_small_model']) }}
<div class="box box-
success
">
<div class="box box-
info
">
<div class="box-header with-border">
<h3 class="box-title">{{ trans('labels.backend.dummy_small_plural_model.edit') }}</h3>
...
...
resources/views/vendor/generator/Stubs/index_view.stub
View file @
114caa06
...
...
@@ -7,7 +7,7 @@
@endsection
@section('content')
<div class="box box-
success
">
<div class="box box-
info
">
<div class="box-header with-border">
<h3 class="box-title">{{ trans('labels.backend.dummy_small_plural_model.management') }}</h3>
...
...
resources/views/vendor/generator/Stubs/resourceRoute.stub
View file @
114caa06
...
...
@@ -3,14 +3,16 @@
* DummyModuleName
*
*/
@
startNamespace
Route
::
group
(
[
'namespace'
=>
'DummyModel'
],
function
()
{
Route
::
group
([
'namespace'
=>
'route_namespace'
,
'prefix'
=>
'admin'
,
'as'
=>
'admin.'
,
'middleware'
=>
'admin'
],
function
()
{
@
startNamespace
Route
::
group
(
[
'namespace'
=>
'DummyModel'
],
function
()
{
Route
::
resource
(
'dummy_name'
,
'DummyController'
);
//For Datatable
Route
::
post
(
'dummy_name/get'
,
'DummyTableController'
)
->
name
(
'dummy_name.get'
);
});
@
endNamespace
@
startWithoutNamespace
Route
::
resource
(
'dummy_name'
,
'DummyController'
);
//For Datatable
Route
::
post
(
'dummy_name/get'
,
'DummyTableController'
)
->
name
(
'dummy_name.get'
);
});
@
endNamespace
@
startWithoutNamespace
Route
::
resource
(
'dummy_name'
,
'DummyController'
);
//For Datatable
Route
::
post
(
'dummy_name/get'
,
'DummyTableController'
)
->
name
(
'dummy_name.get'
);
@
endWithoutNamespace
@
endWithoutNamespace
});
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment