updated backpack
This commit is contained in:
parent
a7697a1775
commit
ad11af9e2a
|
|
@ -5,6 +5,7 @@
|
|||
/storage/framework/cache/data
|
||||
/storage/framework/laravel-excel
|
||||
/storage/framework/sessions
|
||||
/storage/framework/views
|
||||
/storage/app/public
|
||||
/storage/app/temp
|
||||
/storage/app/uploads
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
|
|
@ -29,6 +29,17 @@
|
|||
'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' =>
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
|
|
@ -26,32 +26,33 @@
|
|||
22 => 'Backpack\\CRUD\\BackpackServiceProvider',
|
||||
23 => 'Backpack\\Generators\\GeneratorsServiceProvider',
|
||||
24 => 'Creativeorange\\Gravatar\\GravatarServiceProvider',
|
||||
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',
|
||||
33 => 'Laravel\\Sail\\SailServiceProvider',
|
||||
34 => 'Laravel\\Sanctum\\SanctumServiceProvider',
|
||||
35 => 'Laravel\\Scout\\ScoutServiceProvider',
|
||||
36 => 'Laravel\\Tinker\\TinkerServiceProvider',
|
||||
37 => 'Maatwebsite\\Excel\\ExcelServiceProvider',
|
||||
38 => 'Carbon\\Laravel\\ServiceProvider',
|
||||
39 => 'NunoMaduro\\Collision\\Adapters\\Laravel\\CollisionServiceProvider',
|
||||
40 => 'Prologue\\Alerts\\AlertsServiceProvider',
|
||||
41 => 'Spatie\\Translatable\\TranslatableServiceProvider',
|
||||
42 => 'Tightenco\\Ziggy\\ZiggyServiceProvider',
|
||||
43 => 'TimeHunter\\LaravelGoogleReCaptchaV3\\Providers\\GoogleReCaptchaV3ServiceProvider',
|
||||
44 => 'Vinkla\\Hashids\\HashidsServiceProvider',
|
||||
45 => 'App\\Providers\\AppServiceProvider',
|
||||
46 => 'App\\Providers\\AuthServiceProvider',
|
||||
47 => 'App\\Providers\\EventServiceProvider',
|
||||
48 => 'App\\Providers\\RouteServiceProvider',
|
||||
49 => 'App\\Providers\\FortifyServiceProvider',
|
||||
50 => 'App\\Providers\\JetstreamServiceProvider',
|
||||
25 => 'DigitallyHappy\\Assets\\AssetsServiceProvider',
|
||||
26 => 'Facade\\Ignition\\IgnitionServiceProvider',
|
||||
27 => 'Fideloper\\Proxy\\TrustedProxyServiceProvider',
|
||||
28 => 'Fruitcake\\Cors\\CorsServiceProvider',
|
||||
29 => 'Inertia\\ServiceProvider',
|
||||
30 => 'Intervention\\Image\\ImageServiceProvider',
|
||||
31 => 'Jenssegers\\Agent\\AgentServiceProvider',
|
||||
32 => 'Laravel\\Fortify\\FortifyServiceProvider',
|
||||
33 => 'Laravel\\Jetstream\\JetstreamServiceProvider',
|
||||
34 => 'Laravel\\Sail\\SailServiceProvider',
|
||||
35 => 'Laravel\\Sanctum\\SanctumServiceProvider',
|
||||
36 => 'Laravel\\Scout\\ScoutServiceProvider',
|
||||
37 => 'Laravel\\Tinker\\TinkerServiceProvider',
|
||||
38 => 'Maatwebsite\\Excel\\ExcelServiceProvider',
|
||||
39 => 'Carbon\\Laravel\\ServiceProvider',
|
||||
40 => 'NunoMaduro\\Collision\\Adapters\\Laravel\\CollisionServiceProvider',
|
||||
41 => 'Prologue\\Alerts\\AlertsServiceProvider',
|
||||
42 => 'Spatie\\Translatable\\TranslatableServiceProvider',
|
||||
43 => 'Tightenco\\Ziggy\\ZiggyServiceProvider',
|
||||
44 => 'TimeHunter\\LaravelGoogleReCaptchaV3\\Providers\\GoogleReCaptchaV3ServiceProvider',
|
||||
45 => 'Vinkla\\Hashids\\HashidsServiceProvider',
|
||||
46 => 'App\\Providers\\AppServiceProvider',
|
||||
47 => 'App\\Providers\\AuthServiceProvider',
|
||||
48 => 'App\\Providers\\EventServiceProvider',
|
||||
49 => 'App\\Providers\\RouteServiceProvider',
|
||||
50 => 'App\\Providers\\FortifyServiceProvider',
|
||||
51 => 'App\\Providers\\JetstreamServiceProvider',
|
||||
),
|
||||
'eager' =>
|
||||
array (
|
||||
|
|
@ -68,30 +69,31 @@
|
|||
10 => 'Backpack\\CRUD\\BackpackServiceProvider',
|
||||
11 => 'Backpack\\Generators\\GeneratorsServiceProvider',
|
||||
12 => 'Creativeorange\\Gravatar\\GravatarServiceProvider',
|
||||
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',
|
||||
21 => 'Laravel\\Sanctum\\SanctumServiceProvider',
|
||||
22 => 'Laravel\\Scout\\ScoutServiceProvider',
|
||||
23 => 'Maatwebsite\\Excel\\ExcelServiceProvider',
|
||||
24 => 'Carbon\\Laravel\\ServiceProvider',
|
||||
25 => 'NunoMaduro\\Collision\\Adapters\\Laravel\\CollisionServiceProvider',
|
||||
26 => 'Prologue\\Alerts\\AlertsServiceProvider',
|
||||
27 => 'Spatie\\Translatable\\TranslatableServiceProvider',
|
||||
28 => 'Tightenco\\Ziggy\\ZiggyServiceProvider',
|
||||
29 => 'TimeHunter\\LaravelGoogleReCaptchaV3\\Providers\\GoogleReCaptchaV3ServiceProvider',
|
||||
30 => 'Vinkla\\Hashids\\HashidsServiceProvider',
|
||||
31 => 'App\\Providers\\AppServiceProvider',
|
||||
32 => 'App\\Providers\\AuthServiceProvider',
|
||||
33 => 'App\\Providers\\EventServiceProvider',
|
||||
34 => 'App\\Providers\\RouteServiceProvider',
|
||||
35 => 'App\\Providers\\FortifyServiceProvider',
|
||||
36 => 'App\\Providers\\JetstreamServiceProvider',
|
||||
13 => 'DigitallyHappy\\Assets\\AssetsServiceProvider',
|
||||
14 => 'Facade\\Ignition\\IgnitionServiceProvider',
|
||||
15 => 'Fideloper\\Proxy\\TrustedProxyServiceProvider',
|
||||
16 => 'Fruitcake\\Cors\\CorsServiceProvider',
|
||||
17 => 'Inertia\\ServiceProvider',
|
||||
18 => 'Intervention\\Image\\ImageServiceProvider',
|
||||
19 => 'Jenssegers\\Agent\\AgentServiceProvider',
|
||||
20 => 'Laravel\\Fortify\\FortifyServiceProvider',
|
||||
21 => 'Laravel\\Jetstream\\JetstreamServiceProvider',
|
||||
22 => 'Laravel\\Sanctum\\SanctumServiceProvider',
|
||||
23 => 'Laravel\\Scout\\ScoutServiceProvider',
|
||||
24 => 'Maatwebsite\\Excel\\ExcelServiceProvider',
|
||||
25 => 'Carbon\\Laravel\\ServiceProvider',
|
||||
26 => 'NunoMaduro\\Collision\\Adapters\\Laravel\\CollisionServiceProvider',
|
||||
27 => 'Prologue\\Alerts\\AlertsServiceProvider',
|
||||
28 => 'Spatie\\Translatable\\TranslatableServiceProvider',
|
||||
29 => 'Tightenco\\Ziggy\\ZiggyServiceProvider',
|
||||
30 => 'TimeHunter\\LaravelGoogleReCaptchaV3\\Providers\\GoogleReCaptchaV3ServiceProvider',
|
||||
31 => 'Vinkla\\Hashids\\HashidsServiceProvider',
|
||||
32 => 'App\\Providers\\AppServiceProvider',
|
||||
33 => 'App\\Providers\\AuthServiceProvider',
|
||||
34 => 'App\\Providers\\EventServiceProvider',
|
||||
35 => 'App\\Providers\\RouteServiceProvider',
|
||||
36 => 'App\\Providers\\FortifyServiceProvider',
|
||||
37 => 'App\\Providers\\JetstreamServiceProvider',
|
||||
),
|
||||
'deferred' =>
|
||||
array (
|
||||
|
|
|
|||
|
|
@ -6,8 +6,7 @@
|
|||
"license": "MIT",
|
||||
"require": {
|
||||
"php": "^7.3|^8.0",
|
||||
"backpack/crud": "4.1.*",
|
||||
"backpack/generators": "3.1",
|
||||
"backpack/crud": "^5.4",
|
||||
"doctrine/dbal": "^3.1",
|
||||
"fideloper/proxy": "^4.4",
|
||||
"fruitcake/laravel-cors": "^2.0",
|
||||
|
|
@ -30,6 +29,7 @@
|
|||
"vinkla/hashids": "^9.1"
|
||||
},
|
||||
"require-dev": {
|
||||
"backpack/generators": "^3.3",
|
||||
"facade/ignition": "^2.5",
|
||||
"fakerphp/faker": "^1.9.1",
|
||||
"laravel/sail": "^1.0.1",
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||
"This file is @generated automatically"
|
||||
],
|
||||
"content-hash": "f28b6d2da4dab2aa93154b8aad8d319e",
|
||||
"content-hash": "69e7f8d07e328c25ef6627fc6b2a0ab0",
|
||||
"packages": [
|
||||
{
|
||||
"name": "asm89/stack-cors",
|
||||
|
|
@ -64,31 +64,32 @@
|
|||
},
|
||||
{
|
||||
"name": "backpack/crud",
|
||||
"version": "4.1.71",
|
||||
"version": "5.4.8",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/Laravel-Backpack/CRUD.git",
|
||||
"reference": "03a0ad4a8d7182d6ee9cf9c86d784d171a942484"
|
||||
"reference": "8eee661bbc55b6eac082388a988c686f975875e1"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/Laravel-Backpack/CRUD/zipball/03a0ad4a8d7182d6ee9cf9c86d784d171a942484",
|
||||
"reference": "03a0ad4a8d7182d6ee9cf9c86d784d171a942484",
|
||||
"url": "https://api.github.com/repos/Laravel-Backpack/CRUD/zipball/8eee661bbc55b6eac082388a988c686f975875e1",
|
||||
"reference": "8eee661bbc55b6eac082388a988c686f975875e1",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"composer/package-versions-deprecated": "^1.8",
|
||||
"creativeorange/gravatar": "~1.0",
|
||||
"digitallyhappy/assets": "^2.0.1",
|
||||
"doctrine/dbal": "^2.5|^3.0",
|
||||
"guzzlehttp/guzzle": "^7.0|^6.3",
|
||||
"laravel/framework": "^8.0|^7.0|^6.0",
|
||||
"prologue/alerts": "^0.4.1"
|
||||
"laravel/framework": "^9.0|^8.69",
|
||||
"prologue/alerts": "^1.0|^0.4"
|
||||
},
|
||||
"require-dev": {
|
||||
"orchestra/testbench": "^6.0|^5.0|^4.0|^3.0",
|
||||
"orchestra/testbench": "^7.0|^6.0|^5.0|^4.0|^3.0",
|
||||
"phpunit/phpunit": "~8.0|~7.0|~9.0",
|
||||
"scrutinizer/ocular": "~1.7|~1.1",
|
||||
"spatie/laravel-translatable": "^4.0"
|
||||
"spatie/laravel-translatable": "^4.0|^5.0|^6.0"
|
||||
},
|
||||
"suggest": {
|
||||
"backpack/filemanager": "Required to use the browse and browse_multiple fields.",
|
||||
|
|
@ -118,12 +119,12 @@
|
|||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"proprietary"
|
||||
"MIT"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Cristian Tabacitu",
|
||||
"email": "tabacitu@backpackforlaravel.com",
|
||||
"email": "cristian.tabacitu@backpackforlaravel.com",
|
||||
"homepage": "https://backpackforlaravel.com",
|
||||
"role": "Creator & Maintainer"
|
||||
}
|
||||
|
|
@ -151,73 +152,9 @@
|
|||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/Laravel-Backpack/CRUD/issues",
|
||||
"source": "https://github.com/Laravel-Backpack/CRUD/tree/4.1.71"
|
||||
"source": "https://github.com/Laravel-Backpack/CRUD/tree/5.4.8"
|
||||
},
|
||||
"time": "2022-08-08T16:30:20+00:00"
|
||||
},
|
||||
{
|
||||
"name": "backpack/generators",
|
||||
"version": "v3.1.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/Laravel-Backpack/Generators.git",
|
||||
"reference": "12a44a285ff65cdff649e2a1560d0d0f917c2f7d"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/Laravel-Backpack/Generators/zipball/12a44a285ff65cdff649e2a1560d0d0f917c2f7d",
|
||||
"reference": "12a44a285ff65cdff649e2a1560d0d0f917c2f7d",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"backpack/crud": "4.1.*"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^9.0||^7.0",
|
||||
"scrutinizer/ocular": "~1.1"
|
||||
},
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-master": "1.0-dev"
|
||||
},
|
||||
"laravel": {
|
||||
"providers": [
|
||||
"Backpack\\Generators\\GeneratorsServiceProvider"
|
||||
]
|
||||
}
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Backpack\\Generators\\": "src"
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"proprietary"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Cristian Tone",
|
||||
"email": "cristitone@outlook.com",
|
||||
"homepage": "http://updivision.com",
|
||||
"role": "Developer"
|
||||
}
|
||||
],
|
||||
"description": "Generate files for laravel projects",
|
||||
"homepage": "https://github.com/laravel-backpack/generators",
|
||||
"keywords": [
|
||||
"config",
|
||||
"generators",
|
||||
"model",
|
||||
"request",
|
||||
"view"
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/Laravel-Backpack/Generators/issues",
|
||||
"source": "https://github.com/Laravel-Backpack/Generators/tree/v3.1.0"
|
||||
},
|
||||
"time": "2020-05-20T07:31:20+00:00"
|
||||
"time": "2022-11-28T08:21:53+00:00"
|
||||
},
|
||||
{
|
||||
"name": "bacon/bacon-qr-code",
|
||||
|
|
@ -653,6 +590,68 @@
|
|||
},
|
||||
"time": "2022-10-27T11:44:00+00:00"
|
||||
},
|
||||
{
|
||||
"name": "digitallyhappy/assets",
|
||||
"version": "2.0.4",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/DigitallyHappy/assets.git",
|
||||
"reference": "a79e6b0e4d50f31c325f7da9b6e600d89256177d"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/DigitallyHappy/assets/zipball/a79e6b0e4d50f31c325f7da9b6e600d89256177d",
|
||||
"reference": "a79e6b0e4d50f31c325f7da9b6e600d89256177d",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"laravel/framework": "^9.0|^8.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"orchestra/testbench": "~5|~6",
|
||||
"phpunit/phpunit": "~9.0"
|
||||
},
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"laravel": {
|
||||
"providers": [
|
||||
"DigitallyHappy\\Assets\\AssetsServiceProvider"
|
||||
],
|
||||
"aliases": {
|
||||
"Assets": "DigitallyHappy\\Assets\\Facades\\Assets"
|
||||
}
|
||||
}
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"DigitallyHappy\\Assets\\": "src/"
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Cristian Tabacitu",
|
||||
"email": "hello@tabacitu.ro",
|
||||
"homepage": "https://tabacitu.ro"
|
||||
}
|
||||
],
|
||||
"description": "Dead-simple way to load CSS or JS assets only once per page, when using Laravel 8+.",
|
||||
"homepage": "https://github.com/digitallyhappy/assets",
|
||||
"keywords": [
|
||||
"Load CSS once",
|
||||
"Load JS once",
|
||||
"assets",
|
||||
"laravel"
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/DigitallyHappy/assets/issues",
|
||||
"source": "https://github.com/DigitallyHappy/assets/tree/2.0.4"
|
||||
},
|
||||
"time": "2022-03-08T23:50:02+00:00"
|
||||
},
|
||||
{
|
||||
"name": "doctrine/cache",
|
||||
"version": "2.2.0",
|
||||
|
|
@ -902,30 +901,29 @@
|
|||
},
|
||||
{
|
||||
"name": "doctrine/event-manager",
|
||||
"version": "1.2.0",
|
||||
"version": "2.0.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/doctrine/event-manager.git",
|
||||
"reference": "95aa4cb529f1e96576f3fda9f5705ada4056a520"
|
||||
"reference": "750671534e0241a7c50ea5b43f67e23eb5c96f32"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/doctrine/event-manager/zipball/95aa4cb529f1e96576f3fda9f5705ada4056a520",
|
||||
"reference": "95aa4cb529f1e96576f3fda9f5705ada4056a520",
|
||||
"url": "https://api.github.com/repos/doctrine/event-manager/zipball/750671534e0241a7c50ea5b43f67e23eb5c96f32",
|
||||
"reference": "750671534e0241a7c50ea5b43f67e23eb5c96f32",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"doctrine/deprecations": "^0.5.3 || ^1",
|
||||
"php": "^7.1 || ^8.0"
|
||||
"php": "^8.1"
|
||||
},
|
||||
"conflict": {
|
||||
"doctrine/common": "<2.9"
|
||||
},
|
||||
"require-dev": {
|
||||
"doctrine/coding-standard": "^9 || ^10",
|
||||
"phpstan/phpstan": "~1.4.10 || ^1.8.8",
|
||||
"phpunit/phpunit": "^7.5 || ^8.5 || ^9.5",
|
||||
"vimeo/psalm": "^4.24"
|
||||
"doctrine/coding-standard": "^10",
|
||||
"phpstan/phpstan": "^1.8.8",
|
||||
"phpunit/phpunit": "^9.5",
|
||||
"vimeo/psalm": "^4.28"
|
||||
},
|
||||
"type": "library",
|
||||
"autoload": {
|
||||
|
|
@ -974,7 +972,7 @@
|
|||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/doctrine/event-manager/issues",
|
||||
"source": "https://github.com/doctrine/event-manager/tree/1.2.0"
|
||||
"source": "https://github.com/doctrine/event-manager/tree/2.0.0"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
|
|
@ -990,7 +988,7 @@
|
|||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2022-10-12T20:51:15+00:00"
|
||||
"time": "2022-10-12T20:59:15+00:00"
|
||||
},
|
||||
{
|
||||
"name": "doctrine/inflector",
|
||||
|
|
@ -3420,21 +3418,21 @@
|
|||
},
|
||||
{
|
||||
"name": "maennchen/zipstream-php",
|
||||
"version": "2.2.6",
|
||||
"version": "2.3.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/maennchen/ZipStream-PHP.git",
|
||||
"reference": "30ad6f93cf3efe4192bc7a4c9cad11ff8f4f237f"
|
||||
"reference": "8df0a40fff7b5cbf86cf9a6d7d8d15b9bc03bc98"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/maennchen/ZipStream-PHP/zipball/30ad6f93cf3efe4192bc7a4c9cad11ff8f4f237f",
|
||||
"reference": "30ad6f93cf3efe4192bc7a4c9cad11ff8f4f237f",
|
||||
"url": "https://api.github.com/repos/maennchen/ZipStream-PHP/zipball/8df0a40fff7b5cbf86cf9a6d7d8d15b9bc03bc98",
|
||||
"reference": "8df0a40fff7b5cbf86cf9a6d7d8d15b9bc03bc98",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"myclabs/php-enum": "^1.5",
|
||||
"php": "^7.4 || ^8.0",
|
||||
"php": "^8.0",
|
||||
"psr/http-message": "^1.0",
|
||||
"symfony/polyfill-mbstring": "^1.0"
|
||||
},
|
||||
|
|
@ -3482,7 +3480,7 @@
|
|||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/maennchen/ZipStream-PHP/issues",
|
||||
"source": "https://github.com/maennchen/ZipStream-PHP/tree/2.2.6"
|
||||
"source": "https://github.com/maennchen/ZipStream-PHP/tree/2.3.0"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
|
|
@ -3494,7 +3492,7 @@
|
|||
"type": "open_collective"
|
||||
}
|
||||
],
|
||||
"time": "2022-11-25T18:57:19+00:00"
|
||||
"time": "2022-11-28T12:13:34+00:00"
|
||||
},
|
||||
{
|
||||
"name": "markbaker/complex",
|
||||
|
|
@ -6005,16 +6003,16 @@
|
|||
},
|
||||
{
|
||||
"name": "symfony/console",
|
||||
"version": "v5.4.15",
|
||||
"version": "v5.4.16",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/console.git",
|
||||
"reference": "ea59bb0edfaf9f28d18d8791410ee0355f317669"
|
||||
"reference": "8e9b9c8dfb33af6057c94e1b44846bee700dc5ef"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/console/zipball/ea59bb0edfaf9f28d18d8791410ee0355f317669",
|
||||
"reference": "ea59bb0edfaf9f28d18d8791410ee0355f317669",
|
||||
"url": "https://api.github.com/repos/symfony/console/zipball/8e9b9c8dfb33af6057c94e1b44846bee700dc5ef",
|
||||
"reference": "8e9b9c8dfb33af6057c94e1b44846bee700dc5ef",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
|
@ -6084,7 +6082,7 @@
|
|||
"terminal"
|
||||
],
|
||||
"support": {
|
||||
"source": "https://github.com/symfony/console/tree/v5.4.15"
|
||||
"source": "https://github.com/symfony/console/tree/v5.4.16"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
|
|
@ -6100,24 +6098,24 @@
|
|||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2022-10-26T21:41:52+00:00"
|
||||
"time": "2022-11-25T14:09:27+00:00"
|
||||
},
|
||||
{
|
||||
"name": "symfony/css-selector",
|
||||
"version": "v6.0.11",
|
||||
"version": "v6.1.3",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/css-selector.git",
|
||||
"reference": "ab2746acddc4f03a7234c8441822ac5d5c63efe9"
|
||||
"reference": "0dd5e36b80e1de97f8f74ed7023ac2b837a36443"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/css-selector/zipball/ab2746acddc4f03a7234c8441822ac5d5c63efe9",
|
||||
"reference": "ab2746acddc4f03a7234c8441822ac5d5c63efe9",
|
||||
"url": "https://api.github.com/repos/symfony/css-selector/zipball/0dd5e36b80e1de97f8f74ed7023ac2b837a36443",
|
||||
"reference": "0dd5e36b80e1de97f8f74ed7023ac2b837a36443",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": ">=8.0.2"
|
||||
"php": ">=8.1"
|
||||
},
|
||||
"type": "library",
|
||||
"autoload": {
|
||||
|
|
@ -6149,7 +6147,7 @@
|
|||
"description": "Converts CSS selectors to XPath expressions",
|
||||
"homepage": "https://symfony.com",
|
||||
"support": {
|
||||
"source": "https://github.com/symfony/css-selector/tree/v6.0.11"
|
||||
"source": "https://github.com/symfony/css-selector/tree/v6.1.3"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
|
|
@ -6165,29 +6163,29 @@
|
|||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2022-06-27T17:10:44+00:00"
|
||||
"time": "2022-06-27T17:24:16+00:00"
|
||||
},
|
||||
{
|
||||
"name": "symfony/deprecation-contracts",
|
||||
"version": "v3.0.2",
|
||||
"version": "v3.1.1",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/deprecation-contracts.git",
|
||||
"reference": "26954b3d62a6c5fd0ea8a2a00c0353a14978d05c"
|
||||
"reference": "07f1b9cc2ffee6aaafcf4b710fbc38ff736bd918"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/26954b3d62a6c5fd0ea8a2a00c0353a14978d05c",
|
||||
"reference": "26954b3d62a6c5fd0ea8a2a00c0353a14978d05c",
|
||||
"url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/07f1b9cc2ffee6aaafcf4b710fbc38ff736bd918",
|
||||
"reference": "07f1b9cc2ffee6aaafcf4b710fbc38ff736bd918",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": ">=8.0.2"
|
||||
"php": ">=8.1"
|
||||
},
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-main": "3.0-dev"
|
||||
"dev-main": "3.1-dev"
|
||||
},
|
||||
"thanks": {
|
||||
"name": "symfony/contracts",
|
||||
|
|
@ -6216,7 +6214,7 @@
|
|||
"description": "A generic function and convention to trigger deprecation notices",
|
||||
"homepage": "https://symfony.com",
|
||||
"support": {
|
||||
"source": "https://github.com/symfony/deprecation-contracts/tree/v3.0.2"
|
||||
"source": "https://github.com/symfony/deprecation-contracts/tree/v3.1.1"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
|
|
@ -6232,7 +6230,7 @@
|
|||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2022-01-02T09:55:41+00:00"
|
||||
"time": "2022-02-25T11:15:52+00:00"
|
||||
},
|
||||
{
|
||||
"name": "symfony/error-handler",
|
||||
|
|
@ -6307,20 +6305,20 @@
|
|||
},
|
||||
{
|
||||
"name": "symfony/event-dispatcher",
|
||||
"version": "v6.0.9",
|
||||
"version": "v6.1.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/event-dispatcher.git",
|
||||
"reference": "5c85b58422865d42c6eb46f7693339056db098a8"
|
||||
"reference": "a0449a7ad7daa0f7c0acd508259f80544ab5a347"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/5c85b58422865d42c6eb46f7693339056db098a8",
|
||||
"reference": "5c85b58422865d42c6eb46f7693339056db098a8",
|
||||
"url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/a0449a7ad7daa0f7c0acd508259f80544ab5a347",
|
||||
"reference": "a0449a7ad7daa0f7c0acd508259f80544ab5a347",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": ">=8.0.2",
|
||||
"php": ">=8.1",
|
||||
"symfony/event-dispatcher-contracts": "^2|^3"
|
||||
},
|
||||
"conflict": {
|
||||
|
|
@ -6370,7 +6368,7 @@
|
|||
"description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them",
|
||||
"homepage": "https://symfony.com",
|
||||
"support": {
|
||||
"source": "https://github.com/symfony/event-dispatcher/tree/v6.0.9"
|
||||
"source": "https://github.com/symfony/event-dispatcher/tree/v6.1.0"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
|
|
@ -6386,24 +6384,24 @@
|
|||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2022-05-05T16:45:52+00:00"
|
||||
"time": "2022-05-05T16:51:07+00:00"
|
||||
},
|
||||
{
|
||||
"name": "symfony/event-dispatcher-contracts",
|
||||
"version": "v3.0.2",
|
||||
"version": "v3.1.1",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/event-dispatcher-contracts.git",
|
||||
"reference": "7bc61cc2db649b4637d331240c5346dcc7708051"
|
||||
"reference": "02ff5eea2f453731cfbc6bc215e456b781480448"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/7bc61cc2db649b4637d331240c5346dcc7708051",
|
||||
"reference": "7bc61cc2db649b4637d331240c5346dcc7708051",
|
||||
"url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/02ff5eea2f453731cfbc6bc215e456b781480448",
|
||||
"reference": "02ff5eea2f453731cfbc6bc215e456b781480448",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": ">=8.0.2",
|
||||
"php": ">=8.1",
|
||||
"psr/event-dispatcher": "^1"
|
||||
},
|
||||
"suggest": {
|
||||
|
|
@ -6412,7 +6410,7 @@
|
|||
"type": "library",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-main": "3.0-dev"
|
||||
"dev-main": "3.1-dev"
|
||||
},
|
||||
"thanks": {
|
||||
"name": "symfony/contracts",
|
||||
|
|
@ -6449,7 +6447,7 @@
|
|||
"standards"
|
||||
],
|
||||
"support": {
|
||||
"source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.0.2"
|
||||
"source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.1.1"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
|
|
@ -6465,7 +6463,7 @@
|
|||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2022-01-02T09:55:41+00:00"
|
||||
"time": "2022-02-25T11:15:52+00:00"
|
||||
},
|
||||
{
|
||||
"name": "symfony/finder",
|
||||
|
|
@ -6532,16 +6530,16 @@
|
|||
},
|
||||
{
|
||||
"name": "symfony/http-foundation",
|
||||
"version": "v5.4.15",
|
||||
"version": "v5.4.16",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/http-foundation.git",
|
||||
"reference": "75bd663ff2db90141bfb733682459d5bbe9e29c3"
|
||||
"reference": "5032c5849aef24741e1970cb03511b0dd131d838"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/http-foundation/zipball/75bd663ff2db90141bfb733682459d5bbe9e29c3",
|
||||
"reference": "75bd663ff2db90141bfb733682459d5bbe9e29c3",
|
||||
"url": "https://api.github.com/repos/symfony/http-foundation/zipball/5032c5849aef24741e1970cb03511b0dd131d838",
|
||||
"reference": "5032c5849aef24741e1970cb03511b0dd131d838",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
|
@ -6588,7 +6586,7 @@
|
|||
"description": "Defines an object-oriented layer for the HTTP specification",
|
||||
"homepage": "https://symfony.com",
|
||||
"support": {
|
||||
"source": "https://github.com/symfony/http-foundation/tree/v5.4.15"
|
||||
"source": "https://github.com/symfony/http-foundation/tree/v5.4.16"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
|
|
@ -6604,20 +6602,20 @@
|
|||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2022-10-12T09:43:19+00:00"
|
||||
"time": "2022-11-07T08:06:40+00:00"
|
||||
},
|
||||
{
|
||||
"name": "symfony/http-kernel",
|
||||
"version": "v5.4.15",
|
||||
"version": "v5.4.16",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/http-kernel.git",
|
||||
"reference": "fc63c8c3e1036d424820cc993a4ea163778dc5c7"
|
||||
"reference": "b432c57c5de73634b1859093c1f58e3cd84455a1"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/http-kernel/zipball/fc63c8c3e1036d424820cc993a4ea163778dc5c7",
|
||||
"reference": "fc63c8c3e1036d424820cc993a4ea163778dc5c7",
|
||||
"url": "https://api.github.com/repos/symfony/http-kernel/zipball/b432c57c5de73634b1859093c1f58e3cd84455a1",
|
||||
"reference": "b432c57c5de73634b1859093c1f58e3cd84455a1",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
|
@ -6700,7 +6698,7 @@
|
|||
"description": "Provides a structured process for converting a Request into a Response",
|
||||
"homepage": "https://symfony.com",
|
||||
"support": {
|
||||
"source": "https://github.com/symfony/http-kernel/tree/v5.4.15"
|
||||
"source": "https://github.com/symfony/http-kernel/tree/v5.4.16"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
|
|
@ -6716,20 +6714,20 @@
|
|||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2022-10-28T17:52:18+00:00"
|
||||
"time": "2022-11-28T18:08:58+00:00"
|
||||
},
|
||||
{
|
||||
"name": "symfony/mime",
|
||||
"version": "v5.4.14",
|
||||
"version": "v5.4.16",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/mime.git",
|
||||
"reference": "1c118b253bb3495d81e95a6e3ec6c2766a98a0c4"
|
||||
"reference": "46eeedb08f0832b1b61a84c612d945fc85ee4734"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/mime/zipball/1c118b253bb3495d81e95a6e3ec6c2766a98a0c4",
|
||||
"reference": "1c118b253bb3495d81e95a6e3ec6c2766a98a0c4",
|
||||
"url": "https://api.github.com/repos/symfony/mime/zipball/46eeedb08f0832b1b61a84c612d945fc85ee4734",
|
||||
"reference": "46eeedb08f0832b1b61a84c612d945fc85ee4734",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
|
@ -6784,7 +6782,7 @@
|
|||
"mime-type"
|
||||
],
|
||||
"support": {
|
||||
"source": "https://github.com/symfony/mime/tree/v5.4.14"
|
||||
"source": "https://github.com/symfony/mime/tree/v5.4.16"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
|
|
@ -6800,24 +6798,24 @@
|
|||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2022-10-07T08:01:20+00:00"
|
||||
"time": "2022-11-26T16:45:22+00:00"
|
||||
},
|
||||
{
|
||||
"name": "symfony/options-resolver",
|
||||
"version": "v6.0.3",
|
||||
"version": "v6.1.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/options-resolver.git",
|
||||
"reference": "51f7006670febe4cbcbae177cbffe93ff833250d"
|
||||
"reference": "a3016f5442e28386ded73c43a32a5b68586dd1c4"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/options-resolver/zipball/51f7006670febe4cbcbae177cbffe93ff833250d",
|
||||
"reference": "51f7006670febe4cbcbae177cbffe93ff833250d",
|
||||
"url": "https://api.github.com/repos/symfony/options-resolver/zipball/a3016f5442e28386ded73c43a32a5b68586dd1c4",
|
||||
"reference": "a3016f5442e28386ded73c43a32a5b68586dd1c4",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": ">=8.0.2",
|
||||
"php": ">=8.1",
|
||||
"symfony/deprecation-contracts": "^2.1|^3"
|
||||
},
|
||||
"type": "library",
|
||||
|
|
@ -6851,7 +6849,7 @@
|
|||
"options"
|
||||
],
|
||||
"support": {
|
||||
"source": "https://github.com/symfony/options-resolver/tree/v6.0.3"
|
||||
"source": "https://github.com/symfony/options-resolver/tree/v6.1.0"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
|
|
@ -6867,7 +6865,7 @@
|
|||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2022-01-02T09:55:41+00:00"
|
||||
"time": "2022-02-25T11:15:52+00:00"
|
||||
},
|
||||
{
|
||||
"name": "symfony/polyfill-ctype",
|
||||
|
|
@ -7923,20 +7921,20 @@
|
|||
},
|
||||
{
|
||||
"name": "symfony/string",
|
||||
"version": "v6.0.15",
|
||||
"version": "v6.1.7",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/string.git",
|
||||
"reference": "51ac0fa0ccf132a00519b87c97e8f775fa14e771"
|
||||
"reference": "823f143370880efcbdfa2dbca946b3358c4707e5"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/string/zipball/51ac0fa0ccf132a00519b87c97e8f775fa14e771",
|
||||
"reference": "51ac0fa0ccf132a00519b87c97e8f775fa14e771",
|
||||
"url": "https://api.github.com/repos/symfony/string/zipball/823f143370880efcbdfa2dbca946b3358c4707e5",
|
||||
"reference": "823f143370880efcbdfa2dbca946b3358c4707e5",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": ">=8.0.2",
|
||||
"php": ">=8.1",
|
||||
"symfony/polyfill-ctype": "~1.8",
|
||||
"symfony/polyfill-intl-grapheme": "~1.0",
|
||||
"symfony/polyfill-intl-normalizer": "~1.0",
|
||||
|
|
@ -7988,7 +7986,7 @@
|
|||
"utf8"
|
||||
],
|
||||
"support": {
|
||||
"source": "https://github.com/symfony/string/tree/v6.0.15"
|
||||
"source": "https://github.com/symfony/string/tree/v6.1.7"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
|
|
@ -8004,24 +8002,24 @@
|
|||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2022-10-10T09:34:08+00:00"
|
||||
"time": "2022-10-10T09:34:31+00:00"
|
||||
},
|
||||
{
|
||||
"name": "symfony/translation",
|
||||
"version": "v6.0.14",
|
||||
"version": "v6.1.6",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/translation.git",
|
||||
"reference": "6f99eb179aee4652c0a7cd7c11f2a870d904330c"
|
||||
"reference": "e6cd330e5a072518f88d65148f3f165541807494"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/translation/zipball/6f99eb179aee4652c0a7cd7c11f2a870d904330c",
|
||||
"reference": "6f99eb179aee4652c0a7cd7c11f2a870d904330c",
|
||||
"url": "https://api.github.com/repos/symfony/translation/zipball/e6cd330e5a072518f88d65148f3f165541807494",
|
||||
"reference": "e6cd330e5a072518f88d65148f3f165541807494",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": ">=8.0.2",
|
||||
"php": ">=8.1",
|
||||
"symfony/polyfill-mbstring": "~1.0",
|
||||
"symfony/translation-contracts": "^2.3|^3.0"
|
||||
},
|
||||
|
|
@ -8046,6 +8044,7 @@
|
|||
"symfony/http-kernel": "^5.4|^6.0",
|
||||
"symfony/intl": "^5.4|^6.0",
|
||||
"symfony/polyfill-intl-icu": "^1.21",
|
||||
"symfony/routing": "^5.4|^6.0",
|
||||
"symfony/service-contracts": "^1.1.2|^2|^3",
|
||||
"symfony/yaml": "^5.4|^6.0"
|
||||
},
|
||||
|
|
@ -8083,7 +8082,7 @@
|
|||
"description": "Provides tools to internationalize your application",
|
||||
"homepage": "https://symfony.com",
|
||||
"support": {
|
||||
"source": "https://github.com/symfony/translation/tree/v6.0.14"
|
||||
"source": "https://github.com/symfony/translation/tree/v6.1.6"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
|
|
@ -8099,24 +8098,24 @@
|
|||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2022-10-07T08:02:12+00:00"
|
||||
"time": "2022-10-07T08:04:03+00:00"
|
||||
},
|
||||
{
|
||||
"name": "symfony/translation-contracts",
|
||||
"version": "v3.0.2",
|
||||
"version": "v3.1.1",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/translation-contracts.git",
|
||||
"reference": "acbfbb274e730e5a0236f619b6168d9dedb3e282"
|
||||
"reference": "606be0f48e05116baef052f7f3abdb345c8e02cc"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/translation-contracts/zipball/acbfbb274e730e5a0236f619b6168d9dedb3e282",
|
||||
"reference": "acbfbb274e730e5a0236f619b6168d9dedb3e282",
|
||||
"url": "https://api.github.com/repos/symfony/translation-contracts/zipball/606be0f48e05116baef052f7f3abdb345c8e02cc",
|
||||
"reference": "606be0f48e05116baef052f7f3abdb345c8e02cc",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": ">=8.0.2"
|
||||
"php": ">=8.1"
|
||||
},
|
||||
"suggest": {
|
||||
"symfony/translation-implementation": ""
|
||||
|
|
@ -8124,7 +8123,7 @@
|
|||
"type": "library",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-main": "3.0-dev"
|
||||
"dev-main": "3.1-dev"
|
||||
},
|
||||
"thanks": {
|
||||
"name": "symfony/contracts",
|
||||
|
|
@ -8134,7 +8133,10 @@
|
|||
"autoload": {
|
||||
"psr-4": {
|
||||
"Symfony\\Contracts\\Translation\\": ""
|
||||
}
|
||||
},
|
||||
"exclude-from-classmap": [
|
||||
"/Test/"
|
||||
]
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
|
|
@ -8161,7 +8163,7 @@
|
|||
"standards"
|
||||
],
|
||||
"support": {
|
||||
"source": "https://github.com/symfony/translation-contracts/tree/v3.0.2"
|
||||
"source": "https://github.com/symfony/translation-contracts/tree/v3.1.1"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
|
|
@ -8177,7 +8179,7 @@
|
|||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2022-06-27T17:10:44+00:00"
|
||||
"time": "2022-06-27T17:24:16+00:00"
|
||||
},
|
||||
{
|
||||
"name": "symfony/var-dumper",
|
||||
|
|
@ -8747,6 +8749,76 @@
|
|||
}
|
||||
],
|
||||
"packages-dev": [
|
||||
{
|
||||
"name": "backpack/generators",
|
||||
"version": "v3.3.7",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/Laravel-Backpack/Generators.git",
|
||||
"reference": "788189f081b01b5c790f0fcab701817dd9c57706"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/Laravel-Backpack/Generators/zipball/788189f081b01b5c790f0fcab701817dd9c57706",
|
||||
"reference": "788189f081b01b5c790f0fcab701817dd9c57706",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"backpack/crud": "^5.3.11"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^9.0||^7.0",
|
||||
"scrutinizer/ocular": "~1.1"
|
||||
},
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-master": "1.0-dev"
|
||||
},
|
||||
"laravel": {
|
||||
"providers": [
|
||||
"Backpack\\Generators\\GeneratorsServiceProvider"
|
||||
]
|
||||
}
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Backpack\\Generators\\": "src"
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"proprietary"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Cristian Tabacitu",
|
||||
"email": "tabacitu@backpackforlaravel.com",
|
||||
"homepage": "https://backpackforlaravel.com",
|
||||
"role": "Lead Developer & Maintainer"
|
||||
},
|
||||
{
|
||||
"name": "Cristian Tone",
|
||||
"email": "cristitone@outlook.com",
|
||||
"homepage": "http://updivision.com",
|
||||
"role": "Developer"
|
||||
}
|
||||
],
|
||||
"description": "Generate files for laravel projects",
|
||||
"homepage": "https://github.com/laravel-backpack/generators",
|
||||
"keywords": [
|
||||
"config",
|
||||
"generators",
|
||||
"model",
|
||||
"request",
|
||||
"view"
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/Laravel-Backpack/Generators/issues",
|
||||
"source": "https://github.com/Laravel-Backpack/Generators/tree/v3.3.7"
|
||||
},
|
||||
"time": "2022-11-26T07:21:23+00:00"
|
||||
},
|
||||
{
|
||||
"name": "doctrine/instantiator",
|
||||
"version": "1.4.1",
|
||||
|
|
|
|||
|
|
@ -1,152 +0,0 @@
|
|||
<?php
|
||||
$defaultBreadcrumbs = [
|
||||
trans('backpack::crud.admin') => url(config('backpack.base.route_prefix'), 'dashboard'),
|
||||
$crud->entity_name_plural => url($crud->route),
|
||||
trans('backpack::crud.list') => false,
|
||||
];
|
||||
|
||||
// if breadcrumbs aren't defined in the CrudController, use the default breadcrumbs
|
||||
$breadcrumbs = $breadcrumbs ?? $defaultBreadcrumbs;
|
||||
?>
|
||||
|
||||
<?php $__env->startSection('header'); ?>
|
||||
<div class="container-fluid">
|
||||
<h2>
|
||||
<span class="text-capitalize"><?php echo $crud->getHeading() ?? $crud->entity_name_plural; ?></span>
|
||||
<small id="datatable_info_stack"><?php echo $crud->getSubheading() ?? ''; ?></small>
|
||||
</h2>
|
||||
</div>
|
||||
<?php $__env->stopSection(); ?>
|
||||
|
||||
<?php $__env->startSection('content'); ?>
|
||||
<!-- Default box -->
|
||||
<div class="row">
|
||||
|
||||
<!-- THE ACTUAL CONTENT -->
|
||||
<div class="<?php echo e($crud->getListContentClass()); ?>">
|
||||
|
||||
<div class="row mb-0">
|
||||
<div class="col-sm-6">
|
||||
<?php if( $crud->buttons()->where('stack', 'top')->count() || $crud->exportButtons()): ?>
|
||||
<div class="d-print-none <?php echo e($crud->hasAccess('create')?'with-border':''); ?>">
|
||||
|
||||
<?php echo $__env->make('crud::inc.button_stack', ['stack' => 'top'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
|
||||
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div id="datatable_search_stack" class="mt-sm-0 mt-2 d-print-none"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<?php if($crud->filtersEnabled()): ?>
|
||||
<?php echo $__env->make('crud::inc.filters_navbar', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<table id="crudTable" class="bg-white table table-striped table-hover nowrap rounded shadow-xs border-xs mt-2" cellspacing="0">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
<?php $__currentLoopData = $crud->columns(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $column): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
|
||||
<th
|
||||
data-orderable="<?php echo e(var_export($column['orderable'], true)); ?>"
|
||||
data-priority="<?php echo e($column['priority']); ?>"
|
||||
|
||||
|
||||
|
||||
<?php if(isset($column['exportOnlyField']) && $column['exportOnlyField'] === true): ?>
|
||||
data-visible="false"
|
||||
data-visible-in-table="false"
|
||||
data-can-be-visible-in-table="false"
|
||||
data-visible-in-modal="false"
|
||||
data-visible-in-export="true"
|
||||
data-force-export="true"
|
||||
<?php else: ?>
|
||||
data-visible-in-table="<?php echo e(var_export($column['visibleInTable'] ?? false)); ?>"
|
||||
data-visible="<?php echo e(var_export($column['visibleInTable'] ?? true)); ?>"
|
||||
data-can-be-visible-in-table="true"
|
||||
data-visible-in-modal="<?php echo e(var_export($column['visibleInModal'] ?? true)); ?>"
|
||||
<?php if(isset($column['visibleInExport'])): ?>
|
||||
<?php if($column['visibleInExport'] === false): ?>
|
||||
data-visible-in-export="false"
|
||||
data-force-export="false"
|
||||
<?php else: ?>
|
||||
data-visible-in-export="true"
|
||||
data-force-export="true"
|
||||
<?php endif; ?>
|
||||
<?php else: ?>
|
||||
data-visible-in-export="true"
|
||||
data-force-export="false"
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
>
|
||||
<?php echo $column['label']; ?>
|
||||
|
||||
</th>
|
||||
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
|
||||
|
||||
<?php if( $crud->buttons()->where('stack', 'line')->count() ): ?>
|
||||
<th data-orderable="false"
|
||||
data-priority="<?php echo e($crud->getActionsColumnPriority()); ?>"
|
||||
data-visible-in-export="false"
|
||||
><?php echo e(trans('backpack::crud.actions')); ?></th>
|
||||
<?php endif; ?>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<tr>
|
||||
|
||||
<?php $__currentLoopData = $crud->columns(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $column): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
|
||||
<th><?php echo $column['label']; ?></th>
|
||||
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
|
||||
|
||||
<?php if( $crud->buttons()->where('stack', 'line')->count() ): ?>
|
||||
<th><?php echo e(trans('backpack::crud.actions')); ?></th>
|
||||
<?php endif; ?>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
|
||||
<?php if( $crud->buttons()->where('stack', 'bottom')->count() ): ?>
|
||||
<div id="bottom_buttons" class="d-print-none text-center text-sm-left">
|
||||
<?php echo $__env->make('crud::inc.button_stack', ['stack' => 'bottom'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
|
||||
|
||||
<div id="datatable_button_stack" class="float-right text-right hidden-xs"></div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<?php $__env->stopSection(); ?>
|
||||
|
||||
<?php $__env->startSection('after_styles'); ?>
|
||||
<!-- DATA TABLES -->
|
||||
<link rel="stylesheet" type="text/css" href="<?php echo e(asset('packages/datatables.net-bs4/css/dataTables.bootstrap4.min.css')); ?>">
|
||||
<link rel="stylesheet" type="text/css" href="<?php echo e(asset('packages/datatables.net-fixedheader-bs4/css/fixedHeader.bootstrap4.min.css')); ?>">
|
||||
<link rel="stylesheet" type="text/css" href="<?php echo e(asset('packages/datatables.net-responsive-bs4/css/responsive.bootstrap4.min.css')); ?>">
|
||||
|
||||
<link rel="stylesheet" href="<?php echo e(asset('packages/backpack/crud/css/crud.css').'?v='.config('backpack.base.cachebusting_string')); ?>">
|
||||
<link rel="stylesheet" href="<?php echo e(asset('packages/backpack/crud/css/form.css').'?v='.config('backpack.base.cachebusting_string')); ?>">
|
||||
<link rel="stylesheet" href="<?php echo e(asset('packages/backpack/crud/css/list.css').'?v='.config('backpack.base.cachebusting_string')); ?>">
|
||||
|
||||
<!-- CRUD LIST CONTENT - crud_list_styles stack -->
|
||||
<?php echo $__env->yieldPushContent('crud_list_styles'); ?>
|
||||
<?php $__env->stopSection(); ?>
|
||||
|
||||
<?php $__env->startSection('after_scripts'); ?>
|
||||
<?php echo $__env->make('crud::inc.datatables_logic', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
|
||||
<script src="<?php echo e(asset('packages/backpack/crud/js/crud.js').'?v='.config('backpack.base.cachebusting_string')); ?>"></script>
|
||||
<script src="<?php echo e(asset('packages/backpack/crud/js/form.js').'?v='.config('backpack.base.cachebusting_string')); ?>"></script>
|
||||
<script src="<?php echo e(asset('packages/backpack/crud/js/list.js').'?v='.config('backpack.base.cachebusting_string')); ?>"></script>
|
||||
|
||||
<!-- CRUD LIST CONTENT - crud_list_scripts stack -->
|
||||
<?php echo $__env->yieldPushContent('crud_list_scripts'); ?>
|
||||
<?php $__env->stopSection(); ?>
|
||||
|
||||
<?php echo $__env->make(backpack_view('blank'), \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp2\htdocs\exchange\vendor\backpack\crud\src\resources\views\crud/list.blade.php ENDPATH**/ ?>
|
||||
|
|
@ -1,95 +0,0 @@
|
|||
<?php if(backpack_auth()->check()): ?>
|
||||
<!-- Left side column. contains the sidebar -->
|
||||
<div class="<?php echo e(config('backpack.base.sidebar_class')); ?>">
|
||||
<!-- sidebar: style can be found in sidebar.less -->
|
||||
<nav class="sidebar-nav overflow-hidden">
|
||||
<!-- sidebar menu: : style can be found in sidebar.less -->
|
||||
<ul class="nav">
|
||||
<!-- <li class="nav-title"><?php echo e(trans('backpack::base.administration')); ?></li> -->
|
||||
<!-- ================================================ -->
|
||||
<!-- ==== Recommended place for admin menu items ==== -->
|
||||
<!-- ================================================ -->
|
||||
|
||||
<?php echo $__env->make(backpack_view('inc.sidebar_content'), \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
|
||||
|
||||
<!-- ======================================= -->
|
||||
<!-- <li class="divider"></li> -->
|
||||
<!-- <li class="nav-title">Entries</li> -->
|
||||
</ul>
|
||||
</nav>
|
||||
<!-- /.sidebar -->
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php $__env->startPush('before_scripts'); ?>
|
||||
<script type="text/javascript">
|
||||
// Save default sidebar class
|
||||
let sidebarClass = (document.body.className.match(/sidebar-(sm|md|lg|xl)-show/) || ['sidebar-lg-show'])[0];
|
||||
let sidebarTransition = function(value) {
|
||||
document.querySelector('.app-body > .sidebar').style.transition = value || '';
|
||||
};
|
||||
|
||||
// Recover sidebar state
|
||||
let sessionState = sessionStorage.getItem('sidebar-collapsed');
|
||||
if (sessionState) {
|
||||
// disable the transition animation temporarily, so that if you're browsing across
|
||||
// pages with the sidebar closed, the sidebar does not flicker into the view
|
||||
sidebarTransition("none");
|
||||
document.body.classList.toggle(sidebarClass, sessionState === '1');
|
||||
|
||||
// re-enable the transition, so that if the user clicks the hamburger menu, it does have a nice transition
|
||||
setTimeout(sidebarTransition, 100);
|
||||
}
|
||||
</script>
|
||||
<?php $__env->stopPush(); ?>
|
||||
|
||||
<?php $__env->startPush('after_scripts'); ?>
|
||||
<script>
|
||||
// Store sidebar state
|
||||
document.querySelectorAll('.sidebar-toggler').forEach(function(toggler) {
|
||||
toggler.addEventListener('click', function() {
|
||||
sessionStorage.setItem('sidebar-collapsed', Number(!document.body.classList.contains(sidebarClass)))
|
||||
// wait for the sidebar animation to end (250ms) and then update the table headers because datatables uses a cached version
|
||||
// and dont update this values if there are dom changes after the table is draw. The sidebar toggling makes
|
||||
// the table change width, so the headers need to be adjusted accordingly.
|
||||
setTimeout(function() {
|
||||
if(typeof crud !== "undefined" && crud.table) {
|
||||
crud.table.fixedHeader.adjust();
|
||||
}
|
||||
}, 300);
|
||||
})
|
||||
});
|
||||
// Set active state on menu element
|
||||
var full_url = "<?php echo e(Request::fullUrl()); ?>";
|
||||
var $navLinks = $(".sidebar-nav li a, .app-header li a");
|
||||
|
||||
// First look for an exact match including the search string
|
||||
var $curentPageLink = $navLinks.filter(
|
||||
function() { return $(this).attr('href') === full_url; }
|
||||
);
|
||||
|
||||
// If not found, look for the link that starts with the url
|
||||
if(!$curentPageLink.length > 0){
|
||||
$curentPageLink = $navLinks.filter( function() {
|
||||
if ($(this).attr('href').startsWith(full_url)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (full_url.startsWith($(this).attr('href'))) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
});
|
||||
}
|
||||
|
||||
// for the found links that can be considered current, make sure
|
||||
// - the parent item is open
|
||||
$curentPageLink.parents('li').addClass('open');
|
||||
// - the actual element is active
|
||||
$curentPageLink.each(function() {
|
||||
$(this).addClass('active');
|
||||
});
|
||||
</script>
|
||||
<?php $__env->stopPush(); ?>
|
||||
<?php /**PATH C:\xampp2\htdocs\exchange\vendor\backpack\crud\src\resources\views\base/inc/sidebar.blade.php ENDPATH**/ ?>
|
||||
|
|
@ -1,21 +0,0 @@
|
|||
<?php
|
||||
// if field name is array we check if any of the arrayed fields is translatable
|
||||
$translatable = false;
|
||||
if($crud->model->translationEnabled()) {
|
||||
foreach((array) $field['name'] as $field_name){
|
||||
if($crud->model->isTranslatableAttribute($field_name)) {
|
||||
$translatable = true;
|
||||
}
|
||||
}
|
||||
// if the field is a fake one (value is stored in a JSON column instead of a direct db column)
|
||||
// and that JSON column is translatable, then the field itself should be translatable
|
||||
if(isset($field['store_in']) && $crud->model->isTranslatableAttribute($field['store_in'])) {
|
||||
$translatable = true;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
<?php if($translatable && config('backpack.crud.show_translatable_field_icon')): ?>
|
||||
<i class="la la-flag-checkered pull-<?php echo e(config('backpack.crud.translatable_field_icon_position')); ?>" style="margin-top: 3px;" title="This field is translatable."></i>
|
||||
<?php endif; ?>
|
||||
<?php /**PATH C:\xampp2\htdocs\exchange\vendor\backpack\crud\src\resources\views\crud/fields/inc/translatable_icon.blade.php ENDPATH**/ ?>
|
||||
|
|
@ -1,24 +0,0 @@
|
|||
|
||||
<?php
|
||||
$value = data_get($entry, $column['name']);
|
||||
$value = is_array($value) ? json_encode($value) : $value;
|
||||
|
||||
$column['escaped'] = $column['escaped'] ?? true;
|
||||
$column['limit'] = $column['limit'] ?? 40;
|
||||
$column['prefix'] = $column['prefix'] ?? '';
|
||||
$column['suffix'] = $column['suffix'] ?? '';
|
||||
$column['text'] = $column['prefix'].Str::limit($value ?? '', $column['limit'], '[...]').$column['suffix'];
|
||||
?>
|
||||
|
||||
<span>
|
||||
<?php echo $__env->renderWhen(!empty($column['wrapper']), 'crud::columns.inc.wrapper_start', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path'])); ?>
|
||||
<?php if($column['escaped']): ?>
|
||||
<?php echo e($column['text']); ?>
|
||||
|
||||
<?php else: ?>
|
||||
<?php echo $column['text']; ?>
|
||||
|
||||
<?php endif; ?>
|
||||
<?php echo $__env->renderWhen(!empty($column['wrapper']), 'crud::columns.inc.wrapper_end', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path'])); ?>
|
||||
</span>
|
||||
<?php /**PATH C:\xampp2\htdocs\exchange\vendor\backpack\crud\src\resources\views\crud/columns/text.blade.php ENDPATH**/ ?>
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
<li class="nav-item dropdown pr-4">
|
||||
<a class="nav-link" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false" style="position: relative;width: 35px;height: 35px;margin: 0 10px;">
|
||||
<img class="img-avatar" src="<?php echo e(backpack_avatar_url(backpack_auth()->user())); ?>" alt="<?php echo e(backpack_auth()->user()->name); ?>" onerror="this.style.display='none'" style="margin: 0;position: absolute;left: 0;z-index: 1;">
|
||||
<span class="backpack-avatar-menu-container" style="position: absolute;left: 0;width: 100%;background-color: #00a65a;border-radius: 50%;color: #FFF;line-height: 35px;">
|
||||
<?php echo e(backpack_user()->getAttribute('name') ? mb_substr(backpack_user()->name, 0, 1, 'UTF-8') : 'A'); ?>
|
||||
|
||||
</span>
|
||||
</a>
|
||||
<div class="dropdown-menu <?php echo e(config('backpack.base.html_direction') == 'rtl' ? 'dropdown-menu-left' : 'dropdown-menu-right'); ?> mr-4 pb-1 pt-1">
|
||||
<a class="dropdown-item" href="<?php echo e(route('backpack.account.info')); ?>"><i class="la la-user"></i> <?php echo e(trans('backpack::base.my_account')); ?></a>
|
||||
<div class="dropdown-divider"></div>
|
||||
<a class="dropdown-item" href="<?php echo e(backpack_url('logout')); ?>"><i class="la la-lock"></i> <?php echo e(trans('backpack::base.logout')); ?></a>
|
||||
</div>
|
||||
</li>
|
||||
<?php /**PATH C:\xampp2\htdocs\exchange\vendor\backpack\crud\src\resources\views\base/inc/menu_user_dropdown.blade.php ENDPATH**/ ?>
|
||||
|
|
@ -1,96 +0,0 @@
|
|||
<?php if($crud->hasAccess('delete')): ?>
|
||||
<a href="javascript:void(0)" onclick="deleteEntry(this)" data-route="<?php echo e(url($crud->route.'/'.$entry->getKey())); ?>" class="btn btn-sm btn-link" data-button-type="delete"><i class="la la-trash"></i> <?php echo e(trans('backpack::crud.delete')); ?></a>
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
|
||||
|
||||
<?php $__env->startPush('after_scripts'); ?> <?php if(request()->ajax()): ?> <?php $__env->stopPush(); ?> <?php endif; ?>
|
||||
<script>
|
||||
|
||||
if (typeof deleteEntry != 'function') {
|
||||
$("[data-button-type=delete]").unbind('click');
|
||||
|
||||
function deleteEntry(button) {
|
||||
// ask for confirmation before deleting an item
|
||||
// e.preventDefault();
|
||||
var route = $(button).attr('data-route');
|
||||
|
||||
swal({
|
||||
title: "<?php echo trans('backpack::base.warning'); ?>",
|
||||
text: "<?php echo trans('backpack::crud.delete_confirm'); ?>",
|
||||
icon: "warning",
|
||||
buttons: ["<?php echo trans('backpack::crud.cancel'); ?>", "<?php echo trans('backpack::crud.delete'); ?>"],
|
||||
dangerMode: true,
|
||||
}).then((value) => {
|
||||
if (value) {
|
||||
$.ajax({
|
||||
url: route,
|
||||
type: 'DELETE',
|
||||
success: function(result) {
|
||||
if (result == 1) {
|
||||
// Redraw the table
|
||||
if (typeof crud != 'undefined' && typeof crud.table != 'undefined') {
|
||||
// Move to previous page in case of deleting the only item in table
|
||||
if(crud.table.rows().count() === 1) {
|
||||
crud.table.page("previous");
|
||||
}
|
||||
|
||||
crud.table.draw(false);
|
||||
}
|
||||
|
||||
// Show a success notification bubble
|
||||
new Noty({
|
||||
type: "success",
|
||||
text: "<?php echo '<strong>'.trans('backpack::crud.delete_confirmation_title').'</strong><br>'.trans('backpack::crud.delete_confirmation_message'); ?>"
|
||||
}).show();
|
||||
|
||||
// Hide the modal, if any
|
||||
$('.modal').modal('hide');
|
||||
} else {
|
||||
// if the result is an array, it means
|
||||
// we have notification bubbles to show
|
||||
if (result instanceof Object) {
|
||||
// trigger one or more bubble notifications
|
||||
Object.entries(result).forEach(function(entry, index) {
|
||||
var type = entry[0];
|
||||
entry[1].forEach(function(message, i) {
|
||||
new Noty({
|
||||
type: type,
|
||||
text: message
|
||||
}).show();
|
||||
});
|
||||
});
|
||||
} else {// Show an error alert
|
||||
swal({
|
||||
title: "<?php echo trans('backpack::crud.delete_confirmation_not_title'); ?>",
|
||||
text: "<?php echo trans('backpack::crud.delete_confirmation_not_message'); ?>",
|
||||
icon: "error",
|
||||
timer: 4000,
|
||||
buttons: false,
|
||||
});
|
||||
}
|
||||
}
|
||||
},
|
||||
error: function(result) {
|
||||
// Show an alert with the result
|
||||
swal({
|
||||
title: "<?php echo trans('backpack::crud.delete_confirmation_not_title'); ?>",
|
||||
text: "<?php echo trans('backpack::crud.delete_confirmation_not_message'); ?>",
|
||||
icon: "error",
|
||||
timer: 4000,
|
||||
buttons: false,
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
// make it so that the function above is run after each DataTable draw event
|
||||
// crud.addFunctionToDataTablesDrawEventQueue('deleteEntry');
|
||||
</script>
|
||||
<?php if(!request()->ajax()): ?> <?php $__env->stopPush(); ?> <?php endif; ?>
|
||||
<?php /**PATH C:\xampp2\htdocs\exchange\vendor\backpack\crud\src\resources\views\crud/buttons/delete.blade.php ENDPATH**/ ?>
|
||||
|
|
@ -1,174 +0,0 @@
|
|||
<input type="hidden" name="http_referrer" value=<?php echo e(session('referrer_url_override') ?? old('http_referrer') ?? \URL::previous() ?? url($crud->route)); ?>>
|
||||
|
||||
|
||||
<?php if($crud->tabsEnabled() && count($crud->getTabs())): ?>
|
||||
<?php echo $__env->make('crud::inc.show_tabbed_fields', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
|
||||
<input type="hidden" name="current_tab" value="<?php echo e(Str::slug($crud->getTabs()[0])); ?>" />
|
||||
<?php else: ?>
|
||||
<div class="card">
|
||||
<div class="card-body row">
|
||||
<?php echo $__env->make('crud::inc.show_fields', ['fields' => $crud->fields()], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
|
||||
|
||||
<?php $__env->startSection('after_styles'); ?>
|
||||
<link rel="stylesheet" href="<?php echo e(asset('packages/backpack/crud/css/crud.css').'?v='.config('backpack.base.cachebusting_string')); ?>">
|
||||
<link rel="stylesheet" href="<?php echo e(asset('packages/backpack/crud/css/form.css').'?v='.config('backpack.base.cachebusting_string')); ?>">
|
||||
<link rel="stylesheet" href="<?php echo e(asset('packages/backpack/crud/css/'.$action.'.css').'?v='.config('backpack.base.cachebusting_string')); ?>">
|
||||
|
||||
<!-- CRUD FORM CONTENT - crud_fields_styles stack -->
|
||||
<?php echo $__env->yieldPushContent('crud_fields_styles'); ?>
|
||||
|
||||
|
||||
<style>
|
||||
.form-group.required label:not(:empty):not(.form-check-label)::after {
|
||||
content: '';
|
||||
}
|
||||
.form-group.required > label:not(:empty):not(.form-check-label)::after {
|
||||
content: ' *';
|
||||
color: #ff0000;
|
||||
}
|
||||
</style>
|
||||
<?php $__env->stopSection(); ?>
|
||||
|
||||
<?php $__env->startSection('after_scripts'); ?>
|
||||
<script src="<?php echo e(asset('packages/backpack/crud/js/crud.js').'?v='.config('backpack.base.cachebusting_string')); ?>"></script>
|
||||
<script src="<?php echo e(asset('packages/backpack/crud/js/form.js').'?v='.config('backpack.base.cachebusting_string')); ?>"></script>
|
||||
<script src="<?php echo e(asset('packages/backpack/crud/js/'.$action.'.js').'?v='.config('backpack.base.cachebusting_string')); ?>"></script>
|
||||
|
||||
<!-- CRUD FORM CONTENT - crud_fields_scripts stack -->
|
||||
<?php echo $__env->yieldPushContent('crud_fields_scripts'); ?>
|
||||
|
||||
<script>
|
||||
function initializeFieldsWithJavascript(container) {
|
||||
var selector;
|
||||
if (container instanceof jQuery) {
|
||||
selector = container;
|
||||
} else {
|
||||
selector = $(container);
|
||||
}
|
||||
selector.find("[data-init-function]").not("[data-initialized=true]").each(function () {
|
||||
var element = $(this);
|
||||
var functionName = element.data('init-function');
|
||||
|
||||
if (typeof window[functionName] === "function") {
|
||||
window[functionName](element);
|
||||
|
||||
// mark the element as initialized, so that its function is never called again
|
||||
element.attr('data-initialized', 'true');
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
jQuery('document').ready(function($){
|
||||
|
||||
// trigger the javascript for all fields that have their js defined in a separate method
|
||||
initializeFieldsWithJavascript('form');
|
||||
|
||||
|
||||
// Save button has multiple actions: save and exit, save and edit, save and new
|
||||
var saveActions = $('#saveActions'),
|
||||
crudForm = saveActions.parents('form'),
|
||||
saveActionField = $('[name="save_action"]');
|
||||
|
||||
saveActions.on('click', '.dropdown-menu a', function(){
|
||||
var saveAction = $(this).data('value');
|
||||
saveActionField.val( saveAction );
|
||||
crudForm.submit();
|
||||
});
|
||||
|
||||
// Ctrl+S and Cmd+S trigger Save button click
|
||||
$(document).keydown(function(e) {
|
||||
if ((e.which == '115' || e.which == '83' ) && (e.ctrlKey || e.metaKey))
|
||||
{
|
||||
e.preventDefault();
|
||||
$("button[type=submit]").trigger('click');
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
});
|
||||
|
||||
// prevent duplicate entries on double-clicking the submit form
|
||||
crudForm.submit(function (event) {
|
||||
$("button[type=submit]").prop('disabled', true);
|
||||
});
|
||||
|
||||
// Place the focus on the first element in the form
|
||||
<?php if( $crud->getAutoFocusOnFirstField() ): ?>
|
||||
<?php
|
||||
$focusField = Arr::first($fields, function($field) {
|
||||
return isset($field['auto_focus']) && $field['auto_focus'] == true;
|
||||
});
|
||||
?>
|
||||
|
||||
<?php if($focusField): ?>
|
||||
<?php
|
||||
$focusFieldName = isset($focusField['value']) && is_iterable($focusField['value']) ? $focusField['name'] . '[]' : $focusField['name'];
|
||||
?>
|
||||
window.focusField = $('[name="<?php echo e($focusFieldName); ?>"]').eq(0),
|
||||
<?php else: ?>
|
||||
var focusField = $('form').find('input, textarea, select').not('[type="hidden"]').eq(0),
|
||||
<?php endif; ?>
|
||||
|
||||
fieldOffset = focusField.offset().top,
|
||||
scrollTolerance = $(window).height() / 2;
|
||||
|
||||
focusField.trigger('focus');
|
||||
|
||||
if( fieldOffset > scrollTolerance ){
|
||||
$('html, body').animate({scrollTop: (fieldOffset - 30)});
|
||||
}
|
||||
<?php endif; ?>
|
||||
|
||||
// Add inline errors to the DOM
|
||||
<?php if($crud->inlineErrorsEnabled() && $errors->any()): ?>
|
||||
|
||||
window.errors = <?php echo json_encode($errors->messages()); ?>;
|
||||
// console.error(window.errors);
|
||||
|
||||
$.each(errors, function(property, messages){
|
||||
|
||||
var normalizedProperty = property.split('.').map(function(item, index){
|
||||
return index === 0 ? item : '['+item+']';
|
||||
}).join('');
|
||||
|
||||
var field = $('[name="' + normalizedProperty + '[]"]').length ?
|
||||
$('[name="' + normalizedProperty + '[]"]') :
|
||||
$('[name="' + normalizedProperty + '"]'),
|
||||
container = field.parents('.form-group');
|
||||
|
||||
container.addClass('text-danger');
|
||||
container.children('input, textarea, select').addClass('is-invalid');
|
||||
|
||||
$.each(messages, function(key, msg){
|
||||
// highlight the input that errored
|
||||
var row = $('<div class="invalid-feedback d-block">' + msg + '</div>');
|
||||
row.appendTo(container);
|
||||
|
||||
// highlight its parent tab
|
||||
<?php if($crud->tabsEnabled()): ?>
|
||||
var tab_id = $(container).closest('[role="tabpanel"]').attr('id');
|
||||
$("#form_tabs [aria-controls="+tab_id+"]").addClass('text-danger');
|
||||
<?php endif; ?>
|
||||
});
|
||||
});
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
$("a[data-toggle='tab']").click(function(){
|
||||
currentTabName = $(this).attr('tab_name');
|
||||
$("input[name='current_tab']").val(currentTabName);
|
||||
});
|
||||
|
||||
if (window.location.hash) {
|
||||
$("input[name='current_tab']").val(window.location.hash.substr(1));
|
||||
}
|
||||
|
||||
});
|
||||
</script>
|
||||
<?php $__env->stopSection(); ?>
|
||||
<?php /**PATH C:\xampp2\htdocs\exchange\vendor\backpack\crud\src\resources\views\crud/form_content.blade.php ENDPATH**/ ?>
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
<?php
|
||||
$error_number = 404;
|
||||
?>
|
||||
|
||||
<?php $__env->startSection('title'); ?>
|
||||
Page not found.
|
||||
<?php $__env->stopSection(); ?>
|
||||
|
||||
<?php $__env->startSection('description'); ?>
|
||||
<?php
|
||||
$default_error_message = "Please <a href='javascript:history.back()''>go back</a> or return to <a href='".url('')."'>our homepage</a>.";
|
||||
?>
|
||||
<?php echo isset($exception)? ($exception->getMessage()?e($exception->getMessage()):$default_error_message): $default_error_message; ?>
|
||||
|
||||
<?php $__env->stopSection(); ?>
|
||||
|
||||
<?php echo $__env->make('errors.layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp2\htdocs\exchange\resources\views/errors/404.blade.php ENDPATH**/ ?>
|
||||
|
|
@ -1,26 +0,0 @@
|
|||
<?php
|
||||
$field['wrapper'] = $field['wrapper'] ?? $field['wrapperAttributes'] ?? [];
|
||||
|
||||
// each wrapper attribute can be a callback or a string
|
||||
// for those that are callbacks, run the callbacks to get the final string to use
|
||||
foreach($field['wrapper'] as $attributeKey => $value) {
|
||||
$field['wrapper'][$attributeKey] = !is_string($value) && is_callable($value) ? $value($crud, $field, $entry ?? null) : $value ?? '';
|
||||
}
|
||||
// if the field is required in the FormRequest, it should have an asterisk
|
||||
$required = (isset($action) && $crud->isRequired($field['name'], $action)) ? ' required' : '';
|
||||
|
||||
// if the developer has intentionally set the required attribute on the field
|
||||
// forget whatever is in the FormRequest, do what the developer wants
|
||||
$required = isset($field['showAsterisk']) ? ($field['showAsterisk'] ? ' required' : '') : $required;
|
||||
|
||||
$field['wrapper']['class'] = $field['wrapper']['class'] ?? "form-group col-sm-12";
|
||||
$field['wrapper']['class'] = $field['wrapper']['class'].$required;
|
||||
$field['wrapper']['element'] = $field['wrapper']['element'] ?? 'div';
|
||||
?>
|
||||
|
||||
<<?php echo e($field['wrapper']['element']); ?>
|
||||
|
||||
<?php $__currentLoopData = $field['wrapper']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $attribute => $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
|
||||
<?php echo e($attribute); ?>="<?php echo e($value); ?>"
|
||||
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
|
||||
><?php /**PATH C:\xampp2\htdocs\exchange\vendor\backpack\crud\src\resources\views\crud/fields/inc/wrapper_start.blade.php ENDPATH**/ ?>
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
|
||||
|
||||
|
||||
|
||||
<?php /**PATH C:\xampp2\htdocs\exchange\resources\views/vendor/backpack/base/inc/topbar_right_content.blade.php ENDPATH**/ ?>
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
|
||||
<?php $__currentLoopData = $fields; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $field): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
|
||||
<!-- load the view from type and view_namespace attribute if set -->
|
||||
<?php
|
||||
$fieldsViewNamespace = $field['view_namespace'] ?? 'crud::fields';
|
||||
?>
|
||||
|
||||
<?php echo $__env->make($fieldsViewNamespace.'.'.$field['type'], ['field' => $field], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
|
||||
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
|
||||
|
||||
<?php /**PATH C:\xampp2\htdocs\exchange\vendor\backpack\crud\src\resources\views\crud/inc/show_fields.blade.php ENDPATH**/ ?>
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
<header class="<?php echo e(config('backpack.base.header_class')); ?>">
|
||||
<!-- Logo -->
|
||||
<button class="navbar-toggler sidebar-toggler d-lg-none mr-auto ml-3" type="button" data-toggle="sidebar-show" aria-label="<?php echo e(trans('backpack::base.toggle_navigation')); ?>">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
<a class="navbar-brand" href="<?php echo e(url(config('backpack.base.home_link'))); ?>" title="<?php echo e(config('backpack.base.project_name')); ?>">
|
||||
<?php echo config('backpack.base.project_logo'); ?>
|
||||
|
||||
</a>
|
||||
<button class="navbar-toggler sidebar-toggler d-md-down-none" type="button" data-toggle="sidebar-lg-show" aria-label="<?php echo e(trans('backpack::base.toggle_navigation')); ?>">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
|
||||
<?php echo $__env->make(backpack_view('inc.menu'), \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
|
||||
</header>
|
||||
<?php /**PATH C:\xampp2\htdocs\exchange\vendor\backpack\crud\src\resources\views\base/inc/main_header.blade.php ENDPATH**/ ?>
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
<?php if($crud->get('reorder.enabled') && $crud->hasAccess('reorder')): ?>
|
||||
<a href="<?php echo e(url($crud->route.'/reorder')); ?>" class="btn btn-outline-primary" data-style="zoom-in"><span class="ladda-label"><i class="la la-arrows"></i> <?php echo e(trans('backpack::crud.reorder')); ?> <?php echo e($crud->entity_name_plural); ?></span></a>
|
||||
<?php endif; ?><?php /**PATH C:\xampp2\htdocs\exchange\vendor\backpack\crud\src\resources\views\crud/buttons/reorder.blade.php ENDPATH**/ ?>
|
||||
|
|
@ -1,48 +0,0 @@
|
|||
|
||||
<script type="text/javascript">
|
||||
// This is intentionaly run after dom loads so this way we can avoid showing duplicate alerts
|
||||
// when the user is beeing redirected by persistent table, that happens before this event triggers.
|
||||
document.onreadystatechange = function () {
|
||||
if (document.readyState == "interactive") {
|
||||
Noty.overrideDefaults({
|
||||
layout: 'topRight',
|
||||
theme: 'backstrap',
|
||||
timeout: 2500,
|
||||
closeWith: ['click', 'button'],
|
||||
});
|
||||
|
||||
// get alerts from the alert bag
|
||||
var $alerts_from_php = JSON.parse('<?php echo json_encode(\Alert::getMessages(), 15, 512) ?>');
|
||||
|
||||
// get the alerts from the localstorage
|
||||
var $alerts_from_localstorage = JSON.parse(localStorage.getItem('backpack_alerts'))
|
||||
? JSON.parse(localStorage.getItem('backpack_alerts')) : {};
|
||||
|
||||
// merge both php alerts and localstorage alerts
|
||||
Object.entries($alerts_from_php).forEach(function(type) {
|
||||
if(typeof $alerts_from_localstorage[type[0]] !== 'undefined') {
|
||||
type[1].forEach(function(msg) {
|
||||
$alerts_from_localstorage[type[0]].push(msg);
|
||||
});
|
||||
} else {
|
||||
$alerts_from_localstorage[type[0]] = type[1];
|
||||
}
|
||||
});
|
||||
|
||||
for (var type in $alerts_from_localstorage) {
|
||||
let messages = new Set($alerts_from_localstorage[type]);
|
||||
|
||||
messages.forEach(function(text) {
|
||||
let alert = {};
|
||||
alert['type'] = type;
|
||||
alert['text'] = text;
|
||||
new Noty(alert).show()
|
||||
});
|
||||
}
|
||||
|
||||
// in the end, remove backpack alerts from localStorage
|
||||
localStorage.removeItem('backpack_alerts');
|
||||
}
|
||||
};
|
||||
</script>
|
||||
<?php /**PATH C:\xampp2\htdocs\exchange\vendor\backpack\crud\src\resources\views\base/inc/alerts.blade.php ENDPATH**/ ?>
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
<?php if(config('backpack.base.show_powered_by') || config('backpack.base.developer_link')): ?>
|
||||
<div class="text-muted ml-auto mr-auto">
|
||||
<?php if(config('backpack.base.developer_link') && config('backpack.base.developer_name')): ?>
|
||||
<?php echo e(trans('backpack::base.handcrafted_by')); ?> <a target="_blank" rel="noopener" href="<?php echo e(config('backpack.base.developer_link')); ?>"><?php echo e(config('backpack.base.developer_name')); ?></a>.
|
||||
<?php endif; ?>
|
||||
<?php if(config('backpack.base.show_powered_by')): ?>
|
||||
<?php echo e(trans('backpack::base.powered_by')); ?> <a target="_blank" rel="noopener" href="http://backpackforlaravel.com?ref=panel_footer_link">Backpack for Laravel</a>.
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php endif; ?><?php /**PATH C:\xampp2\htdocs\exchange\vendor\backpack\crud\src\resources\views\base/inc/footer.blade.php ENDPATH**/ ?>
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
|
||||
<?php if($crud->groupedErrorsEnabled() && $errors->any()): ?>
|
||||
<div class="alert alert-danger pb-0">
|
||||
<ul class="list-unstyled">
|
||||
<?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
|
||||
<li><i class="la la-info-circle"></i> <?php echo e($error); ?></li>
|
||||
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
|
||||
</ul>
|
||||
</div>
|
||||
<?php endif; ?><?php /**PATH C:\xampp2\htdocs\exchange\vendor\backpack\crud\src\resources\views\crud/inc/grouped_errors.blade.php ENDPATH**/ ?>
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
<!-- textarea -->
|
||||
<?php echo $__env->make('crud::fields.inc.wrapper_start', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
|
||||
<label><?php echo $field['label']; ?></label>
|
||||
<?php echo $__env->make('crud::fields.inc.translatable_icon', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
|
||||
<textarea
|
||||
name="<?php echo e($field['name']); ?>"
|
||||
<?php echo $__env->make('crud::fields.inc.attributes', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
|
||||
|
||||
><?php echo e(old(square_brackets_to_dots($field['name'])) ?? $field['value'] ?? $field['default'] ?? ''); ?></textarea>
|
||||
|
||||
|
||||
<?php if(isset($field['hint'])): ?>
|
||||
<p class="help-block"><?php echo $field['hint']; ?></p>
|
||||
<?php endif; ?>
|
||||
<?php echo $__env->make('crud::fields.inc.wrapper_end', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp2\htdocs\exchange\vendor\backpack\crud\src\resources\views\crud/fields/textarea.blade.php ENDPATH**/ ?>
|
||||
|
|
@ -1,24 +0,0 @@
|
|||
<?php if($crud->hasAccess('show')): ?>
|
||||
<?php if(!$crud->model->translationEnabled()): ?>
|
||||
|
||||
<!-- Single edit button -->
|
||||
<a href="<?php echo e(url($crud->route.'/'.$entry->getKey().'/show')); ?>" class="btn btn-sm btn-link"><i class="la la-eye"></i> <?php echo e(trans('backpack::crud.preview')); ?></a>
|
||||
|
||||
<?php else: ?>
|
||||
|
||||
<!-- Edit button group -->
|
||||
<div class="btn-group">
|
||||
<a href="<?php echo e(url($crud->route.'/'.$entry->getKey().'/show')); ?>" class="btn btn-sm btn-link pr-0"><i class="la la-eye"></i> <?php echo e(trans('backpack::crud.preview')); ?></a>
|
||||
<a class="btn btn-sm btn-link dropdown-toggle text-primary pl-1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||
<span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu dropdown-menu-right">
|
||||
<li class="dropdown-header"><?php echo e(trans('backpack::crud.preview')); ?>:</li>
|
||||
<?php $__currentLoopData = $crud->model->getAvailableLocales(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $locale): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
|
||||
<a class="dropdown-item" href="<?php echo e(url($crud->route.'/'.$entry->getKey().'/show')); ?>?locale=<?php echo e($key); ?>"><?php echo e($locale); ?></a>
|
||||
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<?php endif; ?>
|
||||
<?php endif; ?><?php /**PATH C:\xampp2\htdocs\exchange\vendor\backpack\crud\src\resources\views\crud/buttons/show.blade.php ENDPATH**/ ?>
|
||||
|
|
@ -1,376 +0,0 @@
|
|||
<?php
|
||||
// as it is possible that we can be redirected with persistent table we save the alerts in a variable
|
||||
// and flush them from session, so we will get them later from localStorage.
|
||||
$backpack_alerts = \Alert::getMessages();
|
||||
\Alert::flush();
|
||||
?>
|
||||
|
||||
|
||||
<script type="text/javascript" src="<?php echo e(asset('packages/datatables.net/js/jquery.dataTables.min.js')); ?>"></script>
|
||||
<script type="text/javascript" src="<?php echo e(asset('packages/datatables.net-bs4/js/dataTables.bootstrap4.min.js')); ?>"></script>
|
||||
<script type="text/javascript" src="<?php echo e(asset('packages/datatables.net-responsive/js/dataTables.responsive.min.js')); ?>"></script>
|
||||
<script type="text/javascript" src="<?php echo e(asset('packages/datatables.net-responsive-bs4/js/responsive.bootstrap4.min.js')); ?>"></script>
|
||||
<script type="text/javascript" src="<?php echo e(asset('packages/datatables.net-fixedheader/js/dataTables.fixedHeader.min.js')); ?>"></script>
|
||||
<script type="text/javascript" src="<?php echo e(asset('packages/datatables.net-fixedheader-bs4/js/fixedHeader.bootstrap4.min.js')); ?>"></script>
|
||||
|
||||
<script>
|
||||
// here we will check if the cached dataTables paginator length is conformable with current paginator settings.
|
||||
// datatables caches the ajax responses with pageLength in LocalStorage so when changing this
|
||||
// settings in controller users get unexpected results. To avoid that we will reset
|
||||
// the table cache when both lengths don't match.
|
||||
let $dtCachedInfo = JSON.parse(localStorage.getItem('DataTables_crudTable_/<?php echo e($crud->getRoute()); ?>'))
|
||||
? JSON.parse(localStorage.getItem('DataTables_crudTable_/<?php echo e($crud->getRoute()); ?>')) : [];
|
||||
var $dtDefaultPageLength = <?php echo e($crud->getDefaultPageLength()); ?>;
|
||||
let $dtStoredPageLength = localStorage.getItem('DataTables_crudTable_/<?php echo e($crud->getRoute()); ?>_pageLength');
|
||||
|
||||
if(!$dtStoredPageLength && $dtCachedInfo.length !== 0 && $dtCachedInfo.length !== $dtDefaultPageLength) {
|
||||
localStorage.removeItem('DataTables_crudTable_/<?php echo e($crud->getRoute()); ?>');
|
||||
}
|
||||
|
||||
// in this page we allways pass the alerts to localStorage because we can be redirected with
|
||||
// persistent table, and this way we guarantee non-duplicate alerts.
|
||||
$oldAlerts = JSON.parse(localStorage.getItem('backpack_alerts'))
|
||||
? JSON.parse(localStorage.getItem('backpack_alerts')) : {};
|
||||
|
||||
$newAlerts = <?php echo json_encode($backpack_alerts, 15, 512) ?>;
|
||||
|
||||
Object.entries($newAlerts).forEach(function(type) {
|
||||
if(typeof $oldAlerts[type[0]] !== 'undefined') {
|
||||
type[1].forEach(function(msg) {
|
||||
$oldAlerts[type[0]].push(msg);
|
||||
});
|
||||
} else {
|
||||
$oldAlerts[type[0]] = type[1];
|
||||
}
|
||||
});
|
||||
|
||||
// always store the alerts in localStorage for this page
|
||||
localStorage.setItem('backpack_alerts', JSON.stringify($oldAlerts));
|
||||
|
||||
<?php if($crud->getPersistentTable()): ?>
|
||||
|
||||
var saved_list_url = localStorage.getItem('<?php echo e(Str::slug($crud->getRoute())); ?>_list_url');
|
||||
|
||||
//check if saved url has any parameter or is empty after clearing filters.
|
||||
if (saved_list_url && saved_list_url.indexOf('?') < 1) {
|
||||
var saved_list_url = false;
|
||||
} else {
|
||||
var persistentUrl = saved_list_url+'&persistent-table=true';
|
||||
}
|
||||
|
||||
var arr = window.location.href.split('?');
|
||||
// check if url has parameters.
|
||||
if (arr.length > 1 && arr[1] !== '') {
|
||||
// IT HAS! Check if it is our own persistence redirect.
|
||||
if (window.location.search.indexOf('persistent-table=true') < 1) {
|
||||
// IF NOT: we don't want to redirect the user.
|
||||
saved_list_url = false;
|
||||
}
|
||||
}
|
||||
|
||||
<?php if($crud->getPersistentTableDuration()): ?>
|
||||
var saved_list_url_time = localStorage.getItem('<?php echo e(Str::slug($crud->getRoute())); ?>_list_url_time');
|
||||
|
||||
if (saved_list_url_time) {
|
||||
var $current_date = new Date();
|
||||
var $saved_time = new Date(parseInt(saved_list_url_time));
|
||||
$saved_time.setMinutes($saved_time.getMinutes() + <?php echo e($crud->getPersistentTableDuration()); ?>);
|
||||
|
||||
// if the save time is not expired we force the filter redirection.
|
||||
if($saved_time > $current_date) {
|
||||
if (saved_list_url && persistentUrl!=window.location.href) {
|
||||
window.location.href = persistentUrl;
|
||||
}
|
||||
} else {
|
||||
// persistent table expired, let's not redirect the user
|
||||
saved_list_url = false;
|
||||
}
|
||||
}
|
||||
|
||||
<?php endif; ?>
|
||||
if (saved_list_url && persistentUrl!=window.location.href) {
|
||||
// finally redirect the user.
|
||||
window.location.href = persistentUrl;
|
||||
}
|
||||
<?php endif; ?>
|
||||
|
||||
window.crud = {
|
||||
exportButtons: JSON.parse('<?php echo json_encode($crud->get('list.export_buttons')); ?>'),
|
||||
functionsToRunOnDataTablesDrawEvent: [],
|
||||
addFunctionToDataTablesDrawEventQueue: function (functionName) {
|
||||
if (this.functionsToRunOnDataTablesDrawEvent.indexOf(functionName) == -1) {
|
||||
this.functionsToRunOnDataTablesDrawEvent.push(functionName);
|
||||
}
|
||||
},
|
||||
responsiveToggle: function(dt) {
|
||||
$(dt.table().header()).find('th').toggleClass('all');
|
||||
dt.responsive.rebuild();
|
||||
dt.responsive.recalc();
|
||||
},
|
||||
executeFunctionByName: function(str, args) {
|
||||
var arr = str.split('.');
|
||||
var fn = window[ arr[0] ];
|
||||
|
||||
for (var i = 1; i < arr.length; i++)
|
||||
{ fn = fn[ arr[i] ]; }
|
||||
fn.apply(window, args);
|
||||
},
|
||||
updateUrl : function (new_url) {
|
||||
url_start = "<?php echo e(url($crud->route)); ?>";
|
||||
url_end = new_url.replace(url_start, '');
|
||||
url_end = url_end.replace('/search', '');
|
||||
new_url = url_start + url_end;
|
||||
|
||||
window.history.pushState({}, '', new_url);
|
||||
localStorage.setItem('<?php echo e(Str::slug($crud->getRoute())); ?>_list_url', new_url);
|
||||
},
|
||||
dataTableConfiguration: {
|
||||
|
||||
<?php if($crud->getResponsiveTable()): ?>
|
||||
responsive: {
|
||||
details: {
|
||||
display: $.fn.dataTable.Responsive.display.modal( {
|
||||
header: function ( row ) {
|
||||
// show the content of the first column
|
||||
// as the modal header
|
||||
// var data = row.data();
|
||||
// return data[0];
|
||||
return '';
|
||||
}
|
||||
} ),
|
||||
renderer: function ( api, rowIdx, columns ) {
|
||||
|
||||
var data = $.map( columns, function ( col, i ) {
|
||||
var columnHeading = crud.table.columns().header()[col.columnIndex];
|
||||
|
||||
// hide columns that have VisibleInModal false
|
||||
if ($(columnHeading).attr('data-visible-in-modal') == 'false') {
|
||||
return '';
|
||||
}
|
||||
|
||||
return '<tr data-dt-row="'+col.rowIndex+'" data-dt-column="'+col.columnIndex+'">'+
|
||||
'<td style="vertical-align:top; border:none;"><strong>'+col.title.trim()+':'+'<strong></td> '+
|
||||
'<td style="padding-left:10px;padding-bottom:10px; border:none;">'+col.data+'</td>'+
|
||||
'</tr>';
|
||||
} ).join('');
|
||||
|
||||
return data ?
|
||||
$('<table class="table table-striped mb-0">').append( '<tbody>' + data + '</tbody>' ) :
|
||||
false;
|
||||
},
|
||||
}
|
||||
},
|
||||
fixedHeader: true,
|
||||
<?php else: ?>
|
||||
responsive: false,
|
||||
scrollX: true,
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if($crud->getPersistentTable()): ?>
|
||||
stateSave: true,
|
||||
/*
|
||||
if developer forced field into table 'visibleInTable => true' we make sure when saving datatables state
|
||||
that it reflects the developer decision.
|
||||
*/
|
||||
|
||||
stateSaveParams: function(settings, data) {
|
||||
|
||||
localStorage.setItem('<?php echo e(Str::slug($crud->getRoute())); ?>_list_url_time', data.time);
|
||||
|
||||
data.columns.forEach(function(item, index) {
|
||||
var columnHeading = crud.table.columns().header()[index];
|
||||
if ($(columnHeading).attr('data-visible-in-table') == 'true') {
|
||||
return item.visible = true;
|
||||
}
|
||||
});
|
||||
},
|
||||
<?php if($crud->getPersistentTableDuration()): ?>
|
||||
stateLoadParams: function(settings, data) {
|
||||
var $saved_time = new Date(data.time);
|
||||
var $current_date = new Date();
|
||||
|
||||
$saved_time.setMinutes($saved_time.getMinutes() + <?php echo e($crud->getPersistentTableDuration()); ?>);
|
||||
|
||||
//if the save time as expired we force datatabled to clear localStorage
|
||||
if($saved_time < $current_date) {
|
||||
if (localStorage.getItem('<?php echo e(Str::slug($crud->getRoute())); ?>_list_url')) {
|
||||
localStorage.removeItem('<?php echo e(Str::slug($crud->getRoute())); ?>_list_url');
|
||||
}
|
||||
if (localStorage.getItem('<?php echo e(Str::slug($crud->getRoute())); ?>_list_url_time')) {
|
||||
localStorage.removeItem('<?php echo e(Str::slug($crud->getRoute())); ?>_list_url_time');
|
||||
}
|
||||
return false;
|
||||
}
|
||||
},
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
autoWidth: false,
|
||||
pageLength: $dtDefaultPageLength,
|
||||
lengthMenu: <?php echo json_encode($crud->getPageLengthMenu(), 15, 512) ?>,
|
||||
/* Disable initial sort */
|
||||
aaSorting: [],
|
||||
language: {
|
||||
"emptyTable": "<?php echo e(trans('backpack::crud.emptyTable')); ?>",
|
||||
"info": "<?php echo e(trans('backpack::crud.info')); ?>",
|
||||
"infoEmpty": "<?php echo e(trans('backpack::crud.infoEmpty')); ?>",
|
||||
"infoFiltered": "<?php echo e(trans('backpack::crud.infoFiltered')); ?>",
|
||||
"infoPostFix": "<?php echo e(trans('backpack::crud.infoPostFix')); ?>",
|
||||
"thousands": "<?php echo e(trans('backpack::crud.thousands')); ?>",
|
||||
"lengthMenu": "<?php echo e(trans('backpack::crud.lengthMenu')); ?>",
|
||||
"loadingRecords": "<?php echo e(trans('backpack::crud.loadingRecords')); ?>",
|
||||
"processing": "<img src='<?php echo e(asset('packages/backpack/crud/img/ajax-loader.gif')); ?>' alt='<?php echo e(trans('backpack::crud.processing')); ?>'>",
|
||||
"search": "_INPUT_",
|
||||
"searchPlaceholder": "<?php echo e(trans('backpack::crud.search')); ?>...",
|
||||
"zeroRecords": "<?php echo e(trans('backpack::crud.zeroRecords')); ?>",
|
||||
"paginate": {
|
||||
"first": "<?php echo e(trans('backpack::crud.paginate.first')); ?>",
|
||||
"last": "<?php echo e(trans('backpack::crud.paginate.last')); ?>",
|
||||
"next": ">",
|
||||
"previous": "<"
|
||||
},
|
||||
"aria": {
|
||||
"sortAscending": "<?php echo e(trans('backpack::crud.aria.sortAscending')); ?>",
|
||||
"sortDescending": "<?php echo e(trans('backpack::crud.aria.sortDescending')); ?>"
|
||||
},
|
||||
"buttons": {
|
||||
"copy": "<?php echo e(trans('backpack::crud.export.copy')); ?>",
|
||||
"excel": "<?php echo e(trans('backpack::crud.export.excel')); ?>",
|
||||
"csv": "<?php echo e(trans('backpack::crud.export.csv')); ?>",
|
||||
"pdf": "<?php echo e(trans('backpack::crud.export.pdf')); ?>",
|
||||
"print": "<?php echo e(trans('backpack::crud.export.print')); ?>",
|
||||
"colvis": "<?php echo e(trans('backpack::crud.export.column_visibility')); ?>"
|
||||
},
|
||||
},
|
||||
processing: true,
|
||||
serverSide: true,
|
||||
searching: <?php echo json_encode($crud->getOperationSetting('searchableTable') ?? true, 15, 512) ?>,
|
||||
ajax: {
|
||||
"url": "<?php echo url($crud->route.'/search').'?'.Request::getQueryString(); ?>",
|
||||
"type": "POST"
|
||||
},
|
||||
dom:
|
||||
"<'row hidden'<'col-sm-6'i><'col-sm-6 d-print-none'f>>" +
|
||||
"<'row'<'col-sm-12'tr>>" +
|
||||
"<'row mt-2 d-print-none '<'col-sm-12 col-md-4'l><'col-sm-0 col-md-4 text-center'B><'col-sm-12 col-md-4 'p>>",
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<?php echo $__env->make('crud::inc.export_buttons', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
|
||||
|
||||
<script type="text/javascript">
|
||||
jQuery(document).ready(function($) {
|
||||
|
||||
window.crud.table = $("#crudTable").DataTable(window.crud.dataTableConfiguration);
|
||||
|
||||
// move search bar
|
||||
$("#crudTable_filter").appendTo($('#datatable_search_stack' ));
|
||||
$("#crudTable_filter input").removeClass('form-control-sm');
|
||||
|
||||
// move "showing x out of y" info to header
|
||||
<?php if($crud->getSubheading()): ?>
|
||||
$('#crudTable_info').hide();
|
||||
<?php else: ?>
|
||||
$("#datatable_info_stack").html($('#crudTable_info')).css('display','inline-flex').addClass('animated fadeIn');
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if($crud->getOperationSetting('resetButton') ?? true): ?>
|
||||
// create the reset button
|
||||
var crudTableResetButton = '<a href="<?php echo e(url($crud->route)); ?>" class="ml-1" id="crudTable_reset_button"><?php echo e(trans('backpack::crud.reset')); ?></a>';
|
||||
|
||||
$('#datatable_info_stack').append(crudTableResetButton);
|
||||
|
||||
// when clicking in reset button we clear the localStorage for datatables.
|
||||
$('#crudTable_reset_button').on('click', function() {
|
||||
|
||||
//clear the filters
|
||||
if (localStorage.getItem('<?php echo e(Str::slug($crud->getRoute())); ?>_list_url')) {
|
||||
localStorage.removeItem('<?php echo e(Str::slug($crud->getRoute())); ?>_list_url');
|
||||
}
|
||||
if (localStorage.getItem('<?php echo e(Str::slug($crud->getRoute())); ?>_list_url_time')) {
|
||||
localStorage.removeItem('<?php echo e(Str::slug($crud->getRoute())); ?>_list_url_time');
|
||||
}
|
||||
|
||||
//clear the table sorting/ordering/visibility
|
||||
if(localStorage.getItem('DataTables_crudTable_/<?php echo e($crud->getRoute()); ?>')) {
|
||||
localStorage.removeItem('DataTables_crudTable_/<?php echo e($crud->getRoute()); ?>');
|
||||
}
|
||||
});
|
||||
<?php endif; ?>
|
||||
|
||||
// move the bottom buttons before pagination
|
||||
$("#bottom_buttons").insertBefore($('#crudTable_wrapper .row:last-child' ));
|
||||
|
||||
// override ajax error message
|
||||
$.fn.dataTable.ext.errMode = 'none';
|
||||
$('#crudTable').on('error.dt', function(e, settings, techNote, message) {
|
||||
new Noty({
|
||||
type: "error",
|
||||
text: "<strong><?php echo e(trans('backpack::crud.ajax_error_title')); ?></strong><br><?php echo e(trans('backpack::crud.ajax_error_text')); ?>"
|
||||
}).show();
|
||||
});
|
||||
|
||||
// when changing page length in datatables, save it into localStorage
|
||||
// so in next requests we know if the length changed by user
|
||||
// or by developer in the controller.
|
||||
$('#crudTable').on( 'length.dt', function ( e, settings, len ) {
|
||||
localStorage.setItem('DataTables_crudTable_/<?php echo e($crud->getRoute()); ?>_pageLength', len);
|
||||
});
|
||||
|
||||
// make sure AJAX requests include XSRF token
|
||||
$.ajaxPrefilter(function(options, originalOptions, xhr) {
|
||||
var token = $('meta[name="csrf_token"]').attr('content');
|
||||
|
||||
if (token) {
|
||||
return xhr.setRequestHeader('X-XSRF-TOKEN', token);
|
||||
}
|
||||
});
|
||||
|
||||
// on DataTable draw event run all functions in the queue
|
||||
// (eg. delete and details_row buttons add functions to this queue)
|
||||
$('#crudTable').on( 'draw.dt', function () {
|
||||
crud.functionsToRunOnDataTablesDrawEvent.forEach(function(functionName) {
|
||||
crud.executeFunctionByName(functionName);
|
||||
});
|
||||
} ).dataTable();
|
||||
|
||||
// when datatables-colvis (column visibility) is toggled
|
||||
// rebuild the datatable using the datatable-responsive plugin
|
||||
$('#crudTable').on( 'column-visibility.dt', function (event) {
|
||||
crud.table.responsive.rebuild();
|
||||
} ).dataTable();
|
||||
|
||||
<?php if($crud->getResponsiveTable()): ?>
|
||||
// when columns are hidden by reponsive plugin,
|
||||
// the table should have the has-hidden-columns class
|
||||
crud.table.on( 'responsive-resize', function ( e, datatable, columns ) {
|
||||
if (crud.table.responsive.hasHidden()) {
|
||||
$("#crudTable").removeClass('has-hidden-columns').addClass('has-hidden-columns');
|
||||
} else {
|
||||
$("#crudTable").removeClass('has-hidden-columns');
|
||||
}
|
||||
} );
|
||||
<?php else: ?>
|
||||
// make sure the column headings have the same width as the actual columns
|
||||
// after the user manually resizes the window
|
||||
var resizeTimer;
|
||||
function resizeCrudTableColumnWidths() {
|
||||
clearTimeout(resizeTimer);
|
||||
resizeTimer = setTimeout(function() {
|
||||
// Run code here, resizing has "stopped"
|
||||
crud.table.columns.adjust();
|
||||
}, 250);
|
||||
}
|
||||
$(window).on('resize', function(e) {
|
||||
resizeCrudTableColumnWidths();
|
||||
});
|
||||
$('.sidebar-toggler').click(function() {
|
||||
resizeCrudTableColumnWidths();
|
||||
});
|
||||
<?php endif; ?>
|
||||
|
||||
});
|
||||
</script>
|
||||
|
||||
<?php echo $__env->make('crud::inc.details_row_logic', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
|
||||
<?php /**PATH C:\xampp2\htdocs\exchange\vendor\backpack\crud\src\resources\views\crud/inc/datatables_logic.blade.php ENDPATH**/ ?>
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
<?php
|
||||
$widgets['before_content'][] = [
|
||||
'type' => 'jumbotron',
|
||||
'heading' => trans('backpack::base.welcome'),
|
||||
'content' => trans('backpack::base.use_sidebar'),
|
||||
'button_link' => backpack_url('logout'),
|
||||
'button_text' => trans('backpack::base.logout'),
|
||||
];
|
||||
?>
|
||||
|
||||
<?php $__env->startSection('content'); ?>
|
||||
<?php $__env->stopSection(); ?>
|
||||
<?php echo $__env->make(backpack_view('blank'), \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp2\htdocs\exchange\vendor\backpack\crud\src\resources\views\base/dashboard.blade.php ENDPATH**/ ?>
|
||||
|
|
@ -1,56 +0,0 @@
|
|||
<?php if($crud->get('list.detailsRow')): ?>
|
||||
<script>
|
||||
if (typeof registerDetailsRowButtonAction != 'function') {
|
||||
function registerDetailsRowButtonAction() {
|
||||
// Remove any previously registered event handlers from draw.dt event callback
|
||||
$('#crudTable tbody').off('click', 'td .details-row-button');
|
||||
|
||||
// Make sure the ajaxDatatables rows also have the correct classes
|
||||
$('#crudTable tbody td .details-row-button').parent('td')
|
||||
.removeClass('details-control').addClass('details-control')
|
||||
.removeClass('text-center').addClass('text-center')
|
||||
.removeClass('cursor-pointer').addClass('cursor-pointer');
|
||||
|
||||
// Add event listener for opening and closing details
|
||||
$('#crudTable tbody td .details-control').on('click', function (e) {
|
||||
e.stopPropagation();
|
||||
|
||||
var tr = $(this).closest('tr');
|
||||
var btn = $(this).find('.details-row-button');
|
||||
var row = crud.table.row( tr );
|
||||
|
||||
if (row.child.isShown()) {
|
||||
// This row is already open - close it
|
||||
btn.removeClass('la-minus-square-o').addClass('la-plus-square-o');
|
||||
$('div.table_row_slider', row.child()).slideUp( function () {
|
||||
row.child.hide();
|
||||
tr.removeClass('shown');
|
||||
} );
|
||||
} else {
|
||||
// Open this row
|
||||
btn.removeClass('la-plus-square-o').addClass('la-minus-square-o');
|
||||
// Get the details with ajax
|
||||
$.ajax({
|
||||
url: '<?php echo e(url($crud->route)); ?>/'+btn.data('entry-id')+'/details',
|
||||
type: 'GET',
|
||||
})
|
||||
.done(function(data) {
|
||||
row.child("<div class='table_row_slider'>" + data + "</div>", 'no-padding').show();
|
||||
tr.addClass('shown');
|
||||
$('div.table_row_slider', row.child()).slideDown();
|
||||
})
|
||||
.fail(function(data) {
|
||||
row.child("<div class='table_row_slider'><?php echo e(trans('backpack::crud.details_row_loading_error')); ?></div>").show();
|
||||
tr.addClass('shown');
|
||||
$('div.table_row_slider', row.child()).slideDown();
|
||||
});
|
||||
}
|
||||
} );
|
||||
}
|
||||
}
|
||||
|
||||
// make it so that the function above is run after each DataTable draw event
|
||||
// otherwise details_row buttons wouldn't work on subsequent pages (page 2, page 17, etc)
|
||||
crud.addFunctionToDataTablesDrawEventQueue('registerDetailsRowButtonAction');
|
||||
</script>
|
||||
<?php endif; ?><?php /**PATH C:\xampp2\htdocs\exchange\vendor\backpack\crud\src\resources\views\crud/inc/details_row_logic.blade.php ENDPATH**/ ?>
|
||||
|
|
@ -1,28 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="<?php echo e(app()->getLocale()); ?>" dir="<?php echo e(config('backpack.base.html_direction')); ?>">
|
||||
<head>
|
||||
<?php echo $__env->make(backpack_view('inc.head'), \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
|
||||
</head>
|
||||
<body class="app flex-row align-items-center">
|
||||
|
||||
<?php echo $__env->yieldContent('header'); ?>
|
||||
|
||||
<div class="container">
|
||||
<?php echo $__env->yieldContent('content'); ?>
|
||||
</div>
|
||||
|
||||
<footer class="app-footer sticky-footer">
|
||||
<?php echo $__env->make('backpack::inc.footer', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
|
||||
</footer>
|
||||
|
||||
<?php echo $__env->yieldContent('before_scripts'); ?>
|
||||
<?php echo $__env->yieldPushContent('before_scripts'); ?>
|
||||
|
||||
<?php echo $__env->make(backpack_view('inc.scripts'), \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
|
||||
|
||||
<?php echo $__env->yieldContent('after_scripts'); ?>
|
||||
<?php echo $__env->yieldPushContent('after_scripts'); ?>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
<?php /**PATH C:\xampp2\htdocs\exchange\vendor\backpack\crud\src\resources\views\base/layouts/plain.blade.php ENDPATH**/ ?>
|
||||
|
|
@ -1,25 +0,0 @@
|
|||
<?php
|
||||
// preserve backwards compatibility with Widgets in Backpack 4.0
|
||||
if (isset($widget['wrapperClass'])) {
|
||||
$widget['wrapper']['class'] = $widget['wrapperClass'];
|
||||
}
|
||||
?>
|
||||
|
||||
<?php echo $__env->renderWhen(!empty($widget['wrapper']), 'backpack::widgets.inc.wrapper_start', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path'])); ?>
|
||||
<div class="jumbotron mb-2">
|
||||
|
||||
<?php if(isset($widget['heading'])): ?>
|
||||
<h1 class="display-3"><?php echo $widget['heading']; ?></h1>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if(isset($widget['content'])): ?>
|
||||
<p><?php echo $widget['content']; ?></p>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if(isset($widget['button_link'])): ?>
|
||||
<p class="lead">
|
||||
<a class="btn btn-primary" href="<?php echo e($widget['button_link']); ?>" role="button"><?php echo e($widget['button_text']); ?></a>
|
||||
</p>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php echo $__env->renderWhen(!empty($widget['wrapper']), 'backpack::widgets.inc.wrapper_end', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path'])); ?><?php /**PATH C:\xampp2\htdocs\exchange\vendor\backpack\crud\src\resources\views\base/widgets/jumbotron.blade.php ENDPATH**/ ?>
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
<?php if(!empty($widgets)): ?>
|
||||
<?php $__currentLoopData = $widgets; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $currentWidget): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
|
||||
<?php
|
||||
if (!is_array($currentWidget)) {
|
||||
$currentWidget = $currentWidget->toArray();
|
||||
}
|
||||
?>
|
||||
|
||||
<?php if(isset($currentWidget['viewNamespace'])): ?>
|
||||
<?php echo $__env->make($currentWidget['viewNamespace'].'.'.$currentWidget['type'], ['widget' => $currentWidget], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
|
||||
<?php else: ?>
|
||||
<?php echo $__env->make(backpack_view('widgets.'.$currentWidget['type']), ['widget' => $currentWidget], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
|
||||
<?php endif; ?>
|
||||
<?php /**PATH C:\xampp2\htdocs\exchange\vendor\backpack\crud\src\resources\views\base/inc/widgets.blade.php ENDPATH**/ ?>
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
<?php if(config('backpack.base.breadcrumbs') && isset($breadcrumbs) && is_array($breadcrumbs) && count($breadcrumbs)): ?>
|
||||
<nav aria-label="breadcrumb" class="d-none d-lg-block">
|
||||
<ol class="breadcrumb bg-transparent p-0 <?php echo e(config('backpack.base.html_direction') == 'rtl' ? 'justify-content-start' : 'justify-content-end'); ?>">
|
||||
<?php $__currentLoopData = $breadcrumbs; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $label => $link): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
|
||||
<?php if($link): ?>
|
||||
<li class="breadcrumb-item text-capitalize"><a href="<?php echo e($link); ?>"><?php echo e($label); ?></a></li>
|
||||
<?php else: ?>
|
||||
<li class="breadcrumb-item text-capitalize active" aria-current="page"><?php echo e($label); ?></li>
|
||||
<?php endif; ?>
|
||||
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
|
||||
</ol>
|
||||
</nav>
|
||||
<?php endif; ?>
|
||||
<?php /**PATH C:\xampp2\htdocs\exchange\vendor\backpack\crud\src\resources\views\base/inc/breadcrumbs.blade.php ENDPATH**/ ?>
|
||||
|
|
@ -1,72 +0,0 @@
|
|||
<?php
|
||||
$defaultBreadcrumbs = [
|
||||
trans('backpack::crud.admin') => backpack_url('dashboard'),
|
||||
$crud->entity_name_plural => url($crud->route),
|
||||
trans('backpack::crud.edit') => false,
|
||||
];
|
||||
|
||||
// if breadcrumbs aren't defined in the CrudController, use the default breadcrumbs
|
||||
$breadcrumbs = $breadcrumbs ?? $defaultBreadcrumbs;
|
||||
?>
|
||||
|
||||
<?php $__env->startSection('header'); ?>
|
||||
<section class="container-fluid">
|
||||
<h2>
|
||||
<span class="text-capitalize"><?php echo $crud->getHeading() ?? $crud->entity_name_plural; ?></span>
|
||||
<small><?php echo $crud->getSubheading() ?? trans('backpack::crud.edit').' '.$crud->entity_name; ?>.</small>
|
||||
|
||||
<?php if($crud->hasAccess('list')): ?>
|
||||
<small><a href="<?php echo e(url($crud->route)); ?>" class="d-print-none font-sm"><i class="la la-angle-double-<?php echo e(config('backpack.base.html_direction') == 'rtl' ? 'right' : 'left'); ?>"></i> <?php echo e(trans('backpack::crud.back_to_all')); ?> <span><?php echo e($crud->entity_name_plural); ?></span></a></small>
|
||||
<?php endif; ?>
|
||||
</h2>
|
||||
</section>
|
||||
<?php $__env->stopSection(); ?>
|
||||
|
||||
<?php $__env->startSection('content'); ?>
|
||||
<div class="row">
|
||||
<div class="<?php echo e($crud->getEditContentClass()); ?>">
|
||||
<!-- Default box -->
|
||||
|
||||
<?php echo $__env->make('crud::inc.grouped_errors', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
|
||||
|
||||
<form method="post"
|
||||
action="<?php echo e(url($crud->route.'/'.$entry->getKey())); ?>"
|
||||
<?php if($crud->hasUploadFields('update', $entry->getKey())): ?>
|
||||
enctype="multipart/form-data"
|
||||
<?php endif; ?>
|
||||
>
|
||||
<?php echo csrf_field(); ?>
|
||||
|
||||
<?php echo method_field('PUT'); ?>
|
||||
|
||||
|
||||
<?php if($crud->model->translationEnabled()): ?>
|
||||
<div class="mb-2 text-right">
|
||||
<!-- Single button -->
|
||||
<div class="btn-group">
|
||||
<button type="button" class="btn btn-sm btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||
<?php echo e(trans('backpack::crud.language')); ?>: <?php echo e($crud->model->getAvailableLocales()[request()->input('locale')?request()->input('locale'):App::getLocale()]); ?> <span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<?php $__currentLoopData = $crud->model->getAvailableLocales(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $locale): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
|
||||
<a class="dropdown-item" href="<?php echo e(url($crud->route.'/'.$entry->getKey().'/edit')); ?>?locale=<?php echo e($key); ?>"><?php echo e($locale); ?></a>
|
||||
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<!-- load the view from the application if it exists, otherwise load the one in the package -->
|
||||
<?php if(view()->exists('vendor.backpack.crud.form_content')): ?>
|
||||
<?php echo $__env->make('vendor.backpack.crud.form_content', ['fields' => $crud->fields(), 'action' => 'edit'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
|
||||
<?php else: ?>
|
||||
<?php echo $__env->make('crud::form_content', ['fields' => $crud->fields(), 'action' => 'edit'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php echo $__env->make('crud::inc.form_save_buttons', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<?php $__env->stopSection(); ?>
|
||||
|
||||
|
||||
<?php echo $__env->make(backpack_view('blank'), \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp2\htdocs\exchange\vendor\backpack\crud\src\resources\views\crud/edit.blade.php ENDPATH**/ ?>
|
||||
|
|
@ -1,33 +0,0 @@
|
|||
<!-- =================================================== -->
|
||||
<!-- ========== Top menu items (ordered left) ========== -->
|
||||
<!-- =================================================== -->
|
||||
<ul class="nav navbar-nav d-md-down-none">
|
||||
|
||||
<?php if(backpack_auth()->check()): ?>
|
||||
<!-- Topbar. Contains the left part -->
|
||||
<?php echo $__env->make(backpack_view('inc.topbar_left_content'), \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
</ul>
|
||||
<!-- ========== End of top menu left items ========== -->
|
||||
|
||||
|
||||
|
||||
<!-- ========================================================= -->
|
||||
<!-- ========= Top menu right items (ordered right) ========== -->
|
||||
<!-- ========================================================= -->
|
||||
<ul class="nav navbar-nav ml-auto <?php if(config('backpack.base.html_direction') == 'rtl'): ?> mr-0 <?php endif; ?>">
|
||||
<?php if(backpack_auth()->guest()): ?>
|
||||
<li class="nav-item"><a class="nav-link" href="<?php echo e(route('backpack.auth.login')); ?>"><?php echo e(trans('backpack::base.login')); ?></a>
|
||||
</li>
|
||||
<?php if(config('backpack.base.registration_open')): ?>
|
||||
<li class="nav-item"><a class="nav-link" href="<?php echo e(route('backpack.auth.register')); ?>"><?php echo e(trans('backpack::base.register')); ?></a></li>
|
||||
<?php endif; ?>
|
||||
<?php else: ?>
|
||||
<!-- Topbar. Contains the right part -->
|
||||
<?php echo $__env->make(backpack_view('inc.topbar_right_content'), \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
|
||||
<?php echo $__env->make(backpack_view('inc.menu_user_dropdown'), \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
|
||||
<?php endif; ?>
|
||||
</ul>
|
||||
<!-- ========== End of top menu right items ========== -->
|
||||
<?php /**PATH C:\xampp2\htdocs\exchange\vendor\backpack\crud\src\resources\views\base/inc/menu.blade.php ENDPATH**/ ?>
|
||||
|
|
@ -1,24 +0,0 @@
|
|||
<?php if($crud->hasAccess('update')): ?>
|
||||
<?php if(!$crud->model->translationEnabled()): ?>
|
||||
|
||||
<!-- Single edit button -->
|
||||
<a href="<?php echo e(url($crud->route.'/'.$entry->getKey().'/edit')); ?>" class="btn btn-sm btn-link"><i class="la la-edit"></i> <?php echo e(trans('backpack::crud.edit')); ?></a>
|
||||
|
||||
<?php else: ?>
|
||||
|
||||
<!-- Edit button group -->
|
||||
<div class="btn-group">
|
||||
<a href="<?php echo e(url($crud->route.'/'.$entry->getKey().'/edit')); ?>" class="btn btn-sm btn-link pr-0"><i class="la la-edit"></i> <?php echo e(trans('backpack::crud.edit')); ?></a>
|
||||
<a class="btn btn-sm btn-link dropdown-toggle text-primary pl-1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||
<span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu dropdown-menu-right">
|
||||
<li class="dropdown-header"><?php echo e(trans('backpack::crud.edit_translations')); ?>:</li>
|
||||
<?php $__currentLoopData = $crud->model->getAvailableLocales(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $locale): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
|
||||
<a class="dropdown-item" href="<?php echo e(url($crud->route.'/'.$entry->getKey().'/edit')); ?>?locale=<?php echo e($key); ?>"><?php echo e($locale); ?></a>
|
||||
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<?php endif; ?>
|
||||
<?php endif; ?><?php /**PATH C:\xampp2\htdocs\exchange\vendor\backpack\crud\src\resources\views\crud/buttons/update.blade.php ENDPATH**/ ?>
|
||||
|
|
@ -1,56 +0,0 @@
|
|||
<?php
|
||||
$defaultBreadcrumbs = [
|
||||
trans('backpack::crud.admin') => url(config('backpack.base.route_prefix'), 'dashboard'),
|
||||
$crud->entity_name_plural => url($crud->route),
|
||||
trans('backpack::crud.add') => false,
|
||||
];
|
||||
|
||||
// if breadcrumbs aren't defined in the CrudController, use the default breadcrumbs
|
||||
$breadcrumbs = $breadcrumbs ?? $defaultBreadcrumbs;
|
||||
?>
|
||||
|
||||
<?php $__env->startSection('header'); ?>
|
||||
<section class="container-fluid">
|
||||
<h2>
|
||||
<span class="text-capitalize"><?php echo $crud->getHeading() ?? $crud->entity_name_plural; ?></span>
|
||||
<small><?php echo $crud->getSubheading() ?? trans('backpack::crud.add').' '.$crud->entity_name; ?>.</small>
|
||||
|
||||
<?php if($crud->hasAccess('list')): ?>
|
||||
<small><a href="<?php echo e(url($crud->route)); ?>" class="d-print-none font-sm"><i class="la la-angle-double-<?php echo e(config('backpack.base.html_direction') == 'rtl' ? 'right' : 'left'); ?>"></i> <?php echo e(trans('backpack::crud.back_to_all')); ?> <span><?php echo e($crud->entity_name_plural); ?></span></a></small>
|
||||
<?php endif; ?>
|
||||
</h2>
|
||||
</section>
|
||||
<?php $__env->stopSection(); ?>
|
||||
|
||||
<?php $__env->startSection('content'); ?>
|
||||
|
||||
<div class="row">
|
||||
<div class="<?php echo e($crud->getCreateContentClass()); ?>">
|
||||
<!-- Default box -->
|
||||
|
||||
<?php echo $__env->make('crud::inc.grouped_errors', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
|
||||
|
||||
<form method="post"
|
||||
action="<?php echo e(url($crud->route)); ?>"
|
||||
<?php if($crud->hasUploadFields('create')): ?>
|
||||
enctype="multipart/form-data"
|
||||
<?php endif; ?>
|
||||
>
|
||||
<?php echo csrf_field(); ?>
|
||||
|
||||
<!-- load the view from the application if it exists, otherwise load the one in the package -->
|
||||
<?php if(view()->exists('vendor.backpack.crud.form_content')): ?>
|
||||
<?php echo $__env->make('vendor.backpack.crud.form_content', [ 'fields' => $crud->fields(), 'action' => 'create' ], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
|
||||
<?php else: ?>
|
||||
<?php echo $__env->make('crud::form_content', [ 'fields' => $crud->fields(), 'action' => 'create' ], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php echo $__env->make('crud::inc.form_save_buttons', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php $__env->stopSection(); ?>
|
||||
|
||||
|
||||
<?php echo $__env->make(backpack_view('blank'), \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp2\htdocs\exchange\vendor\backpack\crud\src\resources\views\crud/create.blade.php ENDPATH**/ ?>
|
||||
|
|
@ -1 +0,0 @@
|
|||
</<?php echo e($field['wrapper']['element'] ?? 'div'); ?>><?php /**PATH C:\xampp2\htdocs\exchange\vendor\backpack\crud\src\resources\views\crud/fields/inc/wrapper_end.blade.php ENDPATH**/ ?>
|
||||
|
|
@ -1,178 +0,0 @@
|
|||
<?php
|
||||
$field['wrapper'] = $field['wrapper'] ?? $field['wrapperAttributes'] ?? [];
|
||||
$field['wrapper']['data-init-function'] = $field['wrapper']['data-init-function'] ?? 'bpFieldInitUploadElement';
|
||||
$field['wrapper']['data-field-name'] = $field['wrapper']['data-field-name'] ?? $field['name'];
|
||||
?>
|
||||
|
||||
<!-- text input -->
|
||||
<?php echo $__env->make('crud::fields.inc.wrapper_start', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
|
||||
<label><?php echo $field['label']; ?></label>
|
||||
<?php echo $__env->make('crud::fields.inc.translatable_icon', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
|
||||
|
||||
|
||||
<?php if(!empty($field['value'])): ?>
|
||||
<div class="existing-file">
|
||||
<?php if(isset($field['disk'])): ?>
|
||||
<?php if(isset($field['temporary'])): ?>
|
||||
<a target="_blank" href="<?php echo e((asset(\Storage::disk($field['disk'])->temporaryUrl(Arr::get($field, 'prefix', '').$field['value'], Carbon\Carbon::now()->addMinutes($field['temporary']))))); ?>">
|
||||
<?php else: ?>
|
||||
<a target="_blank" href="<?php echo e((asset(\Storage::disk($field['disk'])->url(Arr::get($field, 'prefix', '').$field['value'])))); ?>">
|
||||
<?php endif; ?>
|
||||
<?php else: ?>
|
||||
<a target="_blank" href="<?php echo e((asset(Arr::get($field, 'prefix', '').$field['value']))); ?>">
|
||||
<?php endif; ?>
|
||||
<?php echo e($field['value']); ?>
|
||||
|
||||
</a>
|
||||
<a href="#" class="file_clear_button btn btn-light btn-sm float-right" title="Clear file"><i class="la la-remove"></i></a>
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
<div class="backstrap-file <?php echo e(isset($field['value']) && $field['value']!=null?'d-none':''); ?>">
|
||||
<input
|
||||
type="file"
|
||||
name="<?php echo e($field['name']); ?>"
|
||||
value="<?php echo e(old(square_brackets_to_dots($field['name'])) ?? $field['value'] ?? $field['default'] ?? ''); ?>"
|
||||
<?php echo $__env->make('crud::fields.inc.attributes', ['default_class' => isset($field['value']) && $field['value']!=null?'file_input backstrap-file-input':'file_input backstrap-file-input'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
|
||||
>
|
||||
<label class="backstrap-file-label" for="customFile"></label>
|
||||
</div>
|
||||
|
||||
|
||||
<?php if(isset($field['hint'])): ?>
|
||||
<p class="help-block"><?php echo $field['hint']; ?></p>
|
||||
<?php endif; ?>
|
||||
<?php echo $__env->make('crud::fields.inc.wrapper_end', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<?php if($crud->fieldTypeNotLoaded($field)): ?>
|
||||
<?php
|
||||
$crud->markFieldTypeAsLoaded($field);
|
||||
?>
|
||||
|
||||
<?php $__env->startPush('crud_fields_styles'); ?>
|
||||
<style type="text/css">
|
||||
.existing-file {
|
||||
border: 1px solid rgba(0,40,100,.12);
|
||||
border-radius: 5px;
|
||||
padding-left: 10px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.existing-file a {
|
||||
padding-top: 5px;
|
||||
display: inline-block;
|
||||
font-size: 0.9em;
|
||||
}
|
||||
.backstrap-file {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
height: calc(1.5em + 0.75rem + 2px);
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.backstrap-file-input {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
width: 100%;
|
||||
height: calc(1.5em + 0.75rem + 2px);
|
||||
margin: 0;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.backstrap-file-input:focus ~ .backstrap-file-label {
|
||||
border-color: #acc5ea;
|
||||
box-shadow: 0 0 0 0rem rgba(70, 127, 208, 0.25);
|
||||
}
|
||||
|
||||
.backstrap-file-input:disabled ~ .backstrap-file-label {
|
||||
background-color: #e4e7ea;
|
||||
}
|
||||
|
||||
.backstrap-file-input:lang(en) ~ .backstrap-file-label::after {
|
||||
content: "Browse";
|
||||
}
|
||||
|
||||
.backstrap-file-input ~ .backstrap-file-label[data-browse]::after {
|
||||
content: attr(data-browse);
|
||||
}
|
||||
|
||||
.backstrap-file-label {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
left: 0;
|
||||
z-index: 1;
|
||||
height: calc(1.5em + 0.75rem + 2px);
|
||||
padding: 0.375rem 0.75rem;
|
||||
font-weight: 400;
|
||||
line-height: 1.5;
|
||||
color: #5c6873;
|
||||
background-color: #fff;
|
||||
border: 1px solid #e4e7ea;
|
||||
border-radius: 0.25rem;
|
||||
font-weight: 400!important;
|
||||
}
|
||||
|
||||
.backstrap-file-label::after {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
z-index: 3;
|
||||
display: block;
|
||||
height: calc(1.5em + 0.75rem);
|
||||
padding: 0.375rem 0.75rem;
|
||||
line-height: 1.5;
|
||||
color: #5c6873;
|
||||
content: "Browse";
|
||||
background-color: #f0f3f9;
|
||||
border-left: inherit;
|
||||
border-radius: 0 0.25rem 0.25rem 0;
|
||||
}
|
||||
</style>
|
||||
<?php $__env->stopPush(); ?>
|
||||
|
||||
<?php $__env->startPush('crud_fields_scripts'); ?>
|
||||
<!-- no scripts -->
|
||||
<script>
|
||||
function bpFieldInitUploadElement(element) {
|
||||
var fileInput = element.find(".file_input");
|
||||
var fileClearButton = element.find(".file_clear_button");
|
||||
var fieldName = element.attr('data-field-name');
|
||||
var inputWrapper = element.find(".backstrap-file");
|
||||
var inputLabel = element.find(".backstrap-file-label");
|
||||
|
||||
fileClearButton.click(function(e) {
|
||||
e.preventDefault();
|
||||
$(this).parent().addClass('d-none');
|
||||
|
||||
fileInput.parent().removeClass('d-none');
|
||||
fileInput.attr("value", "").replaceWith(fileInput.clone(true));
|
||||
|
||||
// redo the selector, so we can use the same fileInput variable going forward
|
||||
fileInput = element.find(".file_input");
|
||||
|
||||
// add a hidden input with the same name, so that the setXAttribute method is triggered
|
||||
$("<input type='hidden' name='"+fieldName+"' value=''>").insertAfter(fileInput);
|
||||
});
|
||||
|
||||
fileInput.change(function() {
|
||||
var path = $(this).val();
|
||||
var path = path.replace("C:\\fakepath\\", "");
|
||||
inputLabel.html(path);
|
||||
// remove the hidden input, so that the setXAttribute method is no longer triggered
|
||||
$(this).next("input[type=hidden]").remove();
|
||||
});
|
||||
|
||||
}
|
||||
</script>
|
||||
<?php $__env->stopPush(); ?>
|
||||
<?php endif; ?>
|
||||
<?php /**PATH C:\xampp2\htdocs\exchange\vendor\backpack\crud\src\resources\views\crud/fields/upload.blade.php ENDPATH**/ ?>
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
|
||||
|
||||
|
||||
<?php /**PATH C:\xampp2\htdocs\exchange\resources\views/vendor/backpack/base/inc/topbar_left_content.blade.php ENDPATH**/ ?>
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
<?php
|
||||
$field['attributes'] = $field['attributes'] ?? [];
|
||||
$field['attributes']['class'] = $field['attributes']['class'] ?? $default_class ?? 'form-control';
|
||||
?>
|
||||
|
||||
<?php $__currentLoopData = $field['attributes']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $attribute => $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
|
||||
<?php if(is_string($attribute)): ?>
|
||||
<?php echo e($attribute); ?>="<?php echo e($value); ?>"
|
||||
<?php endif; ?>
|
||||
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><?php /**PATH C:\xampp2\htdocs\exchange\vendor\backpack\crud\src\resources\views\crud/fields/inc/attributes.blade.php ENDPATH**/ ?>
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
|
||||
<li class="nav-item"><a class="nav-link" href="<?php echo e(backpack_url('dashboard')); ?>"><i class="la la-home nav-icon"></i> <?php echo e(trans('backpack::base.dashboard')); ?></a></li>
|
||||
|
||||
<li class="nav-item"><a class="nav-link" href="<?php echo e(backpack_url('category')); ?>"><i class="nav-icon la la-question"></i> Categories</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="<?php echo e(backpack_url('trading')); ?>"><i class="nav-icon la la-question"></i> Tradings</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="<?php echo e(backpack_url('news')); ?>"><i class="nav-icon la la-question"></i> News</a></li>
|
||||
<li class='nav-item'><a class='nav-link' href='<?php echo e(backpack_url('document')); ?>'><i class='nav-icon la la-question'></i> Documents</a></li><?php /**PATH C:\xampp2\htdocs\exchange\resources\views/vendor/backpack/base/inc/sidebar_content.blade.php ENDPATH**/ ?>
|
||||
|
|
@ -1,54 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
|
||||
<html lang="<?php echo e(app()->getLocale()); ?>" dir="<?php echo e(config('backpack.base.html_direction')); ?>">
|
||||
|
||||
<head>
|
||||
<?php echo $__env->make(backpack_view('inc.head'), \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="<?php echo e(config('backpack.base.body_class')); ?>">
|
||||
|
||||
<?php echo $__env->make(backpack_view('inc.main_header'), \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
|
||||
|
||||
<div class="app-body">
|
||||
|
||||
<?php echo $__env->make(backpack_view('inc.sidebar'), \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
|
||||
|
||||
<main class="main pt-2">
|
||||
|
||||
<?php echo $__env->yieldContent('before_breadcrumbs_widgets'); ?>
|
||||
|
||||
<?php echo $__env->renderWhen(isset($breadcrumbs), backpack_view('inc.breadcrumbs'), \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path'])); ?>
|
||||
|
||||
<?php echo $__env->yieldContent('after_breadcrumbs_widgets'); ?>
|
||||
|
||||
<?php echo $__env->yieldContent('header'); ?>
|
||||
|
||||
<div class="container-fluid animated fadeIn">
|
||||
|
||||
<?php echo $__env->yieldContent('before_content_widgets'); ?>
|
||||
|
||||
<?php echo $__env->yieldContent('content'); ?>
|
||||
|
||||
<?php echo $__env->yieldContent('after_content_widgets'); ?>
|
||||
|
||||
</div>
|
||||
|
||||
</main>
|
||||
|
||||
</div><!-- ./app-body -->
|
||||
|
||||
<footer class="<?php echo e(config('backpack.base.footer_class')); ?>">
|
||||
<?php echo $__env->make(backpack_view('inc.footer'), \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
|
||||
</footer>
|
||||
|
||||
<?php echo $__env->yieldContent('before_scripts'); ?>
|
||||
<?php echo $__env->yieldPushContent('before_scripts'); ?>
|
||||
|
||||
<?php echo $__env->make(backpack_view('inc.scripts'), \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
|
||||
|
||||
<?php echo $__env->yieldContent('after_scripts'); ?>
|
||||
<?php echo $__env->yieldPushContent('after_scripts'); ?>
|
||||
</body>
|
||||
</html><?php /**PATH C:\xampp2\htdocs\exchange\vendor\backpack\crud\src\resources\views\base/layouts/top_left.blade.php ENDPATH**/ ?>
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
<?php
|
||||
// if not otherwise specified, the hidden input should take up no space in the form
|
||||
$field['wrapper'] = $field['wrapper'] ?? $field['wrapperAttributes'] ?? [];
|
||||
$field['wrapper']['class'] = $field['wrapper']['class'] ?? "hidden";
|
||||
?>
|
||||
|
||||
<!-- hidden input -->
|
||||
<?php echo $__env->make('crud::fields.inc.wrapper_start', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
|
||||
<input
|
||||
type="hidden"
|
||||
name="<?php echo e($field['name']); ?>"
|
||||
value="<?php echo e(old(square_brackets_to_dots($field['name'])) ?? $field['value'] ?? $field['default'] ?? ''); ?>"
|
||||
<?php echo $__env->make('crud::fields.inc.attributes', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
|
||||
>
|
||||
<?php echo $__env->make('crud::fields.inc.wrapper_end', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
|
||||
<?php /**PATH C:\xampp2\htdocs\exchange\vendor\backpack\crud\src\resources\views\crud/fields/hidden.blade.php ENDPATH**/ ?>
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
<?php if($crud->hasAccess('create')): ?>
|
||||
<a href="<?php echo e(url($crud->route.'/create')); ?>" class="btn btn-primary" data-style="zoom-in"><span class="ladda-label"><i class="la la-plus"></i> <?php echo e(trans('backpack::crud.add')); ?> <?php echo e($crud->entity_name); ?></span></a>
|
||||
<?php endif; ?><?php /**PATH C:\xampp2\htdocs\exchange\vendor\backpack\crud\src\resources\views\crud/buttons/create.blade.php ENDPATH**/ ?>
|
||||
|
|
@ -1,66 +0,0 @@
|
|||
<?php if(config('backpack.base.scripts') && count(config('backpack.base.scripts'))): ?>
|
||||
<?php $__currentLoopData = config('backpack.base.scripts'); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $path): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
|
||||
<script type="text/javascript" src="<?php echo e(asset($path).'?v='.config('backpack.base.cachebusting_string')); ?>"></script>
|
||||
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if(config('backpack.base.mix_scripts') && count(config('backpack.base.mix_scripts'))): ?>
|
||||
<?php $__currentLoopData = config('backpack.base.mix_scripts'); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $path => $manifest): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
|
||||
<script type="text/javascript" src="<?php echo e(mix($path, $manifest)); ?>"></script>
|
||||
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php echo $__env->make('backpack::inc.alerts', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
|
||||
|
||||
<!-- page script -->
|
||||
<script type="text/javascript">
|
||||
// To make Pace works on Ajax calls
|
||||
$(document).ajaxStart(function() { Pace.restart(); });
|
||||
|
||||
// polyfill for `startsWith` from https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/startsWith
|
||||
if (!String.prototype.startsWith) {
|
||||
Object.defineProperty(String.prototype, 'startsWith', {
|
||||
value: function(search, rawPos) {
|
||||
var pos = rawPos > 0 ? rawPos|0 : 0;
|
||||
return this.substring(pos, pos + search.length) === search;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
// polyfill for entries and keys from https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/entries#polyfill
|
||||
if (!Object.keys) Object.keys = function(o) {
|
||||
if (o !== Object(o))
|
||||
throw new TypeError('Object.keys called on a non-object');
|
||||
var k=[],p;
|
||||
for (p in o) if (Object.prototype.hasOwnProperty.call(o,p)) k.push(p);
|
||||
return k;
|
||||
}
|
||||
|
||||
if (!Object.entries) {
|
||||
Object.entries = function( obj ){
|
||||
var ownProps = Object.keys( obj ),
|
||||
i = ownProps.length,
|
||||
resArray = new Array(i); // preallocate the Array
|
||||
while (i--)
|
||||
resArray[i] = [ownProps[i], obj[ownProps[i]]];
|
||||
return resArray;
|
||||
};
|
||||
}
|
||||
|
||||
// Ajax calls should always have the CSRF token attached to them, otherwise they won't work
|
||||
$.ajaxSetup({
|
||||
headers: {
|
||||
'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
var activeTab = $('[href="' + location.hash.replace("#", "#tab_") + '"]');
|
||||
location.hash && activeTab && activeTab.tab('show');
|
||||
$('.nav-tabs a').on('shown.bs.tab', function (e) {
|
||||
location.hash = e.target.hash.replace("#tab_", "#");
|
||||
});
|
||||
</script>
|
||||
<?php /**PATH C:\xampp2\htdocs\exchange\vendor\backpack\crud\src\resources\views\base/inc/scripts.blade.php ENDPATH**/ ?>
|
||||
|
|
@ -1,56 +0,0 @@
|
|||
<?php
|
||||
$title = 'Error '.$error_number;
|
||||
?>
|
||||
|
||||
<?php $__env->startSection('after_styles'); ?>
|
||||
<style>
|
||||
.error_number {
|
||||
font-size: 156px;
|
||||
font-weight: 600;
|
||||
line-height: 100px;
|
||||
}
|
||||
.error_number small {
|
||||
font-size: 56px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.error_number hr {
|
||||
margin-top: 60px;
|
||||
margin-bottom: 0;
|
||||
width: 50px;
|
||||
}
|
||||
|
||||
.error_title {
|
||||
margin-top: 40px;
|
||||
font-size: 36px;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.error_description {
|
||||
font-size: 24px;
|
||||
font-weight: 400;
|
||||
}
|
||||
</style>
|
||||
<?php $__env->stopSection(); ?>
|
||||
|
||||
<?php $__env->startSection('content'); ?>
|
||||
<div class="row">
|
||||
<div class="col-md-12 text-center">
|
||||
<div class="error_number">
|
||||
<small>ERROR</small><br>
|
||||
<?php echo e($error_number); ?>
|
||||
|
||||
<hr>
|
||||
</div>
|
||||
<div class="error_title text-muted">
|
||||
<?php echo $__env->yieldContent('title'); ?>
|
||||
</div>
|
||||
<div class="error_description text-muted">
|
||||
<small>
|
||||
<?php echo $__env->yieldContent('description'); ?>
|
||||
</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php $__env->stopSection(); ?>
|
||||
<?php echo $__env->make(backpack_user() && (Str::startsWith(\Request::path(), config('backpack.base.route_prefix'))) ? 'backpack::layouts.top_left' : 'backpack::layouts.plain', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp2\htdocs\exchange\resources\views/errors/layout.blade.php ENDPATH**/ ?>
|
||||
|
|
@ -1,36 +0,0 @@
|
|||
<?php if(isset($saveAction['active']) && !is_null($saveAction['active']['value'])): ?>
|
||||
<div id="saveActions" class="form-group">
|
||||
|
||||
<input type="hidden" name="save_action" value="<?php echo e($saveAction['active']['value']); ?>">
|
||||
<?php if(!empty($saveAction['options'])): ?>
|
||||
<div class="btn-group" role="group">
|
||||
<?php endif; ?>
|
||||
|
||||
<button type="submit" class="btn btn-success">
|
||||
<span class="la la-save" role="presentation" aria-hidden="true"></span>
|
||||
<span data-value="<?php echo e($saveAction['active']['value']); ?>"><?php echo e($saveAction['active']['label']); ?></span>
|
||||
</button>
|
||||
|
||||
<div class="btn-group" role="group">
|
||||
<?php if(!empty($saveAction['options'])): ?>
|
||||
<button id="btnGroupDrop1" type="button" class="btn btn-success dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><span class="caret"></span><span class="sr-only">▼</span></button>
|
||||
<div class="dropdown-menu" aria-labelledby="btnGroupDrop1">
|
||||
<?php $__currentLoopData = $saveAction['options']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $value => $label): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
|
||||
<a class="dropdown-item" href="javascript:void(0);" data-value="<?php echo e($value); ?>"><?php echo e($label); ?></a>
|
||||
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
<?php if(!empty($saveAction['options'])): ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if(!$crud->hasOperationSetting('showCancelButton') || $crud->getOperationSetting('showCancelButton') == true): ?>
|
||||
<a href="<?php echo e($crud->hasAccess('list') ? url($crud->route) : url()->previous()); ?>" class="btn btn-default"><span class="la la-ban"></span> <?php echo e(trans('backpack::crud.cancel')); ?></a>
|
||||
<?php endif; ?>
|
||||
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php /**PATH C:\xampp2\htdocs\exchange\vendor\backpack\crud\src\resources\views\crud/inc/form_save_buttons.blade.php ENDPATH**/ ?>
|
||||
|
|
@ -1,298 +0,0 @@
|
|||
<?php
|
||||
$defaultBreadcrumbs = [
|
||||
trans('backpack::crud.admin') => url(config('backpack.base.route_prefix'), 'dashboard'),
|
||||
$crud->entity_name_plural => url($crud->route),
|
||||
trans('backpack::crud.reorder') => false,
|
||||
];
|
||||
|
||||
// if breadcrumbs aren't defined in the CrudController, use the default breadcrumbs
|
||||
$breadcrumbs = $breadcrumbs ?? $defaultBreadcrumbs;
|
||||
?>
|
||||
|
||||
<?php $__env->startSection('header'); ?>
|
||||
<div class="container-fluid">
|
||||
<h2>
|
||||
<span class="text-capitalize"><?php echo $crud->getHeading() ?? $crud->entity_name_plural; ?></span>
|
||||
<small><?php echo $crud->getSubheading() ?? trans('backpack::crud.reorder').' '.$crud->entity_name_plural; ?>.</small>
|
||||
|
||||
<?php if($crud->hasAccess('list')): ?>
|
||||
<small><a href="<?php echo e(url($crud->route)); ?>" class="d-print-none font-sm"><i class="la la-angle-double-left"></i> <?php echo e(trans('backpack::crud.back_to_all')); ?> <span><?php echo e($crud->entity_name_plural); ?></span></a></small>
|
||||
<?php endif; ?>
|
||||
</h2>
|
||||
</div>
|
||||
<?php $__env->stopSection(); ?>
|
||||
|
||||
<?php $__env->startSection('content'); ?>
|
||||
<?php
|
||||
function tree_element($entry, $key, $all_entries, $crud)
|
||||
{
|
||||
if (! isset($entry->tree_element_shown)) {
|
||||
// mark the element as shown
|
||||
$all_entries[$key]->tree_element_shown = true;
|
||||
$entry->tree_element_shown = true;
|
||||
|
||||
// show the tree element
|
||||
echo '<li id="list_'.$entry->getKey().'">';
|
||||
echo '<div><span class="disclose"><span></span></span>'.object_get($entry, $crud->get('reorder.label')).'</div>';
|
||||
|
||||
// see if this element has any children
|
||||
$children = [];
|
||||
foreach ($all_entries as $key => $subentry) {
|
||||
if ($subentry->parent_id == $entry->getKey()) {
|
||||
$children[] = $subentry;
|
||||
}
|
||||
}
|
||||
|
||||
$children = collect($children)->sortBy('lft');
|
||||
|
||||
// if it does have children, show them
|
||||
if (count($children)) {
|
||||
echo '<ol>';
|
||||
foreach ($children as $key => $child) {
|
||||
$children[$key] = tree_element($child, $child->getKey(), $all_entries, $crud);
|
||||
}
|
||||
echo '</ol>';
|
||||
}
|
||||
echo '</li>';
|
||||
}
|
||||
|
||||
return $entry;
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
<div class="row mt-4">
|
||||
<div class="<?php echo e($crud->getReorderContentClass()); ?>">
|
||||
<div class="card p-4">
|
||||
<p><?php echo e(trans('backpack::crud.reorder_text')); ?></p>
|
||||
|
||||
<ol class="sortable mt-0">
|
||||
<?php
|
||||
$all_entries = collect($entries->all())->sortBy('lft')->keyBy($crud->getModel()->getKeyName());
|
||||
$root_entries = $all_entries->filter(function ($item) {
|
||||
return $item->parent_id == 0;
|
||||
});
|
||||
foreach ($root_entries as $key => $entry) {
|
||||
$root_entries[$key] = tree_element($entry, $key, $all_entries, $crud);
|
||||
}
|
||||
?>
|
||||
</ol>
|
||||
|
||||
</div><!-- /.card -->
|
||||
|
||||
<button id="toArray" class="btn btn-success" data-style="zoom-in"><i class="la la-save"></i> <?php echo e(trans('backpack::crud.save')); ?></button>
|
||||
</div>
|
||||
</div>
|
||||
<?php $__env->stopSection(); ?>
|
||||
|
||||
|
||||
<?php $__env->startSection('after_styles'); ?>
|
||||
<style>
|
||||
.ui-sortable .placeholder {
|
||||
outline: 1px dashed #4183C4;
|
||||
/*-webkit-border-radius: 3px;
|
||||
-moz-border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
margin: -1px;*/
|
||||
}
|
||||
|
||||
.ui-sortable .mjs-nestedSortable-error {
|
||||
background: #fbe3e4;
|
||||
border-color: transparent;
|
||||
}
|
||||
|
||||
.ui-sortable ol {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
padding-left: 30px;
|
||||
}
|
||||
|
||||
ol.sortable, ol.sortable ol {
|
||||
margin: 0 0 0 25px;
|
||||
padding: 0;
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
ol.sortable {
|
||||
margin: 2em 0;
|
||||
}
|
||||
|
||||
.sortable li {
|
||||
margin: 5px 0 0 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.sortable li div {
|
||||
border: 1px solid #ddd;
|
||||
-webkit-border-radius: 3px;
|
||||
-moz-border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
padding: 6px;
|
||||
margin: 0;
|
||||
cursor: move;
|
||||
background-color: #f4f4f4;
|
||||
color: #444;
|
||||
border-color: #00acd6;
|
||||
}
|
||||
|
||||
.sortable li.mjs-nestedSortable-branch div {
|
||||
/*background-color: #00c0ef;*/
|
||||
/*border-color: #00acd6;*/
|
||||
}
|
||||
|
||||
.sortable li.mjs-nestedSortable-leaf div {
|
||||
/*background-color: #00c0ef;*/
|
||||
border: 1px solid #ddd;
|
||||
}
|
||||
|
||||
li.mjs-nestedSortable-collapsed.mjs-nestedSortable-hovering div {
|
||||
border-color: #999;
|
||||
background: #fafafa;
|
||||
}
|
||||
|
||||
.ui-sortable .disclose {
|
||||
cursor: pointer;
|
||||
width: 10px;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.sortable li.mjs-nestedSortable-collapsed > ol {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.sortable li.mjs-nestedSortable-branch > div > .disclose {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.sortable li.mjs-nestedSortable-collapsed > div > .disclose > span:before {
|
||||
content: '+ ';
|
||||
}
|
||||
|
||||
.sortable li.mjs-nestedSortable-expanded > div > .disclose > span:before {
|
||||
content: '- ';
|
||||
}
|
||||
|
||||
.ui-sortable h1 {
|
||||
font-size: 2em;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.ui-sortable h2 {
|
||||
font-size: 1.2em;
|
||||
font-weight: normal;
|
||||
font-style: italic;
|
||||
margin-top: .2em;
|
||||
margin-bottom: 1.5em;
|
||||
}
|
||||
|
||||
.ui-sortable h3 {
|
||||
font-size: 1em;
|
||||
margin: 1em 0 .3em;;
|
||||
}
|
||||
|
||||
.ui-sortable p, .ui-sortable ol, .ui-sortable ul, .ui-sortable pre, .ui-sortable form {
|
||||
margin-top: 0;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
.ui-sortable dl {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.ui-sortable dd {
|
||||
margin: 0;
|
||||
padding: 0 0 0 1.5em;
|
||||
}
|
||||
|
||||
.ui-sortable code {
|
||||
background: #e5e5e5;
|
||||
}
|
||||
|
||||
.ui-sortable input {
|
||||
vertical-align: text-bottom;
|
||||
}
|
||||
|
||||
.ui-sortable .notice {
|
||||
color: #c33;
|
||||
}
|
||||
</style>
|
||||
<link rel="stylesheet" href="<?php echo e(asset('packages/backpack/crud/css/crud.css').'?v='.config('backpack.base.cachebusting_string')); ?>">
|
||||
<link rel="stylesheet" href="<?php echo e(asset('packages/backpack/crud/css/reorder.css').'?v='.config('backpack.base.cachebusting_string')); ?>">
|
||||
<?php $__env->stopSection(); ?>
|
||||
|
||||
<?php $__env->startSection('after_scripts'); ?>
|
||||
<script src="<?php echo e(asset('packages/backpack/crud/js/crud.js').'?v='.config('backpack.base.cachebusting_string')); ?>" type="text/javascript" ></script>
|
||||
<script src="<?php echo e(asset('packages/backpack/crud/js/reorder.js').'?v='.config('backpack.base.cachebusting_string')); ?>" type="text/javascript" ></script>
|
||||
<script src="<?php echo e(asset('packages/jquery-ui-dist/jquery-ui.min.js')); ?>" type="text/javascript" ></script>
|
||||
<script src="<?php echo e(asset('packages/nestedSortable/jquery.mjs.nestedSortable2.js')); ?>" type="text/javascript" ></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
jQuery(document).ready(function($) {
|
||||
|
||||
// initialize the nested sortable plugin
|
||||
$('.sortable').nestedSortable({
|
||||
forcePlaceholderSize: true,
|
||||
handle: 'div',
|
||||
helper: 'clone',
|
||||
items: 'li',
|
||||
opacity: .6,
|
||||
placeholder: 'placeholder',
|
||||
revert: 250,
|
||||
tabSize: 25,
|
||||
tolerance: 'pointer',
|
||||
toleranceElement: '> div',
|
||||
maxLevels: <?php echo e($crud->get('reorder.max_level') ?? 3); ?>,
|
||||
|
||||
isTree: true,
|
||||
expandOnHover: 700,
|
||||
startCollapsed: false
|
||||
});
|
||||
|
||||
$('.disclose').on('click', function() {
|
||||
$(this).closest('li').toggleClass('mjs-nestedSortable-collapsed').toggleClass('mjs-nestedSortable-expanded');
|
||||
});
|
||||
|
||||
$('#toArray').click(function(e){
|
||||
// get the current tree order
|
||||
arraied = $('ol.sortable').nestedSortable('toArray', {startDepthCount: 0});
|
||||
|
||||
// log it
|
||||
//console.log(arraied);
|
||||
|
||||
// send it with POST
|
||||
$.ajax({
|
||||
url: '<?php echo e(url(Request::path())); ?>',
|
||||
type: 'POST',
|
||||
data: { tree: arraied },
|
||||
})
|
||||
.done(function() {
|
||||
new Noty({
|
||||
type: "success",
|
||||
text: "<strong><?php echo e(trans('backpack::crud.reorder_success_title')); ?></strong><br><?php echo e(trans('backpack::crud.reorder_success_message')); ?>"
|
||||
}).show();
|
||||
})
|
||||
.fail(function() {
|
||||
new Noty({
|
||||
type: "error",
|
||||
text: "<strong><?php echo e(trans('backpack::crud.reorder_error_title')); ?></strong><br><?php echo e(trans('backpack::crud.reorder_error_message')); ?>"
|
||||
}).show();
|
||||
})
|
||||
.always(function() {
|
||||
console.log("complete");
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
$.ajaxPrefilter(function(options, originalOptions, xhr) {
|
||||
var token = $('meta[name="csrf_token"]').attr('content');
|
||||
|
||||
if (token) {
|
||||
return xhr.setRequestHeader('X-XSRF-TOKEN', token);
|
||||
}
|
||||
});
|
||||
|
||||
});
|
||||
</script>
|
||||
<?php $__env->stopSection(); ?>
|
||||
|
||||
<?php echo $__env->make(backpack_view('blank'), \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp2\htdocs\exchange\vendor\backpack\crud\src\resources\views\crud/reorder.blade.php ENDPATH**/ ?>
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
<?php if($crud->buttons()->where('stack', $stack)->count()): ?>
|
||||
<?php $__currentLoopData = $crud->buttons()->where('stack', $stack); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $button): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
|
||||
<?php echo $button->getHtml($entry ?? null); ?>
|
||||
|
||||
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
|
||||
<?php endif; ?>
|
||||
<?php /**PATH C:\xampp2\htdocs\exchange\vendor\backpack\crud\src\resources\views\crud/inc/button_stack.blade.php ENDPATH**/ ?>
|
||||
|
|
@ -1,123 +0,0 @@
|
|||
<?php if($crud->exportButtons()): ?>
|
||||
<script src="https://cdn.datatables.net/buttons/1.5.6/js/dataTables.buttons.min.js" type="text/javascript"></script>
|
||||
<script src="https://cdn.datatables.net/buttons/1.5.6/js/buttons.bootstrap4.min.js" type="text/javascript"></script>
|
||||
<script src="//cdnjs.cloudflare.com/ajax/libs/jszip/2.5.0/jszip.min.js" type="text/javascript"></script>
|
||||
<script src="//cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.18/pdfmake.min.js" type="text/javascript"></script>
|
||||
<script src="//cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.18/vfs_fonts.js" type="text/javascript"></script>
|
||||
<script src="//cdn.datatables.net/buttons/1.5.6/js/buttons.html5.min.js" type="text/javascript"></script>
|
||||
<script src="//cdn.datatables.net/buttons/1.5.6/js/buttons.print.min.js" type="text/javascript"></script>
|
||||
<script src="//cdn.datatables.net/buttons/1.5.6/js/buttons.colVis.min.js" type="text/javascript"></script>
|
||||
<script>
|
||||
window.crud.dataTableConfiguration.buttons = [
|
||||
{
|
||||
extend: 'collection',
|
||||
text: '<i class="la la-download"></i> <?php echo e(trans('backpack::crud.export.export')); ?>',
|
||||
dropup: true,
|
||||
buttons: [
|
||||
{
|
||||
name: 'copyHtml5',
|
||||
extend: 'copyHtml5',
|
||||
exportOptions: {
|
||||
columns: function ( idx, data, node ) {
|
||||
var $column = crud.table.column( idx );
|
||||
return ($column.visible() && $(node).attr('data-visible-in-export') != 'false') || $(node).attr('data-force-export') == 'true';
|
||||
}
|
||||
},
|
||||
action: function(e, dt, button, config) {
|
||||
crud.responsiveToggle(dt);
|
||||
$.fn.DataTable.ext.buttons.copyHtml5.action.call(this, e, dt, button, config);
|
||||
crud.responsiveToggle(dt);
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'excelHtml5',
|
||||
extend: 'excelHtml5',
|
||||
exportOptions: {
|
||||
columns: function ( idx, data, node ) {
|
||||
var $column = crud.table.column( idx );
|
||||
return ($column.visible() && $(node).attr('data-visible-in-export') != 'false') || $(node).attr('data-force-export') == 'true';
|
||||
}
|
||||
},
|
||||
action: function(e, dt, button, config) {
|
||||
crud.responsiveToggle(dt);
|
||||
$.fn.DataTable.ext.buttons.excelHtml5.action.call(this, e, dt, button, config);
|
||||
crud.responsiveToggle(dt);
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'csvHtml5',
|
||||
extend: 'csvHtml5',
|
||||
exportOptions: {
|
||||
columns: function ( idx, data, node ) {
|
||||
var $column = crud.table.column( idx );
|
||||
return ($column.visible() && $(node).attr('data-visible-in-export') != 'false') || $(node).attr('data-force-export') == 'true';
|
||||
}
|
||||
},
|
||||
action: function(e, dt, button, config) {
|
||||
crud.responsiveToggle(dt);
|
||||
$.fn.DataTable.ext.buttons.csvHtml5.action.call(this, e, dt, button, config);
|
||||
crud.responsiveToggle(dt);
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'pdfHtml5',
|
||||
extend: 'pdfHtml5',
|
||||
exportOptions: {
|
||||
columns: function ( idx, data, node ) {
|
||||
var $column = crud.table.column( idx );
|
||||
return ($column.visible() && $(node).attr('data-visible-in-export') != 'false') || $(node).attr('data-force-export') == 'true';
|
||||
}
|
||||
},
|
||||
orientation: 'landscape',
|
||||
action: function(e, dt, button, config) {
|
||||
crud.responsiveToggle(dt);
|
||||
$.fn.DataTable.ext.buttons.pdfHtml5.action.call(this, e, dt, button, config);
|
||||
crud.responsiveToggle(dt);
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'print',
|
||||
extend: 'print',
|
||||
exportOptions: {
|
||||
columns: function ( idx, data, node ) {
|
||||
var $column = crud.table.column( idx );
|
||||
return ($column.visible() && $(node).attr('data-visible-in-export') != 'false') || $(node).attr('data-force-export') == 'true';
|
||||
}
|
||||
},
|
||||
action: function(e, dt, button, config) {
|
||||
crud.responsiveToggle(dt);
|
||||
$.fn.DataTable.ext.buttons.print.action.call(this, e, dt, button, config);
|
||||
crud.responsiveToggle(dt);
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
extend: 'colvis',
|
||||
text: '<i class="la la-eye-slash"></i> <?php echo e(trans('backpack::crud.export.column_visibility')); ?>',
|
||||
columns: function ( idx, data, node ) {
|
||||
return $(node).attr('data-visible-in-table') == 'false' && $(node).attr('data-can-be-visible-in-table') == 'true';
|
||||
},
|
||||
dropup: true
|
||||
}
|
||||
];
|
||||
|
||||
// move the datatable buttons in the top-right corner and make them smaller
|
||||
function moveExportButtonsToTopRight() {
|
||||
crud.table.buttons().each(function(button) {
|
||||
if (button.node.className.indexOf('buttons-columnVisibility') == -1 && button.node.nodeName=='BUTTON')
|
||||
{
|
||||
button.node.className = button.node.className + " btn-sm";
|
||||
}
|
||||
})
|
||||
$(".dt-buttons").appendTo($('#datatable_button_stack' ));
|
||||
$('.dt-buttons').addClass('d-xs-block')
|
||||
.addClass('d-sm-inline-block')
|
||||
.addClass('d-md-inline-block')
|
||||
.addClass('d-lg-inline-block');
|
||||
}
|
||||
|
||||
crud.addFunctionToDataTablesDrawEventQueue('moveExportButtonsToTopRight');
|
||||
</script>
|
||||
<?php endif; ?>
|
||||
<?php /**PATH C:\xampp2\htdocs\exchange\vendor\backpack\crud\src\resources\views\crud/inc/export_buttons.blade.php ENDPATH**/ ?>
|
||||
|
|
@ -1,22 +0,0 @@
|
|||
<!-- text input -->
|
||||
<?php echo $__env->make('crud::fields.inc.wrapper_start', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
|
||||
<label><?php echo $field['label']; ?></label>
|
||||
<?php echo $__env->make('crud::fields.inc.translatable_icon', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
|
||||
|
||||
<?php if(isset($field['prefix']) || isset($field['suffix'])): ?> <div class="input-group"> <?php endif; ?>
|
||||
<?php if(isset($field['prefix'])): ?> <div class="input-group-prepend"><span class="input-group-text"><?php echo $field['prefix']; ?></span></div> <?php endif; ?>
|
||||
<input
|
||||
type="text"
|
||||
name="<?php echo e($field['name']); ?>"
|
||||
value="<?php echo e(old(square_brackets_to_dots($field['name'])) ?? $field['value'] ?? $field['default'] ?? ''); ?>"
|
||||
<?php echo $__env->make('crud::fields.inc.attributes', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
|
||||
>
|
||||
<?php if(isset($field['suffix'])): ?> <div class="input-group-append"><span class="input-group-text"><?php echo $field['suffix']; ?></span></div> <?php endif; ?>
|
||||
<?php if(isset($field['prefix']) || isset($field['suffix'])): ?> </div> <?php endif; ?>
|
||||
|
||||
|
||||
<?php if(isset($field['hint'])): ?>
|
||||
<p class="help-block"><?php echo $field['hint']; ?></p>
|
||||
<?php endif; ?>
|
||||
<?php echo $__env->make('crud::fields.inc.wrapper_end', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
|
||||
<?php /**PATH C:\xampp2\htdocs\exchange\vendor\backpack\crud\src\resources\views\crud/fields/text.blade.php ENDPATH**/ ?>
|
||||
|
|
@ -1,32 +0,0 @@
|
|||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
|
||||
<?php if(config('backpack.base.meta_robots_content')): ?><meta name="robots" content="<?php echo e(config('backpack.base.meta_robots_content', 'noindex, nofollow')); ?>"> <?php endif; ?>
|
||||
|
||||
<meta name="csrf-token" content="<?php echo e(csrf_token()); ?>" />
|
||||
<title><?php echo e(isset($title) ? $title.' :: '.config('backpack.base.project_name') : config('backpack.base.project_name')); ?></title>
|
||||
|
||||
<?php echo $__env->yieldContent('before_styles'); ?>
|
||||
<?php echo $__env->yieldPushContent('before_styles'); ?>
|
||||
|
||||
<?php if(config('backpack.base.styles') && count(config('backpack.base.styles'))): ?>
|
||||
<?php $__currentLoopData = config('backpack.base.styles'); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $path): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
|
||||
<link rel="stylesheet" type="text/css" href="<?php echo e(asset($path).'?v='.config('backpack.base.cachebusting_string')); ?>">
|
||||
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if(config('backpack.base.mix_styles') && count(config('backpack.base.mix_styles'))): ?>
|
||||
<?php $__currentLoopData = config('backpack.base.mix_styles'); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $path => $manifest): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
|
||||
<link rel="stylesheet" type="text/css" href="<?php echo e(mix($path, $manifest)); ?>">
|
||||
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php echo $__env->yieldContent('after_styles'); ?>
|
||||
<?php echo $__env->yieldPushContent('after_styles'); ?>
|
||||
|
||||
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
||||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
|
||||
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
||||
<![endif]--><?php /**PATH C:\xampp2\htdocs\exchange\vendor\backpack\crud\src\resources\views\base/inc/head.blade.php ENDPATH**/ ?>
|
||||
|
|
@ -1,32 +0,0 @@
|
|||
<?php
|
||||
// Merge widgets that were fluently declared with widgets declared without the fluent syntax:
|
||||
// - $data['widgets']['before_content']
|
||||
// - $data['widgets']['after_content']
|
||||
if (isset($widgets)) {
|
||||
foreach ($widgets as $section => $widgetSection) {
|
||||
foreach ($widgetSection as $key => $widget) {
|
||||
\Backpack\CRUD\app\Library\Widget::add($widget)->section($section);
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
<?php $__env->startSection('before_breadcrumbs_widgets'); ?>
|
||||
<?php echo $__env->make(backpack_view('inc.widgets'), [ 'widgets' => app('widgets')->where('section', 'before_breadcrumbs')->toArray() ], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
|
||||
<?php $__env->stopSection(); ?>
|
||||
|
||||
<?php $__env->startSection('after_breadcrumbs_widgets'); ?>
|
||||
<?php echo $__env->make(backpack_view('inc.widgets'), [ 'widgets' => app('widgets')->where('section', 'after_breadcrumbs')->toArray() ], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
|
||||
<?php $__env->stopSection(); ?>
|
||||
|
||||
<?php $__env->startSection('before_content_widgets'); ?>
|
||||
<?php echo $__env->make(backpack_view('inc.widgets'), [ 'widgets' => app('widgets')->where('section', 'before_content')->toArray() ], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
|
||||
<?php $__env->stopSection(); ?>
|
||||
|
||||
<?php $__env->startSection('content'); ?>
|
||||
<?php $__env->stopSection(); ?>
|
||||
|
||||
<?php $__env->startSection('after_content_widgets'); ?>
|
||||
<?php echo $__env->make(backpack_view('inc.widgets'), [ 'widgets' => app('widgets')->where('section', 'after_content')->toArray() ], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
|
||||
<?php $__env->stopSection(); ?>
|
||||
<?php echo $__env->make(backpack_view('layouts.top_left'), \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp2\htdocs\exchange\vendor\backpack\crud\src\resources\views\base/blank.blade.php ENDPATH**/ ?>
|
||||
Loading…
Reference in New Issue