added backpack

This commit is contained in:
Amanmyrat 2022-11-28 13:06:22 +05:00
parent bb7aaaf4be
commit 99a9844ef2
21 changed files with 2350 additions and 2223 deletions

View File

@ -29,17 +29,6 @@
'Gravatar' => 'Creativeorange\\Gravatar\\Facades\\Gravatar',
),
),
'digitallyhappy/assets' =>
array (
'providers' =>
array (
0 => 'DigitallyHappy\\Assets\\AssetsServiceProvider',
),
'aliases' =>
array (
'Assets' => 'DigitallyHappy\\Assets\\Facades\\Assets',
),
),
'facade/ignition' =>
array (
'providers' =>
@ -72,6 +61,17 @@
0 => 'Inertia\\ServiceProvider',
),
),
'intervention/image' =>
array (
'providers' =>
array (
0 => 'Intervention\\Image\\ImageServiceProvider',
),
'aliases' =>
array (
'Image' => 'Intervention\\Image\\Facades\\Image',
),
),
'jenssegers/agent' =>
array (
'providers' =>

View File

@ -26,11 +26,11 @@
22 => 'Backpack\\CRUD\\BackpackServiceProvider',
23 => 'Backpack\\Generators\\GeneratorsServiceProvider',
24 => 'Creativeorange\\Gravatar\\GravatarServiceProvider',
25 => 'DigitallyHappy\\Assets\\AssetsServiceProvider',
26 => 'Facade\\Ignition\\IgnitionServiceProvider',
27 => 'Fideloper\\Proxy\\TrustedProxyServiceProvider',
28 => 'Fruitcake\\Cors\\CorsServiceProvider',
29 => 'Inertia\\ServiceProvider',
25 => 'Facade\\Ignition\\IgnitionServiceProvider',
26 => 'Fideloper\\Proxy\\TrustedProxyServiceProvider',
27 => 'Fruitcake\\Cors\\CorsServiceProvider',
28 => 'Inertia\\ServiceProvider',
29 => 'Intervention\\Image\\ImageServiceProvider',
30 => 'Jenssegers\\Agent\\AgentServiceProvider',
31 => 'Laravel\\Fortify\\FortifyServiceProvider',
32 => 'Laravel\\Jetstream\\JetstreamServiceProvider',
@ -68,11 +68,11 @@
10 => 'Backpack\\CRUD\\BackpackServiceProvider',
11 => 'Backpack\\Generators\\GeneratorsServiceProvider',
12 => 'Creativeorange\\Gravatar\\GravatarServiceProvider',
13 => 'DigitallyHappy\\Assets\\AssetsServiceProvider',
14 => 'Facade\\Ignition\\IgnitionServiceProvider',
15 => 'Fideloper\\Proxy\\TrustedProxyServiceProvider',
16 => 'Fruitcake\\Cors\\CorsServiceProvider',
17 => 'Inertia\\ServiceProvider',
13 => 'Facade\\Ignition\\IgnitionServiceProvider',
14 => 'Fideloper\\Proxy\\TrustedProxyServiceProvider',
15 => 'Fruitcake\\Cors\\CorsServiceProvider',
16 => 'Inertia\\ServiceProvider',
17 => 'Intervention\\Image\\ImageServiceProvider',
18 => 'Jenssegers\\Agent\\AgentServiceProvider',
19 => 'Laravel\\Fortify\\FortifyServiceProvider',
20 => 'Laravel\\Jetstream\\JetstreamServiceProvider',
@ -114,7 +114,6 @@
'command.config.cache' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.config.clear' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'Illuminate\\Database\\Console\\DbCommand' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.db.prune' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.db.wipe' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.down' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.environment' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
@ -130,9 +129,7 @@
'command.queue.flush' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.queue.forget' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.queue.listen' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.queue.monitor' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.queue.prune-batches' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.queue.prune-failed-jobs' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.queue.restart' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.queue.retry' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.queue.retry-batch' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
@ -145,7 +142,6 @@
'Illuminate\\Console\\Scheduling\\ScheduleFinishCommand' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'Illuminate\\Console\\Scheduling\\ScheduleListCommand' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'Illuminate\\Console\\Scheduling\\ScheduleRunCommand' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'Illuminate\\Console\\Scheduling\\ScheduleClearCacheCommand' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'Illuminate\\Console\\Scheduling\\ScheduleTestCommand' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'Illuminate\\Console\\Scheduling\\ScheduleWorkCommand' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',
'command.storage.link' => 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider',

View File

@ -5,14 +5,16 @@
"keywords": ["framework", "laravel"],
"license": "MIT",
"require": {
"php": "^7.3|^8.0|^8.1",
"backpack/crud": "^5.4",
"php": "^7.3|^8.0",
"backpack/crud": "4.1.*",
"backpack/generators": "3.1",
"doctrine/dbal": "^3.1",
"fideloper/proxy": "^4.4",
"fruitcake/laravel-cors": "^2.0",
"guzzlehttp/guzzle": "^7.0.1",
"http-interop/http-factory-guzzle": "^1.0",
"inertiajs/inertia-laravel": "^0.4.2",
"intervention/image": "^2.7",
"laravel/framework": "^8.12",
"laravel/jetstream": "^2.3",
"laravel/sanctum": "^2.6",
@ -28,7 +30,6 @@
"vinkla/hashids": "^9.1"
},
"require-dev": {
"backpack/generators": "^3.3",
"facade/ignition": "^2.5",
"fakerphp/faker": "^1.9.1",
"laravel/sail": "^1.0.1",

4114
composer.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,5 @@
/*
*
* Backpack Crud / Create
*
*/

View File

@ -0,0 +1,5 @@
/*
*
* Backpack Crud
*
*/

View File

@ -0,0 +1,5 @@
/*
*
* Backpack Crud / Edit
*
*/

View File

@ -0,0 +1,40 @@
/*
*
* Backpack Crud / Form
*
*/
.form-group.required > label:not(:empty):not(.form-check-label)::after {
content: ' *';
color: #ff0000;
}
.help-block {
margin-top: .25rem;
margin-bottom: .25rem;
color: #73818f;
font-size: 0.9em;
}
.nav-tabs .nav-link:hover {
border-bottom: none;
color: #384c74;
}
form .select2-container--bootstrap .select2-selection--single,
form .select2-container--bootstrap .select2-selection--multiple {
min-height: 38px;
}
form .select2-container--bootstrap .select2-selection--multiple .select2-search--inline .select2-search__field {
min-height: 36px;
}
form .select2-container--bootstrap .select2-selection--multiple .select2-selection__choice {
margin-top: 6px;
}
form .select2-container--bootstrap .select2-selection--multiple .select2-selection__clear {
margin-top: 8px;
}
form .select2-container--bootstrap .select2-selection--single {
padding-top: 8px;
padding-bottom: 8px;
}

View File

@ -0,0 +1,256 @@
/*
*
* Backpack Crud / List
*
*/
table.dataTable thead .sorting:before, table.dataTable thead .sorting_asc:before, table.dataTable thead .sorting_desc:before, table.dataTable thead .sorting_asc_disabled:before, table.dataTable thead .sorting_desc_disabled:before {
right: 0.4em;
top: 1em;
content: "\f0d8";
font: normal normal normal 14px/1 "Line Awesome Free";
font-weight: 900;
}
table.dataTable thead .sorting:after, table.dataTable thead .sorting_asc:after, table.dataTable thead .sorting_desc:after, table.dataTable thead .sorting_asc_disabled:after, table.dataTable thead .sorting_desc_disabled:after {
right: 0.4em;
content: "\f0d7";
font: normal normal normal 14px/1 "Line Awesome Free";
font-weight: 900;
}
/* Removes the horizontal scroll (if the width allows it) */
.box-body.table-responsive {
padding-left: 15px;
padding-right: 15px;
}
/* DataTables Loading State Visual Improvements */
#crudTable_wrapper .dataTables_processing {
background: rgba(255,255,255,0.9);
top: 26px;
height: calc(100% - 6px);
left: 115px;
width: calc(100% - 30px);
z-index: 999;
border: none;
box-shadow: none;
}
#crudTable_wrapper .dataTables_processing > img {
top: calc(50% - 16px)!important;
left: calc(50% - 16px)!important;
position: absolute;
}
#crudTable_wrapper {
/*overflow: hidden;*/
display: block;
}
#crudTable_wrapper #crudTable {
margin-top: 0px!important;
}
/* DataTables Loading State Visual Improvements */
#crudTable.dataTable.dtr-inline.collapsed>tbody>tr>.dtr-control:before {
background-color: transparent;
color: #636161;
font-family: 'Line Awesome Free';
font-weight: 900;
width: 16px;
content: "\f142";
font-size: 21px;
box-shadow: none;
margin-top: -12px;
border: none;
}
.dt-buttons {
display: none;
}
.modal .details-control {
display: none;
}
#crudTable td {
outline: none;
vertical-align: middle;
}
#crudTable td > span {
vertical-align: middle;
}
#crudTable.has-hidden-columns .details-control {
/*display: none;*/
}
div.dataTables_wrapper div.dataTables_length select {
min-width: 3.6rem;
margin-right: 0.4rem;
}
/* backpack filters */
.backpack-filter label {
color: #868686;
font-weight: 600;
text-transform: uppercase;
}
.navbar-filters {
min-height: 25px;
border-radius: 0;
margin-bottom: 6px;
margin-top: 0px;
background: transparent;
border-color: #f4f4f4;
border: none;
}
.navbar-filters .navbar-collapse {
padding: 0;
border: 0;
}
.navbar-filters .navbar-toggle {
padding: 10px 15px;
border-radius: 0;
}
.navbar-filters .navbar-brand {
height: 25px;
padding: 5px 15px;
font-size: 14px;
text-transform: uppercase;
}
@media (min-width: 768px) {
.navbar-filters .navbar-nav>li>a {
padding-top: 5px;
padding-bottom: 5px;
}
}
@media (max-width: 768px) {
.navbar-filters .navbar-nav {
margin: 0;
}
}
/* pagination overwrites */
.pagination>li>a {
background: transparent;
border: none;
border-radius: 5px;
color: #333;
}
.pagination>.disabled>a,
.pagination>.disabled>a:focus,
.pagination>.disabled>a:hover,
.pagination>.disabled>span,
.pagination>.disabled>span:focus,
.pagination>.disabled>span:hover {
background: transparent;
}
.pagination>li>a:focus,
.pagination>li>a:hover,
.pagination>li>span:focus,
.pagination>li>span:hover {
background: white;
}
.pagination>li:last-child>a, .pagination>li:last-child>span,
.pagination>li:first-child>a, .pagination>li:first-child>span {
border-radius: 5px;
}
/* datatable search overwrites */
.dataTables_filter {
text-align: right;
}
.dataTables_filter label {
font-weight: normal;
white-space: nowrap;
text-align: left;
}
.dataTables_filter input {
display: inline-block;
width: auto;
border-radius: 25px;
/*border: none;*/
}
/* datatale modal overwrites */
.dtr-bs-modal .modal-body {
padding: 0;
}
/* datatable header overwrites */
table.dataTable {
margin-top: 0px!important;
}
.content-wrapper {
min-height: calc(100% - 98px);
}
@media(max-width: 576px) {
#datatable_search_stack {
margin-top: .5rem;
}
#datatable_search_stack label {
width: 100%;
}
#datatable_search_stack input[type="search"] {
width: 100%;
}
}
#crudTable thead>tr>th, table.dataTable thead>tr>th {
padding-right: 30px;
}
#crudTable_wrapper .dt-buttons .dt-button-collection,
#crudTable_wrapper tr td .btn-group .dropdown-menu {
max-height: 340px;
overflow-y: auto;
}
#crudTable_wrapper .dt-buttons .dt-button-collection {
padding: 0;
border: 0;
}
.navbar-filters li>a:active,
.navbar-filters .navbar-nav>.active>a, .navbar-filters .navbar-nav>.active>a:focus, .navbar-filters .navbar-nav>.active>a:hover,
.navbar-filters .navbar-nav>.open>a, .navbar-filters .navbar-nav>.open>a:focus, .navbar-filters .navbar-nav>.open>a:hover {
background-color: #e4e7ea;
border-radius: 3px;
}
.navbar-filters li {
margin: 0 2px;
}
.navbar-filters li>a {
border-radius: 2px;
}
.navbar-filters .nav.navbar-nav {
float: none;
}
/* Allow dropdown buttons to push the height/width of the rapper so that they're entirely visible */
.fixed .wrapper {
overflow: visible;
}

