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
68854b45
Commit
68854b45
authored
Dec 18, 2017
by
Viral Solani
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://github.com/viralsolani/laravel-adminpanel
into develop
parents
196308e0
94d956e6
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
16 deletions
+18
-16
composer.lock
composer.lock
+5
-5
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.
composer.lock
View file @
68854b45
...
...
@@ -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",
...
...
resources/views/vendor/generator/Stubs/create_view.stub
View file @
68854b45
...
...
@@ -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 @
68854b45
...
...
@@ -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 @
68854b45
...
...
@@ -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 @
68854b45
...
...
@@ -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