View File

@ -0,0 +1,5 @@
/*
*
* Backpack Crud / Reorder
*
*/

View File

@ -0,0 +1,5 @@
/*
*
* Backpack Crud / Revisions
*
*/

View File

@ -0,0 +1,5 @@
/*
*
* Backpack Crud / Show
*
*/

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

View File

@ -0,0 +1,10 @@
/*
*
* Backpack Crud / Create
*
*/
jQuery(function($){
'use strict';
});

View File

@ -0,0 +1,10 @@
/*
*
* Backpack Crud
*
*/
jQuery(function($){
'use strict';
});

View File

@ -0,0 +1,10 @@
/*
*
* Backpack Crud / Edit
*
*/
jQuery(function($){
'use strict';
});

View File

@ -0,0 +1,10 @@
/*
*
* Backpack Crud / Form
*
*/
jQuery(function($){
'use strict';
});

View File

@ -0,0 +1,10 @@
/*
*
* Backpack Crud / List
*
*/
jQuery(function($){
'use strict';
});

View File

@ -0,0 +1,10 @@
/*
*
* Backpack Crud / Reorder
*
*/
jQuery(function($){
'use strict';
});

View File

@ -0,0 +1,10 @@
/*
*
* Backpack Crud / Revisions
*
*/
jQuery(function($){
'use strict';
});

View File

@ -0,0 +1,10 @@
/*
*
* Backpack Crud / Show
*
*/
jQuery(function($){
'use strict';
});