Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
laravel-adminpanel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
laravel-adminpanel
Commits
f2cd486f
Commit
f2cd486f
authored
Apr 22, 2018
by
Vipul Basapati
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added Export component in vue and moved pages headerbuttons to its folder
parent
cfb950cf
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
856 additions
and
882 deletions
+856
-882
composer.lock
composer.lock
+147
-145
app.js
resources/assets/js/backend/app.js
+617
-616
Export.vue
resources/assets/js/components/backend/Export.vue
+24
-0
Flash.vue
resources/assets/js/components/backend/Flash.vue
+32
-32
permission-header-buttons.blade.php
...ess/includes/partials/permission-header-buttons.blade.php
+3
-15
blogcategories-header-buttons.blade.php
...tegories/partials/blogcategories-header-buttons.blade.php
+3
-15
blogs-header-buttons.blade.php
...ews/backend/blogs/partials/blogs-header-buttons.blade.php
+1
-13
blogtags-header-buttons.blade.php
...ckend/blogtags/partials/blogtags-header-buttons.blade.php
+3
-15
index.blade.php
resources/views/backend/faqs/index.blade.php
+1
-1
faqs-header-buttons.blade.php
...views/backend/faqs/partials/faqs-header-buttons.blade.php
+19
-0
header-buttons.blade.php
...ces/views/backend/menus/partials/header-buttons.blade.php
+3
-15
pages-header-buttons.blade.php
...ews/backend/pages/partials/pages-header-buttons.blade.php
+3
-15
No files found.
composer.lock
View file @
f2cd486f
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
"This file is @generated automatically"
"This file is @generated automatically"
],
],
"content-hash": "
47881206fa716e06d6d48b9a4881de4e
",
"content-hash": "
529102fbc0fdd6142c7a86d0c99443c6
",
"packages": [
"packages": [
{
{
"name": "arcanedev/log-viewer",
"name": "arcanedev/log-viewer",
...
@@ -623,16 +623,16 @@
...
@@ -623,16 +623,16 @@
},
},
{
{
"name": "doctrine/dbal",
"name": "doctrine/dbal",
"version": "v2.7.
0
",
"version": "v2.7.
1
",
"source": {
"source": {
"type": "git",
"type": "git",
"url": "https://github.com/doctrine/dbal.git",
"url": "https://github.com/doctrine/dbal.git",
"reference": "
f76bf5ef631cec551a86c2291fc749534febebf1
"
"reference": "
11037b4352c008373561dc6fc836834eed80c3b5
"
},
},
"dist": {
"dist": {
"type": "zip",
"type": "zip",
"url": "https://api.github.com/repos/doctrine/dbal/zipball/
f76bf5ef631cec551a86c2291fc749534febebf1
",
"url": "https://api.github.com/repos/doctrine/dbal/zipball/
11037b4352c008373561dc6fc836834eed80c3b5
",
"reference": "
f76bf5ef631cec551a86c2291fc749534febebf1
",
"reference": "
11037b4352c008373561dc6fc836834eed80c3b5
",
"shasum": ""
"shasum": ""
},
},
"require": {
"require": {
...
@@ -694,7 +694,7 @@
...
@@ -694,7 +694,7 @@
"persistence",
"persistence",
"queryobject"
"queryobject"
],
],
"time": "2018-04-0
1T23:33:17
+00:00"
"time": "2018-04-0
7T18:44:18
+00:00"
},
},
{
{
"name": "doctrine/inflector",
"name": "doctrine/inflector",
...
@@ -819,23 +819,23 @@
...
@@ -819,23 +819,23 @@
},
},
{
{
"name": "dragonmantank/cron-expression",
"name": "dragonmantank/cron-expression",
"version": "v2.
0
.0",
"version": "v2.
1
.0",
"source": {
"source": {
"type": "git",
"type": "git",
"url": "https://github.com/dragonmantank/cron-expression.git",
"url": "https://github.com/dragonmantank/cron-expression.git",
"reference": "
8a84aee649c3a3ba03a721c1fb080e08dfbcd68b
"
"reference": "
3f00985deec8df53d4cc1e5c33619bda1ee309a5
"
},
},
"dist": {
"dist": {
"type": "zip",
"type": "zip",
"url": "https://api.github.com/repos/dragonmantank/cron-expression/zipball/
8a84aee649c3a3ba03a721c1fb080e08dfbcd68b
",
"url": "https://api.github.com/repos/dragonmantank/cron-expression/zipball/
3f00985deec8df53d4cc1e5c33619bda1ee309a5
",
"reference": "
8a84aee649c3a3ba03a721c1fb080e08dfbcd68b
",
"reference": "
3f00985deec8df53d4cc1e5c33619bda1ee309a5
",
"shasum": ""
"shasum": ""
},
},
"require": {
"require": {
"php": ">=7.0.0"
"php": ">=7.0.0"
},
},
"require-dev": {
"require-dev": {
"phpunit/phpunit": "~
5.7
"
"phpunit/phpunit": "~
6.4
"
},
},
"type": "library",
"type": "library",
"autoload": {
"autoload": {
...
@@ -864,20 +864,20 @@
...
@@ -864,20 +864,20 @@
"cron",
"cron",
"schedule"
"schedule"
],
],
"time": "201
7-10-12T15:59:13
+00:00"
"time": "201
8-04-06T15:51:55
+00:00"
},
},
{
{
"name": "egulias/email-validator",
"name": "egulias/email-validator",
"version": "2.1.
3
",
"version": "2.1.
4
",
"source": {
"source": {
"type": "git",
"type": "git",
"url": "https://github.com/egulias/EmailValidator.git",
"url": "https://github.com/egulias/EmailValidator.git",
"reference": "
1bec00a10039b823cc94eef4eddd47dcd3b2ca04
"
"reference": "
8790f594151ca6a2010c6218e09d96df67173ad3
"
},
},
"dist": {
"dist": {
"type": "zip",
"type": "zip",
"url": "https://api.github.com/repos/egulias/EmailValidator/zipball/
1bec00a10039b823cc94eef4eddd47dcd3b2ca04
",
"url": "https://api.github.com/repos/egulias/EmailValidator/zipball/
8790f594151ca6a2010c6218e09d96df67173ad3
",
"reference": "
1bec00a10039b823cc94eef4eddd47dcd3b2ca04
",
"reference": "
8790f594151ca6a2010c6218e09d96df67173ad3
",
"shasum": ""
"shasum": ""
},
},
"require": {
"require": {
...
@@ -886,7 +886,7 @@
...
@@ -886,7 +886,7 @@
},
},
"require-dev": {
"require-dev": {
"dominicsayers/isemail": "dev-master",
"dominicsayers/isemail": "dev-master",
"phpunit/phpunit": "^4.8.35",
"phpunit/phpunit": "^4.8.35
||^5.7||^6.0
",
"satooshi/php-coveralls": "^1.0.1"
"satooshi/php-coveralls": "^1.0.1"
},
},
"suggest": {
"suggest": {
...
@@ -921,7 +921,7 @@
...
@@ -921,7 +921,7 @@
"validation",
"validation",
"validator"
"validator"
],
],
"time": "201
7-11-15T23:40:40
+00:00"
"time": "201
8-04-10T10:11:19
+00:00"
},
},
{
{
"name": "erusev/parsedown",
"name": "erusev/parsedown",
...
@@ -1426,16 +1426,16 @@
...
@@ -1426,16 +1426,16 @@
},
},
{
{
"name": "laravel/framework",
"name": "laravel/framework",
"version": "v5.6.1
5
",
"version": "v5.6.1
7
",
"source": {
"source": {
"type": "git",
"type": "git",
"url": "https://github.com/laravel/framework.git",
"url": "https://github.com/laravel/framework.git",
"reference": "
baa42cf6bdd942523fafece21ec16a1843c6db0f
"
"reference": "
0f787c763ae8fb9fae0c8c809830ba4fa81e2d9d
"
},
},
"dist": {
"dist": {
"type": "zip",
"type": "zip",
"url": "https://api.github.com/repos/laravel/framework/zipball/
baa42cf6bdd942523fafece21ec16a1843c6db0f
",
"url": "https://api.github.com/repos/laravel/framework/zipball/
0f787c763ae8fb9fae0c8c809830ba4fa81e2d9d
",
"reference": "
baa42cf6bdd942523fafece21ec16a1843c6db0f
",
"reference": "
0f787c763ae8fb9fae0c8c809830ba4fa81e2d9d
",
"shasum": ""
"shasum": ""
},
},
"require": {
"require": {
...
@@ -1446,7 +1446,7 @@
...
@@ -1446,7 +1446,7 @@
"ext-openssl": "*",
"ext-openssl": "*",
"league/flysystem": "^1.0.8",
"league/flysystem": "^1.0.8",
"monolog/monolog": "~1.12",
"monolog/monolog": "~1.12",
"nesbot/carbon": "
^1.24.1
",
"nesbot/carbon": "
1.25.*
",
"php": "^7.1.3",
"php": "^7.1.3",
"psr/container": "~1.0",
"psr/container": "~1.0",
"psr/simple-cache": "^1.0",
"psr/simple-cache": "^1.0",
...
@@ -1500,6 +1500,7 @@
...
@@ -1500,6 +1500,7 @@
"aws/aws-sdk-php": "~3.0",
"aws/aws-sdk-php": "~3.0",
"doctrine/dbal": "~2.6",
"doctrine/dbal": "~2.6",
"filp/whoops": "^2.1.4",
"filp/whoops": "^2.1.4",
"league/flysystem-cached-adapter": "~1.0",
"mockery/mockery": "~1.0",
"mockery/mockery": "~1.0",
"moontoast/math": "^1.1",
"moontoast/math": "^1.1",
"orchestra/testbench-core": "3.6.*",
"orchestra/testbench-core": "3.6.*",
...
@@ -1518,7 +1519,7 @@
...
@@ -1518,7 +1519,7 @@
"guzzlehttp/guzzle": "Required to use the Mailgun and Mandrill mail drivers and the ping methods on schedules (~6.0).",
"guzzlehttp/guzzle": "Required to use the Mailgun and Mandrill mail drivers and the ping methods on schedules (~6.0).",
"laravel/tinker": "Required to use the tinker console command (~1.0).",
"laravel/tinker": "Required to use the tinker console command (~1.0).",
"league/flysystem-aws-s3-v3": "Required to use the Flysystem S3 driver (~1.0).",
"league/flysystem-aws-s3-v3": "Required to use the Flysystem S3 driver (~1.0).",
"league/flysystem-cached-adapter": "Required to use
Flysystem caching
(~1.0).",
"league/flysystem-cached-adapter": "Required to use
the Flysystem cache
(~1.0).",
"league/flysystem-rackspace": "Required to use the Flysystem Rackspace driver (~1.0).",
"league/flysystem-rackspace": "Required to use the Flysystem Rackspace driver (~1.0).",
"league/flysystem-sftp": "Required to use the Flysystem SFTP driver (~1.0).",
"league/flysystem-sftp": "Required to use the Flysystem SFTP driver (~1.0).",
"nexmo/client": "Required to use the Nexmo transport (~1.0).",
"nexmo/client": "Required to use the Nexmo transport (~1.0).",
...
@@ -1560,7 +1561,7 @@
...
@@ -1560,7 +1561,7 @@
"framework",
"framework",
"laravel"
"laravel"
],
],
"time": "2018-0
3-30T13:29:58
+00:00"
"time": "2018-0
4-17T12:51:04
+00:00"
},
},
{
{
"name": "laravel/socialite",
"name": "laravel/socialite",
...
@@ -1626,16 +1627,16 @@
...
@@ -1626,16 +1627,16 @@
},
},
{
{
"name": "laravel/tinker",
"name": "laravel/tinker",
"version": "v1.0.
5
",
"version": "v1.0.
6
",
"source": {
"source": {
"type": "git",
"type": "git",
"url": "https://github.com/laravel/tinker.git",
"url": "https://github.com/laravel/tinker.git",
"reference": "
94f6daf2131508cebd11cd6f8632ba586d7ecc41
"
"reference": "
b22fe905fcefdffae76b011e27c7ac09e07e052b
"
},
},
"dist": {
"dist": {
"type": "zip",
"type": "zip",
"url": "https://api.github.com/repos/laravel/tinker/zipball/
94f6daf2131508cebd11cd6f8632ba586d7ecc41
",
"url": "https://api.github.com/repos/laravel/tinker/zipball/
b22fe905fcefdffae76b011e27c7ac09e07e052b
",
"reference": "
94f6daf2131508cebd11cd6f8632ba586d7ecc41
",
"reference": "
b22fe905fcefdffae76b011e27c7ac09e07e052b
",
"shasum": ""
"shasum": ""
},
},
"require": {
"require": {
...
@@ -1643,7 +1644,7 @@
...
@@ -1643,7 +1644,7 @@
"illuminate/contracts": "~5.1",
"illuminate/contracts": "~5.1",
"illuminate/support": "~5.1",
"illuminate/support": "~5.1",
"php": ">=5.5.9",
"php": ">=5.5.9",
"psy/psysh": "0.7.*|0.8.*",
"psy/psysh": "0.7.*|0.8.*
|0.9.*
",
"symfony/var-dumper": "~3.0|~4.0"
"symfony/var-dumper": "~3.0|~4.0"
},
},
"require-dev": {
"require-dev": {
...
@@ -1685,20 +1686,20 @@
...
@@ -1685,20 +1686,20 @@
"laravel",
"laravel",
"psysh"
"psysh"
],
],
"time": "2018-0
3-06T17:34:36
+00:00"
"time": "2018-0
4-16T12:10:37
+00:00"
},
},
{
{
"name": "laravelcollective/html",
"name": "laravelcollective/html",
"version": "v5.6.
5
",
"version": "v5.6.
6
",
"source": {
"source": {
"type": "git",
"type": "git",
"url": "https://github.com/LaravelCollective/html.git",
"url": "https://github.com/LaravelCollective/html.git",
"reference": "
623a150c91e2d3f92eeee9f9eda58a841e3cb548
"
"reference": "
b3a10245c791a211e5f8ec37117f4549cd22aabe
"
},
},
"dist": {
"dist": {
"type": "zip",
"type": "zip",
"url": "https://api.github.com/repos/LaravelCollective/html/zipball/
623a150c91e2d3f92eeee9f9eda58a841e3cb548
",
"url": "https://api.github.com/repos/LaravelCollective/html/zipball/
b3a10245c791a211e5f8ec37117f4549cd22aabe
",
"reference": "
623a150c91e2d3f92eeee9f9eda58a841e3cb548
",
"reference": "
b3a10245c791a211e5f8ec37117f4549cd22aabe
",
"shasum": ""
"shasum": ""
},
},
"require": {
"require": {
...
@@ -1753,7 +1754,7 @@
...
@@ -1753,7 +1754,7 @@
],
],
"description": "HTML and Form Builders for the Laravel Framework",
"description": "HTML and Form Builders for the Laravel Framework",
"homepage": "https://laravelcollective.com",
"homepage": "https://laravelcollective.com",
"time": "2018-0
3-16T16:57:31
+00:00"
"time": "2018-0
4-09T14:09:32
+00:00"
},
},
{
{
"name": "lcobucci/jwt",
"name": "lcobucci/jwt",
...
@@ -1815,16 +1816,16 @@
...
@@ -1815,16 +1816,16 @@
},
},
{
{
"name": "league/flysystem",
"name": "league/flysystem",
"version": "1.0.4
3
",
"version": "1.0.4
4
",
"source": {
"source": {
"type": "git",
"type": "git",
"url": "https://github.com/thephpleague/flysystem.git",
"url": "https://github.com/thephpleague/flysystem.git",
"reference": "1
ce7cc142d906ba58dc54c82915d355a9191c8a8
"
"reference": "1
68dbe519737221dc87d17385cde33073881fd02
"
},
},
"dist": {
"dist": {
"type": "zip",
"type": "zip",
"url": "https://api.github.com/repos/thephpleague/flysystem/zipball/1
ce7cc142d906ba58dc54c82915d355a9191c8a8
",
"url": "https://api.github.com/repos/thephpleague/flysystem/zipball/1
68dbe519737221dc87d17385cde33073881fd02
",
"reference": "1
ce7cc142d906ba58dc54c82915d355a9191c8a8
",
"reference": "1
68dbe519737221dc87d17385cde33073881fd02
",
"shasum": ""
"shasum": ""
},
},
"require": {
"require": {
...
@@ -1895,7 +1896,7 @@
...
@@ -1895,7 +1896,7 @@
"sftp",
"sftp",
"storage"
"storage"
],
],
"time": "2018-0
3-01T10:27:0
4+00:00"
"time": "2018-0
4-06T09:58:1
4+00:00"
},
},
{
{
"name": "league/oauth1-client",
"name": "league/oauth1-client",
...
@@ -2156,24 +2157,24 @@
...
@@ -2156,24 +2157,24 @@
},
},
{
{
"name": "nikic/php-parser",
"name": "nikic/php-parser",
"version": "v
3.1.5
",
"version": "v
4.0.1
",
"source": {
"source": {
"type": "git",
"type": "git",
"url": "https://github.com/nikic/PHP-Parser.git",
"url": "https://github.com/nikic/PHP-Parser.git",
"reference": "
bb87e28e7d7b8d9a7fda231d37457c9210faf6ce
"
"reference": "
e4a54fa90a5cd8e8dd3fb4099942681731c5cdd3
"
},
},
"dist": {
"dist": {
"type": "zip",
"type": "zip",
"url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/
bb87e28e7d7b8d9a7fda231d37457c9210faf6ce
",
"url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/
e4a54fa90a5cd8e8dd3fb4099942681731c5cdd3
",
"reference": "
bb87e28e7d7b8d9a7fda231d37457c9210faf6ce
",
"reference": "
e4a54fa90a5cd8e8dd3fb4099942681731c5cdd3
",
"shasum": ""
"shasum": ""
},
},
"require": {
"require": {
"ext-tokenizer": "*",
"ext-tokenizer": "*",
"php": ">=
5.5
"
"php": ">=
7.0
"
},
},
"require-dev": {
"require-dev": {
"phpunit/phpunit": "
~4.0|~5
.0"
"phpunit/phpunit": "
^6.5 || ^7
.0"
},
},
"bin": [
"bin": [
"bin/php-parse"
"bin/php-parse"
...
@@ -2181,7 +2182,7 @@
...
@@ -2181,7 +2182,7 @@
"type": "library",
"type": "library",
"extra": {
"extra": {
"branch-alias": {
"branch-alias": {
"dev-master": "
3
.0-dev"
"dev-master": "
4
.0-dev"
}
}
},
},
"autoload": {
"autoload": {
...
@@ -2203,20 +2204,20 @@
...
@@ -2203,20 +2204,20 @@
"parser",
"parser",
"php"
"php"
],
],
"time": "2018-0
2-28T20:30:58
+00:00"
"time": "2018-0
3-25T17:35:16
+00:00"
},
},
{
{
"name": "paragonie/random_compat",
"name": "paragonie/random_compat",
"version": "v2.0.1
1
",
"version": "v2.0.1
2
",
"source": {
"source": {
"type": "git",
"type": "git",
"url": "https://github.com/paragonie/random_compat.git",
"url": "https://github.com/paragonie/random_compat.git",
"reference": "
5da4d3c796c275c55f057af5a643ae297d96b4d8
"
"reference": "
258c89a6b97de7dfaf5b8c7607d0478e236b04fb
"
},
},
"dist": {
"dist": {
"type": "zip",
"type": "zip",
"url": "https://api.github.com/repos/paragonie/random_compat/zipball/
5da4d3c796c275c55f057af5a643ae297d96b4d8
",
"url": "https://api.github.com/repos/paragonie/random_compat/zipball/
258c89a6b97de7dfaf5b8c7607d0478e236b04fb
",
"reference": "
5da4d3c796c275c55f057af5a643ae297d96b4d8
",
"reference": "
258c89a6b97de7dfaf5b8c7607d0478e236b04fb
",
"shasum": ""
"shasum": ""
},
},
"require": {
"require": {
...
@@ -2251,7 +2252,7 @@
...
@@ -2251,7 +2252,7 @@
"pseudorandom",
"pseudorandom",
"random"
"random"
],
],
"time": "201
7-09-27T21:40:39
+00:00"
"time": "201
8-04-04T21:24:14
+00:00"
},
},
{
{
"name": "psr/container",
"name": "psr/container",
...
@@ -2449,29 +2450,29 @@
...
@@ -2449,29 +2450,29 @@
},
},
{
{
"name": "psy/psysh",
"name": "psy/psysh",
"version": "v0.
8.18
",
"version": "v0.
9.3
",
"source": {
"source": {
"type": "git",
"type": "git",
"url": "https://github.com/bobthecow/psysh.git",
"url": "https://github.com/bobthecow/psysh.git",
"reference": "
5357b1cffc8fb375d6a9e3c86d5c82dd38a4083
4"
"reference": "
79c280013cf0b30fa23f3ba8bd3649218075adf
4"
},
},
"dist": {
"dist": {
"type": "zip",
"type": "zip",
"url": "https://api.github.com/repos/bobthecow/psysh/zipball/
5357b1cffc8fb375d6a9e3c86d5c82dd38a4083
4",
"url": "https://api.github.com/repos/bobthecow/psysh/zipball/
79c280013cf0b30fa23f3ba8bd3649218075adf
4",
"reference": "
5357b1cffc8fb375d6a9e3c86d5c82dd38a4083
4",
"reference": "
79c280013cf0b30fa23f3ba8bd3649218075adf
4",
"shasum": ""
"shasum": ""
},
},
"require": {
"require": {
"dnoegel/php-xdg-base-dir": "0.1",
"dnoegel/php-xdg-base-dir": "0.1",
"jakub-onderka/php-console-highlighter": "0.3.*",
"jakub-onderka/php-console-highlighter": "0.3.*",
"nikic/php-parser": "~1.3|~2.0|~3.0",
"nikic/php-parser": "~1.3|~2.0|~3.0
|~4.0
",
"php": ">=5.
3.9
",
"php": ">=5.
4.0
",
"symfony/console": "~2.3.10|^2.4.2|~3.0|~4.0",
"symfony/console": "~2.3.10|^2.4.2|~3.0|~4.0",
"symfony/var-dumper": "~2.7|~3.0|~4.0"
"symfony/var-dumper": "~2.7|~3.0|~4.0"
},
},
"require-dev": {
"require-dev": {
"hoa/console": "~
3.16|~1.14
",
"hoa/console": "~
2.15|~3.16
",
"phpunit/phpunit": "
^4.8.35|^5.4.3
",
"phpunit/phpunit": "
~4.8.35|~5.0|~6.0|~7.0
",
"symfony/finder": "~2.1|~3.0|~4.0"
"symfony/finder": "~2.1|~3.0|~4.0"
},
},
"suggest": {
"suggest": {
...
@@ -2487,15 +2488,15 @@
...
@@ -2487,15 +2488,15 @@
"type": "library",
"type": "library",
"extra": {
"extra": {
"branch-alias": {
"branch-alias": {
"dev-develop": "0.
8
.x-dev"
"dev-develop": "0.
9
.x-dev"
}
}
},
},
"autoload": {
"autoload": {
"files": [
"files": [
"src/
Psy/
functions.php"
"src/functions.php"
],
],
"psr-4": {
"psr-4": {
"Psy\\": "src/
Psy/
"
"Psy\\": "src/"
}
}
},
},
"notification-url": "https://packagist.org/downloads/",
"notification-url": "https://packagist.org/downloads/",
...
@@ -2517,7 +2518,7 @@
...
@@ -2517,7 +2518,7 @@
"interactive",
"interactive",
"shell"
"shell"
],
],
"time": "2018-04-
02T05:41:44
+00:00"
"time": "2018-04-
18T12:32:50
+00:00"
},
},
{
{
"name": "ramsey/uuid",
"name": "ramsey/uuid",
...
@@ -2715,7 +2716,7 @@
...
@@ -2715,7 +2716,7 @@
},
},
{
{
"name": "symfony/console",
"name": "symfony/console",
"version": "v4.0.
7
",
"version": "v4.0.
8
",
"source": {
"source": {
"type": "git",
"type": "git",
"url": "https://github.com/symfony/console.git",
"url": "https://github.com/symfony/console.git",
...
@@ -2783,7 +2784,7 @@
...
@@ -2783,7 +2784,7 @@
},
},
{
{
"name": "symfony/css-selector",
"name": "symfony/css-selector",
"version": "v4.0.
7
",
"version": "v4.0.
8
",
"source": {
"source": {
"type": "git",
"type": "git",
"url": "https://github.com/symfony/css-selector.git",
"url": "https://github.com/symfony/css-selector.git",
...
@@ -2836,7 +2837,7 @@
...
@@ -2836,7 +2837,7 @@
},
},
{
{
"name": "symfony/debug",
"name": "symfony/debug",
"version": "v4.0.
7
",
"version": "v4.0.
8
",
"source": {
"source": {
"type": "git",
"type": "git",
"url": "https://github.com/symfony/debug.git",
"url": "https://github.com/symfony/debug.git",
...
@@ -2892,16 +2893,16 @@
...
@@ -2892,16 +2893,16 @@
},
},
{
{
"name": "symfony/event-dispatcher",
"name": "symfony/event-dispatcher",
"version": "v4.0.
7
",
"version": "v4.0.
8
",
"source": {
"source": {
"type": "git",
"type": "git",
"url": "https://github.com/symfony/event-dispatcher.git",
"url": "https://github.com/symfony/event-dispatcher.git",
"reference": "
85eaf6a8ec915487abac52e133efc4a268204428
"
"reference": "
63353a71073faf08f62caab4e6889b06a787f07b
"
},
},
"dist": {
"dist": {
"type": "zip",
"type": "zip",
"url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/
85eaf6a8ec915487abac52e133efc4a268204428
",
"url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/
63353a71073faf08f62caab4e6889b06a787f07b
",
"reference": "
85eaf6a8ec915487abac52e133efc4a268204428
",
"reference": "
63353a71073faf08f62caab4e6889b06a787f07b
",
"shasum": ""
"shasum": ""
},
},
"require": {
"require": {
...
@@ -2951,20 +2952,20 @@
...
@@ -2951,20 +2952,20 @@
],
],
"description": "Symfony EventDispatcher Component",
"description": "Symfony EventDispatcher Component",
"homepage": "https://symfony.com",
"homepage": "https://symfony.com",
"time": "2018-0
2-14T14:11:10
+00:00"
"time": "2018-0
4-06T07:35:43
+00:00"
},
},
{
{
"name": "symfony/finder",
"name": "symfony/finder",
"version": "v4.0.
7
",
"version": "v4.0.
8
",
"source": {
"source": {
"type": "git",
"type": "git",
"url": "https://github.com/symfony/finder.git",
"url": "https://github.com/symfony/finder.git",
"reference": "c
72995d9f5999b3fcdd8660c0c9690243252e1e1
"
"reference": "c
a27c02b7a3fef4828c998c2ff9ba7aae1641c49
"
},
},
"dist": {
"dist": {
"type": "zip",
"type": "zip",
"url": "https://api.github.com/repos/symfony/finder/zipball/c
72995d9f5999b3fcdd8660c0c9690243252e1e1
",
"url": "https://api.github.com/repos/symfony/finder/zipball/c
a27c02b7a3fef4828c998c2ff9ba7aae1641c49
",
"reference": "c
72995d9f5999b3fcdd8660c0c9690243252e1e1
",
"reference": "c
a27c02b7a3fef4828c998c2ff9ba7aae1641c49
",
"shasum": ""
"shasum": ""
},
},
"require": {
"require": {
...
@@ -3000,11 +3001,11 @@
...
@@ -3000,11 +3001,11 @@
],
],
"description": "Symfony Finder Component",
"description": "Symfony Finder Component",
"homepage": "https://symfony.com",
"homepage": "https://symfony.com",
"time": "2018-04-0
2T09:52:41
+00:00"
"time": "2018-04-0
4T05:10:37
+00:00"
},
},
{
{
"name": "symfony/http-foundation",
"name": "symfony/http-foundation",
"version": "v4.0.
7
",
"version": "v4.0.
8
",
"source": {
"source": {
"type": "git",
"type": "git",
"url": "https://github.com/symfony/http-foundation.git",
"url": "https://github.com/symfony/http-foundation.git",
...
@@ -3057,16 +3058,16 @@
...
@@ -3057,16 +3058,16 @@
},
},
{
{
"name": "symfony/http-kernel",
"name": "symfony/http-kernel",
"version": "v4.0.
7
",
"version": "v4.0.
8
",
"source": {
"source": {
"type": "git",
"type": "git",
"url": "https://github.com/symfony/http-kernel.git",
"url": "https://github.com/symfony/http-kernel.git",
"reference": "
38337d03a554a2b0e9f553d368723692b7c04a8f
"
"reference": "
6dd620d96d64456075536ffe3c6c4658dd689021
"
},
},
"dist": {
"dist": {
"type": "zip",
"type": "zip",
"url": "https://api.github.com/repos/symfony/http-kernel/zipball/
38337d03a554a2b0e9f553d368723692b7c04a8f
",
"url": "https://api.github.com/repos/symfony/http-kernel/zipball/
6dd620d96d64456075536ffe3c6c4658dd689021
",
"reference": "
38337d03a554a2b0e9f553d368723692b7c04a8f
",
"reference": "
6dd620d96d64456075536ffe3c6c4658dd689021
",
"shasum": ""
"shasum": ""
},
},
"require": {
"require": {
...
@@ -3139,7 +3140,7 @@
...
@@ -3139,7 +3140,7 @@
],
],
"description": "Symfony HttpKernel Component",
"description": "Symfony HttpKernel Component",
"homepage": "https://symfony.com",
"homepage": "https://symfony.com",
"time": "2018-04-0
3T06:20:3
3+00:00"
"time": "2018-04-0
6T16:25:0
3+00:00"
},
},
{
{
"name": "symfony/polyfill-mbstring",
"name": "symfony/polyfill-mbstring",
...
@@ -3365,7 +3366,7 @@
...
@@ -3365,7 +3366,7 @@
},
},
{
{
"name": "symfony/process",
"name": "symfony/process",
"version": "v4.0.
7
",
"version": "v4.0.
8
",
"source": {
"source": {
"type": "git",
"type": "git",
"url": "https://github.com/symfony/process.git",
"url": "https://github.com/symfony/process.git",
...
@@ -3414,16 +3415,16 @@
...
@@ -3414,16 +3415,16 @@
},
},
{
{
"name": "symfony/routing",
"name": "symfony/routing",
"version": "v4.0.
7
",
"version": "v4.0.
8
",
"source": {
"source": {
"type": "git",
"type": "git",
"url": "https://github.com/symfony/routing.git",
"url": "https://github.com/symfony/routing.git",
"reference": "
ca780c838046bfef4a6fd50284ae71a5d1f1a8b2
"
"reference": "
0663036dd57dbfd4e9ff29f75bbd5dd3253ebe71
"
},
},
"dist": {
"dist": {
"type": "zip",
"type": "zip",
"url": "https://api.github.com/repos/symfony/routing/zipball/
ca780c838046bfef4a6fd50284ae71a5d1f1a8b2
",
"url": "https://api.github.com/repos/symfony/routing/zipball/
0663036dd57dbfd4e9ff29f75bbd5dd3253ebe71
",
"reference": "
ca780c838046bfef4a6fd50284ae71a5d1f1a8b2
",
"reference": "
0663036dd57dbfd4e9ff29f75bbd5dd3253ebe71
",
"shasum": ""
"shasum": ""
},
},
"require": {
"require": {
...
@@ -3488,11 +3489,11 @@
...
@@ -3488,11 +3489,11 @@
"uri",
"uri",
"url"
"url"
],
],
"time": "2018-04-0
2T09:52:41
+00:00"
"time": "2018-04-0
4T13:50:32
+00:00"
},
},
{
{
"name": "symfony/translation",
"name": "symfony/translation",
"version": "v4.0.
7
",
"version": "v4.0.
8
",
"source": {
"source": {
"type": "git",
"type": "git",
"url": "https://github.com/symfony/translation.git",
"url": "https://github.com/symfony/translation.git",
...
@@ -3560,16 +3561,16 @@
...
@@ -3560,16 +3561,16 @@
},
},
{
{
"name": "symfony/var-dumper",
"name": "symfony/var-dumper",
"version": "v4.0.
7
",
"version": "v4.0.
8
",
"source": {
"source": {
"type": "git",
"type": "git",
"url": "https://github.com/symfony/var-dumper.git",
"url": "https://github.com/symfony/var-dumper.git",
"reference": "
f9b257f2009c7f09166bcfd3d3d96455741ed371
"
"reference": "
e1b4d008100f4d203cc38b0d793ad6252d8d8af0
"
},
},
"dist": {
"dist": {
"type": "zip",
"type": "zip",
"url": "https://api.github.com/repos/symfony/var-dumper/zipball/
f9b257f2009c7f09166bcfd3d3d96455741ed371
",
"url": "https://api.github.com/repos/symfony/var-dumper/zipball/
e1b4d008100f4d203cc38b0d793ad6252d8d8af0
",
"reference": "
f9b257f2009c7f09166bcfd3d3d96455741ed371
",
"reference": "
e1b4d008100f4d203cc38b0d793ad6252d8d8af0
",
"shasum": ""
"shasum": ""
},
},
"require": {
"require": {
...
@@ -3625,7 +3626,7 @@
...
@@ -3625,7 +3626,7 @@
"debug",
"debug",
"dump"
"dump"
],
],
"time": "2018-04-0
3T05:24:00
+00:00"
"time": "2018-04-0
4T05:10:37
+00:00"
},
},
{
{
"name": "tijsverkoyen/css-to-inline-styles",
"name": "tijsverkoyen/css-to-inline-styles",
...
@@ -3875,16 +3876,16 @@
...
@@ -3875,16 +3876,16 @@
},
},
{
{
"name": "yajra/laravel-datatables-oracle",
"name": "yajra/laravel-datatables-oracle",
"version": "v8.4.
2
",
"version": "v8.4.
3
",
"source": {
"source": {
"type": "git",
"type": "git",
"url": "https://github.com/yajra/laravel-datatables.git",
"url": "https://github.com/yajra/laravel-datatables.git",
"reference": "
eab6cc583ae778d056c5caf21b70db803d956e14
"
"reference": "
9a87175e5ca02627aec98ec767fce5f5cbc98177
"
},
},
"dist": {
"dist": {
"type": "zip",
"type": "zip",
"url": "https://api.github.com/repos/yajra/laravel-datatables/zipball/
eab6cc583ae778d056c5caf21b70db803d956e14
",
"url": "https://api.github.com/repos/yajra/laravel-datatables/zipball/
9a87175e5ca02627aec98ec767fce5f5cbc98177
",
"reference": "
eab6cc583ae778d056c5caf21b70db803d956e14
",
"reference": "
9a87175e5ca02627aec98ec767fce5f5cbc98177
",
"shasum": ""
"shasum": ""
},
},
"require": {
"require": {
...
@@ -3942,7 +3943,7 @@
...
@@ -3942,7 +3943,7 @@
"jquery",
"jquery",
"laravel"
"laravel"
],
],
"time": "2018-0
3-28T16:31:13
+00:00"
"time": "2018-0
4-05T14:51:57
+00:00"
}
}
],
],
"packages-dev": [
"packages-dev": [
...
@@ -4016,16 +4017,16 @@
...
@@ -4016,16 +4017,16 @@
},
},
{
{
"name": "bvipul/generator",
"name": "bvipul/generator",
"version": "
0.9.3
",
"version": "
dev-master
",
"source": {
"source": {
"type": "git",
"type": "git",
"url": "https://github.com/bvipul/generator.git",
"url": "https://github.com/bvipul/generator.git",
"reference": "
9aa7d1aa9c2c748fa3890ab25628ea2cd7042103
"
"reference": "
18b79a924aa40ee0c199c0cd65a454db1be55d42
"
},
},
"dist": {
"dist": {
"type": "zip",
"type": "zip",
"url": "https://api.github.com/repos/bvipul/generator/zipball/
9aa7d1aa9c2c748fa3890ab25628ea2cd7042103
",
"url": "https://api.github.com/repos/bvipul/generator/zipball/
18b79a924aa40ee0c199c0cd65a454db1be55d42
",
"reference": "
9aa7d1aa9c2c748fa3890ab25628ea2cd7042103
",
"reference": "
18b79a924aa40ee0c199c0cd65a454db1be55d42
",
"shasum": ""
"shasum": ""
},
},
"type": "package",
"type": "package",
...
@@ -4045,7 +4046,7 @@
...
@@ -4045,7 +4046,7 @@
}
}
],
],
"description": "To create a whole module with all related files like model, controller, repository, routes, views etc with a simple GUI.",
"description": "To create a whole module with all related files like model, controller, repository, routes, views etc with a simple GUI.",
"time": "201
7-12-16T18:48:20
+00:00"
"time": "201
8-04-13T17:56:21
+00:00"
},
},
{
{
"name": "codedungeon/phpunit-result-printer",
"name": "codedungeon/phpunit-result-printer",
...
@@ -4838,23 +4839,23 @@
...
@@ -4838,23 +4839,23 @@
},
},
{
{
"name": "phpspec/prophecy",
"name": "phpspec/prophecy",
"version": "1.7.
5
",
"version": "1.7.
6
",
"source": {
"source": {
"type": "git",
"type": "git",
"url": "https://github.com/phpspec/prophecy.git",
"url": "https://github.com/phpspec/prophecy.git",
"reference": "
dfd6be44111a7c41c2e884a336cc4f461b3b2401
"
"reference": "
33a7e3c4fda54e912ff6338c48823bd5c0f0b712
"
},
},
"dist": {
"dist": {
"type": "zip",
"type": "zip",
"url": "https://api.github.com/repos/phpspec/prophecy/zipball/
dfd6be44111a7c41c2e884a336cc4f461b3b2401
",
"url": "https://api.github.com/repos/phpspec/prophecy/zipball/
33a7e3c4fda54e912ff6338c48823bd5c0f0b712
",
"reference": "
dfd6be44111a7c41c2e884a336cc4f461b3b2401
",
"reference": "
33a7e3c4fda54e912ff6338c48823bd5c0f0b712
",
"shasum": ""
"shasum": ""
},
},
"require": {
"require": {
"doctrine/instantiator": "^1.0.2",
"doctrine/instantiator": "^1.0.2",
"php": "^5.3|^7.0",
"php": "^5.3|^7.0",
"phpdocumentor/reflection-docblock": "^2.0|^3.0.2|^4.0",
"phpdocumentor/reflection-docblock": "^2.0|^3.0.2|^4.0",
"sebastian/comparator": "^1.1|^2.0",
"sebastian/comparator": "^1.1|^2.0
|^3.0
",
"sebastian/recursion-context": "^1.0|^2.0|^3.0"
"sebastian/recursion-context": "^1.0|^2.0|^3.0"
},
},
"require-dev": {
"require-dev": {
...
@@ -4897,20 +4898,20 @@
...
@@ -4897,20 +4898,20 @@
"spy",
"spy",
"stub"
"stub"
],
],
"time": "2018-0
2-19T10:16:5
4+00:00"
"time": "2018-0
4-18T13:57:2
4+00:00"
},
},
{
{
"name": "phpunit/php-code-coverage",
"name": "phpunit/php-code-coverage",
"version": "6.0.
1
",
"version": "6.0.
3
",
"source": {
"source": {
"type": "git",
"type": "git",
"url": "https://github.com/sebastianbergmann/php-code-coverage.git",
"url": "https://github.com/sebastianbergmann/php-code-coverage.git",
"reference": "
f8ca4b604baf23dab89d87773c28cc07405189ba
"
"reference": "
774a82c0c5da4c1c7701790c262035d235ab7856
"
},
},
"dist": {
"dist": {
"type": "zip",
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/
f8ca4b604baf23dab89d87773c28cc07405189ba
",
"url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/
774a82c0c5da4c1c7701790c262035d235ab7856
",
"reference": "
f8ca4b604baf23dab89d87773c28cc07405189ba
",
"reference": "
774a82c0c5da4c1c7701790c262035d235ab7856
",
"shasum": ""
"shasum": ""
},
},
"require": {
"require": {
...
@@ -4921,7 +4922,7 @@
...
@@ -4921,7 +4922,7 @@
"phpunit/php-text-template": "^1.2.1",
"phpunit/php-text-template": "^1.2.1",
"phpunit/php-token-stream": "^3.0",
"phpunit/php-token-stream": "^3.0",
"sebastian/code-unit-reverse-lookup": "^1.0.1",
"sebastian/code-unit-reverse-lookup": "^1.0.1",
"sebastian/environment": "^3.
0
",
"sebastian/environment": "^3.
1
",
"sebastian/version": "^2.0.1",
"sebastian/version": "^2.0.1",
"theseer/tokenizer": "^1.1"
"theseer/tokenizer": "^1.1"
},
},
...
@@ -4960,7 +4961,7 @@
...
@@ -4960,7 +4961,7 @@
"testing",
"testing",
"xunit"
"xunit"
],
],
"time": "2018-0
2-02T07:01:41
+00:00"
"time": "2018-0
4-06T15:39:20
+00:00"
},
},
{
{
"name": "phpunit/php-file-iterator",
"name": "phpunit/php-file-iterator",
...
@@ -5150,16 +5151,16 @@
...
@@ -5150,16 +5151,16 @@
},
},
{
{
"name": "phpunit/phpunit",
"name": "phpunit/phpunit",
"version": "7.
0.3
",
"version": "7.
1.4
",
"source": {
"source": {
"type": "git",
"type": "git",
"url": "https://github.com/sebastianbergmann/phpunit.git",
"url": "https://github.com/sebastianbergmann/phpunit.git",
"reference": "
536f4d853c12d8189963435088e8ff7c0daeab2e
"
"reference": "
6d51299e307dc510149e0b7cd1931dd11770e1cb
"
},
},
"dist": {
"dist": {
"type": "zip",
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/
536f4d853c12d8189963435088e8ff7c0daeab2e
",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/
6d51299e307dc510149e0b7cd1931dd11770e1cb
",
"reference": "
536f4d853c12d8189963435088e8ff7c0daeab2e
",
"reference": "
6d51299e307dc510149e0b7cd1931dd11770e1cb
",
"shasum": ""
"shasum": ""
},
},
"require": {
"require": {
...
@@ -5177,8 +5178,8 @@
...
@@ -5177,8 +5178,8 @@
"phpunit/php-file-iterator": "^1.4.3",
"phpunit/php-file-iterator": "^1.4.3",
"phpunit/php-text-template": "^1.2.1",
"phpunit/php-text-template": "^1.2.1",
"phpunit/php-timer": "^2.0",
"phpunit/php-timer": "^2.0",
"phpunit/phpunit-mock-objects": "^6.
0
",
"phpunit/phpunit-mock-objects": "^6.
1.1
",
"sebastian/comparator": "^2.1",
"sebastian/comparator": "^2.1
|| ^3.0
",
"sebastian/diff": "^3.0",
"sebastian/diff": "^3.0",
"sebastian/environment": "^3.1",
"sebastian/environment": "^3.1",
"sebastian/exporter": "^3.1",
"sebastian/exporter": "^3.1",
...
@@ -5200,7 +5201,7 @@
...
@@ -5200,7 +5201,7 @@
"type": "library",
"type": "library",
"extra": {
"extra": {
"branch-alias": {
"branch-alias": {
"dev-master": "7.
0
-dev"
"dev-master": "7.
1
-dev"
}
}
},
},
"autoload": {
"autoload": {
...
@@ -5226,20 +5227,20 @@
...
@@ -5226,20 +5227,20 @@
"testing",
"testing",
"xunit"
"xunit"
],
],
"time": "2018-0
3-26T07:36:48
+00:00"
"time": "2018-0
4-18T13:41:53
+00:00"
},
},
{
{
"name": "phpunit/phpunit-mock-objects",
"name": "phpunit/phpunit-mock-objects",
"version": "6.
0
.1",
"version": "6.
1
.1",
"source": {
"source": {
"type": "git",
"type": "git",
"url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git",
"url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git",
"reference": "
e3249dedc2d99259ccae6affbc2684eac37c2e53
"
"reference": "
70c740bde8fd9ea9ea295be1cd875dd7b267e157
"
},
},
"dist": {
"dist": {
"type": "zip",
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/
e3249dedc2d99259ccae6affbc2684eac37c2e53
",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/
70c740bde8fd9ea9ea295be1cd875dd7b267e157
",
"reference": "
e3249dedc2d99259ccae6affbc2684eac37c2e53
",
"reference": "
70c740bde8fd9ea9ea295be1cd875dd7b267e157
",
"shasum": ""
"shasum": ""
},
},
"require": {
"require": {
...
@@ -5257,7 +5258,7 @@
...
@@ -5257,7 +5258,7 @@
"type": "library",
"type": "library",
"extra": {
"extra": {
"branch-alias": {
"branch-alias": {
"dev-master": "6.
0.x
-dev"
"dev-master": "6.
1
-dev"
}
}
},
},
"autoload": {
"autoload": {
...
@@ -5282,7 +5283,7 @@
...
@@ -5282,7 +5283,7 @@
"mock",
"mock",
"xunit"
"xunit"
],
],
"time": "2018-0
2-15T05:27:38
+00:00"
"time": "2018-0
4-11T04:50:36
+00:00"
},
},
{
{
"name": "sebastian/code-unit-reverse-lookup",
"name": "sebastian/code-unit-reverse-lookup",
...
@@ -5331,30 +5332,30 @@
...
@@ -5331,30 +5332,30 @@
},
},
{
{
"name": "sebastian/comparator",
"name": "sebastian/comparator",
"version": "
2.1.3
",
"version": "
3.0.0
",
"source": {
"source": {
"type": "git",
"type": "git",
"url": "https://github.com/sebastianbergmann/comparator.git",
"url": "https://github.com/sebastianbergmann/comparator.git",
"reference": "
34369daee48eafb2651bea869b4b15d75ccc35f9
"
"reference": "
ed5fd2281113729f1ebcc64d101ad66028aeb3d5
"
},
},
"dist": {
"dist": {
"type": "zip",
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/
34369daee48eafb2651bea869b4b15d75ccc35f9
",
"url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/
ed5fd2281113729f1ebcc64d101ad66028aeb3d5
",
"reference": "
34369daee48eafb2651bea869b4b15d75ccc35f9
",
"reference": "
ed5fd2281113729f1ebcc64d101ad66028aeb3d5
",
"shasum": ""
"shasum": ""
},
},
"require": {
"require": {
"php": "^7.
0
",
"php": "^7.
1
",
"sebastian/diff": "^
2.0 || ^
3.0",
"sebastian/diff": "^3.0",
"sebastian/exporter": "^3.1"
"sebastian/exporter": "^3.1"
},
},
"require-dev": {
"require-dev": {
"phpunit/phpunit": "^
6.4
"
"phpunit/phpunit": "^
7.1
"
},
},
"type": "library",
"type": "library",
"extra": {
"extra": {
"branch-alias": {
"branch-alias": {
"dev-master": "
2.1.x
-dev"
"dev-master": "
3.0
-dev"
}
}
},
},
"autoload": {
"autoload": {
...
@@ -5391,7 +5392,7 @@
...
@@ -5391,7 +5392,7 @@
"compare",
"compare",
"equality"
"equality"
],
],
"time": "2018-0
2-01T13:46:46
+00:00"
"time": "2018-0
4-18T13:33:00
+00:00"
},
},
{
{
"name": "sebastian/diff",
"name": "sebastian/diff",
...
@@ -5849,7 +5850,7 @@
...
@@ -5849,7 +5850,7 @@
},
},
{
{
"name": "symfony/dom-crawler",
"name": "symfony/dom-crawler",
"version": "v4.0.
7
",
"version": "v4.0.
8
",
"source": {
"source": {
"type": "git",
"type": "git",
"url": "https://github.com/symfony/dom-crawler.git",
"url": "https://github.com/symfony/dom-crawler.git",
...
@@ -5905,7 +5906,7 @@
...
@@ -5905,7 +5906,7 @@
},
},
{
{
"name": "symfony/yaml",
"name": "symfony/yaml",
"version": "v4.0.
7
",
"version": "v4.0.
8
",
"source": {
"source": {
"type": "git",
"type": "git",
"url": "https://github.com/symfony/yaml.git",
"url": "https://github.com/symfony/yaml.git",
...
@@ -6161,7 +6162,8 @@
...
@@ -6161,7 +6162,8 @@
"aliases": [],
"aliases": [],
"minimum-stability": "stable",
"minimum-stability": "stable",
"stability-flags": {
"stability-flags": {
"tymon/jwt-auth": 20
"tymon/jwt-auth": 20,
"bvipul/generator": 20
},
},
"prefer-stable": false,
"prefer-stable": false,
"prefer-lowest": false,
"prefer-lowest": false,
...
...
resources/assets/js/backend/app.js
View file @
f2cd486f
...
@@ -26,7 +26,7 @@ require('../bootstrap');
...
@@ -26,7 +26,7 @@ require('../bootstrap');
//Make sure jQuery has been loaded before app.js
//Make sure jQuery has been loaded before app.js
if
(
typeof
jQuery
===
'
undefined
'
)
{
if
(
typeof
jQuery
===
'
undefined
'
)
{
throw
new
Error
(
'
AdminLTE requires jQuery
'
);
throw
new
Error
(
'
AdminLTE requires jQuery
'
);
}
}
/* AdminLTE
/* AdminLTE
...
@@ -46,101 +46,101 @@ $.AdminLTE = {};
...
@@ -46,101 +46,101 @@ $.AdminLTE = {};
* Modify these options to suit your implementation
* Modify these options to suit your implementation
*/
*/
$
.
AdminLTE
.
options
=
{
$
.
AdminLTE
.
options
=
{
//Add slimscroll to navbar menus
//Add slimscroll to navbar menus
//This requires you to load the slimscroll plugin
//This requires you to load the slimscroll plugin
//in every page before app.js
//in every page before app.js
navbarMenuSlimscroll
:
true
,
navbarMenuSlimscroll
:
true
,
navbarMenuSlimscrollWidth
:
'
3px
'
,
//The width of the scroll bar
navbarMenuSlimscrollWidth
:
'
3px
'
,
//The width of the scroll bar
navbarMenuHeight
:
'
200px
'
,
//The height of the inner menu
navbarMenuHeight
:
'
200px
'
,
//The height of the inner menu
//General animation speed for JS animated elements such as box collapse/expand and
//General animation speed for JS animated elements such as box collapse/expand and
//sidebar treeview slide up/down. This options accepts an integer as milliseconds,
//sidebar treeview slide up/down. This options accepts an integer as milliseconds,
//'fast', 'normal', or 'slow'
//'fast', 'normal', or 'slow'
animationSpeed
:
500
,
animationSpeed
:
500
,
//Sidebar push menu toggle button selector
//Sidebar push menu toggle button selector
sidebarToggleSelector
:
'
[data-toggle="offcanvas"]
'
,
sidebarToggleSelector
:
'
[data-toggle="offcanvas"]
'
,
//Activate sidebar push menu
//Activate sidebar push menu
sidebarPushMenu
:
true
,
sidebarPushMenu
:
true
,
//Activate sidebar slimscroll if the fixed layout is set (requires SlimScroll Plugin)
//Activate sidebar slimscroll if the fixed layout is set (requires SlimScroll Plugin)
sidebarSlimScroll
:
true
,
sidebarSlimScroll
:
true
,
//Enable sidebar expand on hover effect for sidebar mini
//Enable sidebar expand on hover effect for sidebar mini
//This option is forced to true if both the fixed layout and sidebar mini
//This option is forced to true if both the fixed layout and sidebar mini
//are used together
//are used together
sidebarExpandOnHover
:
false
,
sidebarExpandOnHover
:
false
,
//BoxRefresh Plugin
//BoxRefresh Plugin
enableBoxRefresh
:
true
,
enableBoxRefresh
:
true
,
//Bootstrap.js tooltip
//Bootstrap.js tooltip
enableBSToppltip
:
true
,
enableBSToppltip
:
true
,
BSTooltipSelector
:
'
[data-toggle="tooltip"]
'
,
BSTooltipSelector
:
'
[data-toggle="tooltip"]
'
,
//Enable Fast Click. Fastclick.js creates a more
//Enable Fast Click. Fastclick.js creates a more
//native touch experience with touch devices. If you
//native touch experience with touch devices. If you
//choose to enable the plugin, make sure you load the script
//choose to enable the plugin, make sure you load the script
//before AdminLTE's app.js
//before AdminLTE's app.js
enableFastclick
:
true
,
enableFastclick
:
true
,
//Control Sidebar Options
//Control Sidebar Options
enableControlSidebar
:
true
,
enableControlSidebar
:
true
,
controlSidebarOptions
:
{
controlSidebarOptions
:
{
//Which button should trigger the open/close event
//Which button should trigger the open/close event
toggleBtnSelector
:
'
[data-toggle="control-sidebar"]
'
,
toggleBtnSelector
:
'
[data-toggle="control-sidebar"]
'
,
//The sidebar selector
//The sidebar selector
selector
:
'
.control-sidebar
'
,
selector
:
'
.control-sidebar
'
,
//Enable slide over content
//Enable slide over content
slide
:
true
slide
:
true
},
//Box Widget Plugin. Enable this plugin
//to allow boxes to be collapsed and/or removed
enableBoxWidget
:
true
,
//Box Widget plugin options
boxWidgetOptions
:
{
boxWidgetIcons
:
{
//Collapse icon
collapse
:
'
fa-minus
'
,
//Open icon
open
:
'
fa-plus
'
,
//Remove icon
remove
:
'
fa-times
'
},
},
//Box Widget Plugin. Enable this plugin
boxWidgetSelectors
:
{
//to allow boxes to be collapsed and/or removed
//Remove button selector
enableBoxWidget
:
true
,
remove
:
'
[data-widget="remove"]
'
,
//Box Widget plugin options
//Collapse button selector
boxWidgetOptions
:
{
collapse
:
'
[data-widget="collapse"]
'
boxWidgetIcons
:
{
//Collapse icon
collapse
:
'
fa-minus
'
,
//Open icon
open
:
'
fa-plus
'
,
//Remove icon
remove
:
'
fa-times
'
},
boxWidgetSelectors
:
{
//Remove button selector
remove
:
'
[data-widget="remove"]
'
,
//Collapse button selector
collapse
:
'
[data-widget="collapse"]
'
}
},
//Direct Chat plugin options
directChat
:
{
//Enable direct chat by default
enable
:
true
,
//The button to open and close the chat contacts pane
contactToggleSelector
:
'
[data-widget="chat-pane-toggle"]
'
},
//Define the set of colors to use globally around the website
colors
:
{
lightBlue
:
'
#3c8dbc
'
,
red
:
'
#f56954
'
,
green
:
'
#00a65a
'
,
aqua
:
'
#00c0ef
'
,
yellow
:
'
#f39c12
'
,
blue
:
'
#0073b7
'
,
navy
:
'
#001F3F
'
,
teal
:
'
#39CCCC
'
,
olive
:
'
#3D9970
'
,
lime
:
'
#01FF70
'
,
orange
:
'
#FF851B
'
,
fuchsia
:
'
#F012BE
'
,
purple
:
'
#8E24AA
'
,
maroon
:
'
#D81B60
'
,
black
:
'
#222222
'
,
gray
:
'
#d2d6de
'
},
//The standard screen sizes that bootstrap uses.
//If you change these in the variables.less file, change
//them here too.
screenSizes
:
{
xs
:
480
,
sm
:
768
,
md
:
992
,
lg
:
1200
}
}
},
//Direct Chat plugin options
directChat
:
{
//Enable direct chat by default
enable
:
true
,
//The button to open and close the chat contacts pane
contactToggleSelector
:
'
[data-widget="chat-pane-toggle"]
'
},
//Define the set of colors to use globally around the website
colors
:
{
lightBlue
:
'
#3c8dbc
'
,
red
:
'
#f56954
'
,
green
:
'
#00a65a
'
,
aqua
:
'
#00c0ef
'
,
yellow
:
'
#f39c12
'
,
blue
:
'
#0073b7
'
,
navy
:
'
#001F3F
'
,
teal
:
'
#39CCCC
'
,
olive
:
'
#3D9970
'
,
lime
:
'
#01FF70
'
,
orange
:
'
#FF851B
'
,
fuchsia
:
'
#F012BE
'
,
purple
:
'
#8E24AA
'
,
maroon
:
'
#D81B60
'
,
black
:
'
#222222
'
,
gray
:
'
#d2d6de
'
},
//The standard screen sizes that bootstrap uses.
//If you change these in the variables.less file, change
//them here too.
screenSizes
:
{
xs
:
480
,
sm
:
768
,
md
:
992
,
lg
:
1200
}
};
};
/* ------------------
/* ------------------
...
@@ -150,448 +150,452 @@ $.AdminLTE.options = {
...
@@ -150,448 +150,452 @@ $.AdminLTE.options = {
* functions and plugins as specified by the
* functions and plugins as specified by the
* options above.
* options above.
*/
*/
$
(
function
()
{
$
(
function
()
{
//Extend options if external options exist
//Extend options if external options exist
if
(
typeof
AdminLTEOptions
!==
'
undefined
'
)
{
if
(
typeof
AdminLTEOptions
!==
'
undefined
'
)
{
$
.
extend
(
true
,
$
.
extend
(
true
,
$
.
AdminLTE
.
options
,
$
.
AdminLTE
.
options
,
AdminLTEOptions
);
AdminLTEOptions
);
}
}
//Easy access to options
//Easy access to options
var
o
=
$
.
AdminLTE
.
options
;
var
o
=
$
.
AdminLTE
.
options
;
//Set up the object
//Set up the object
_init
();
_init
();
//Activate the layout maker
$
.
AdminLTE
.
layout
.
activate
();
//Enable sidebar tree view controls
$
.
AdminLTE
.
tree
(
'
.sidebar
'
);
//Enable control sidebar
if
(
o
.
enableControlSidebar
)
{
$
.
AdminLTE
.
controlSidebar
.
activate
();
}
//Add slimscroll to navbar dropdown
if
(
o
.
navbarMenuSlimscroll
&&
typeof
$
.
fn
.
slimscroll
!==
'
undefined
'
)
{
$
(
'
.navbar .menu
'
).
slimscroll
({
height
:
o
.
navbarMenuHeight
,
alwaysVisible
:
false
,
size
:
o
.
navbarMenuSlimscrollWidth
}).
css
(
'
width
'
,
'
100%
'
);
}
//Activate sidebar push menu
if
(
o
.
sidebarPushMenu
)
{
$
.
AdminLTE
.
pushMenu
.
activate
(
o
.
sidebarToggleSelector
);
}
//Activate Bootstrap tooltip
if
(
o
.
enableBSToppltip
)
{
$
(
'
body
'
).
tooltip
({
selector
:
o
.
BSTooltipSelector
});
}
//Activate box widget
if
(
o
.
enableBoxWidget
)
{
$
.
AdminLTE
.
boxWidget
.
activate
();
}
//Activate fast click
if
(
o
.
enableFastclick
&&
typeof
FastClick
!==
'
undefined
'
)
{
FastClick
.
attach
(
document
.
body
);
}
//Activate direct chat widget
if
(
o
.
directChat
.
enable
)
{
$
(
o
.
directChat
.
contactToggleSelector
).
on
(
'
click
'
,
function
()
{
var
box
=
$
(
this
).
parents
(
'
.direct-chat
'
).
first
();
box
.
toggleClass
(
'
direct-chat-contacts-open
'
);
});
}
/*
* INITIALIZE BUTTON TOGGLE
* ------------------------
*/
$
(
'
.btn-group[data-toggle="btn-toggle"]
'
).
each
(
function
()
{
var
group
=
$
(
this
);
$
(
this
).
find
(
'
.btn
'
).
on
(
'
click
'
,
function
(
e
)
{
group
.
find
(
'
.btn.active
'
).
removeClass
(
'
active
'
);
$
(
this
).
addClass
(
'
active
'
);
e
.
preventDefault
();
});
//Activate the layout maker
});
$
.
AdminLTE
.
layout
.
activate
(
);
}
);
//Enable sidebar tree view controls
/* ----------------------------------
$
.
AdminLTE
.
tree
(
'
.sidebar
'
);
* - Initialize the AdminLTE Object -
* ----------------------------------
* All AdminLTE functions are implemented below.
*/
function
_init
()
{
//Enable control sidebar
/* Layout
if
(
o
.
enableControlSidebar
)
{
* ======
$
.
AdminLTE
.
controlSidebar
.
activate
();
* Fixes the layout height in case min-height fails.
}
*
* @type Object
* @usage $.AdminLTE.layout.activate()
* $.AdminLTE.layout.fix()
* $.AdminLTE.layout.fixSidebar()
*/
$
.
AdminLTE
.
layout
=
{
activate
:
function
()
{
var
_this
=
this
;
_this
.
fix
();
_this
.
fixSidebar
();
$
(
window
,
'
.wrapper
'
).
resize
(
function
()
{
_this
.
fix
();
_this
.
fixSidebar
();
});
},
fix
:
function
()
{
//Get window height and the wrapper height
var
neg
=
$
(
'
.main-header
'
).
outerHeight
()
+
$
(
'
.main-footer
'
).
outerHeight
();
var
windowHeight
=
$
(
window
).
height
();
var
sidebarHeight
=
$
(
'
.sidebar
'
).
height
();
//Set the min-height of the content and sidebar based on the
//the height of the document.
if
(
$
(
'
body
'
).
hasClass
(
'
fixed
'
))
{
$
(
'
.content-wrapper, .right-side
'
).
css
(
'
min-height
'
,
windowHeight
-
$
(
'
.main-footer
'
).
outerHeight
());
}
else
{
var
postSetWidth
;
if
(
windowHeight
>=
sidebarHeight
)
{
$
(
'
.content-wrapper, .right-side
'
).
css
(
'
min-height
'
,
windowHeight
-
neg
);
postSetWidth
=
windowHeight
-
neg
;
}
else
{
$
(
'
.content-wrapper, .right-side
'
).
css
(
'
min-height
'
,
sidebarHeight
);
postSetWidth
=
sidebarHeight
;
}
//Add slimscroll to navbar dropdown
//Fix for the control sidebar height
if
(
o
.
navbarMenuSlimscroll
&&
typeof
$
.
fn
.
slimscroll
!==
'
undefined
'
)
{
var
controlSidebar
=
$
(
$
.
AdminLTE
.
options
.
controlSidebarOptions
.
selector
);
$
(
'
.navbar .menu
'
).
slimscroll
({
if
(
typeof
controlSidebar
!==
'
undefined
'
)
{
height
:
o
.
navbarMenuHeight
,
if
(
controlSidebar
.
height
()
>
postSetWidth
)
{
alwaysVisible
:
false
,
$
(
'
.content-wrapper, .right-side
'
).
css
(
'
min-height
'
,
controlSidebar
.
height
());
size
:
o
.
navbarMenuSlimscrollWidth
}
}).
css
(
'
width
'
,
'
100%
'
);
}
}
//Activate sidebar push menu
}
if
(
o
.
sidebarPushMenu
)
{
},
$
.
AdminLTE
.
pushMenu
.
activate
(
o
.
sidebarToggleSelector
);
fixSidebar
:
function
()
{
//Make sure the body tag has the .fixed class
if
(
!
$
(
'
body
'
).
hasClass
(
'
fixed
'
))
{
if
(
typeof
$
.
fn
.
slimScroll
!==
'
undefined
'
)
{
$
(
'
.sidebar
'
).
slimScroll
({
destroy
:
true
}).
height
(
'
auto
'
);
}
return
;
}
else
if
(
typeof
$
.
fn
.
slimScroll
===
'
undefined
'
&&
console
)
{
console
.
error
(
'
Error: the fixed layout requires the slimscroll plugin!
'
);
}
//Enable slimscroll for fixed layout
if
(
$
.
AdminLTE
.
options
.
sidebarSlimScroll
)
{
if
(
typeof
$
.
fn
.
slimScroll
!==
'
undefined
'
)
{
//Destroy if it exists
$
(
'
.sidebar
'
).
slimScroll
({
destroy
:
true
}).
height
(
'
auto
'
);
//Add slimscroll
$
(
'
.sidebar
'
).
slimscroll
({
height
:
(
$
(
window
).
height
()
-
$
(
'
.main-header
'
).
height
())
+
'
px
'
,
color
:
'
rgba(0,0,0,0.2)
'
,
size
:
'
3px
'
});
}
}
}
}
};
/* PushMenu()
* ==========
* Adds the push menu functionality to the sidebar.
*
* @type Function
* @usage: $.AdminLTE.pushMenu("[data-toggle='offcanvas']")
*/
$
.
AdminLTE
.
pushMenu
=
{
activate
:
function
(
toggleBtn
)
{
//Get the screen sizes
var
screenSizes
=
$
.
AdminLTE
.
options
.
screenSizes
;
//Enable sidebar toggle
$
(
toggleBtn
).
on
(
'
click
'
,
function
(
e
)
{
e
.
preventDefault
();
//Enable sidebar push menu
if
(
$
(
window
).
width
()
>
(
screenSizes
.
sm
-
1
))
{
$
(
'
body
'
).
toggleClass
(
'
sidebar-collapse
'
);
}
//Handle sidebar push menu for small screens
else
{
if
(
$
(
'
body
'
).
hasClass
(
'
sidebar-open
'
))
{
$
(
'
body
'
).
removeClass
(
'
sidebar-open
'
);
$
(
'
body
'
).
removeClass
(
'
sidebar-collapse
'
);
}
else
{
$
(
'
body
'
).
addClass
(
'
sidebar-open
'
);
}
}
});
//Activate Bootstrap tooltip
$
(
'
.content-wrapper
'
).
click
(
function
()
{
if
(
o
.
enableBSToppltip
)
{
//Enable hide menu when clicking on the content-wrapper on small screens
$
(
'
body
'
).
tooltip
(
{
if
(
$
(
window
).
width
()
<=
(
screenSizes
.
sm
-
1
)
&&
$
(
'
body
'
).
hasClass
(
'
sidebar-open
'
))
{
selector
:
o
.
BSTooltipSelector
$
(
'
body
'
).
removeClass
(
'
sidebar-open
'
);
}
);
}
}
});
//Activate box widget
//Enable expand on hover for sidebar mini
if
(
o
.
enableBoxWidget
)
{
if
(
$
.
AdminLTE
.
options
.
sidebarExpandOnHover
||
$
.
AdminLTE
.
boxWidget
.
activate
();
(
$
(
'
body
'
).
hasClass
(
'
fixed
'
)
&&
$
(
'
body
'
).
hasClass
(
'
sidebar-mini
'
)))
{
}
this
.
expandOnHover
();
}
//Activate fast click
},
if
(
o
.
enableFastclick
&&
typeof
FastClick
!==
'
undefined
'
)
{
expandOnHover
:
function
()
{
FastClick
.
attach
(
document
.
body
);
var
_this
=
this
;
var
screenWidth
=
$
.
AdminLTE
.
options
.
screenSizes
.
sm
-
1
;
//Expand sidebar on hover
$
(
'
.main-sidebar
'
).
hover
(
function
()
{
if
(
$
(
'
body
'
).
hasClass
(
'
sidebar-mini
'
)
&&
$
(
'
body
'
).
hasClass
(
'
sidebar-collapse
'
)
&&
$
(
window
).
width
()
>
screenWidth
)
{
_this
.
expand
();
}
},
function
()
{
if
(
$
(
'
body
'
).
hasClass
(
'
sidebar-mini
'
)
&&
$
(
'
body
'
).
hasClass
(
'
sidebar-expanded-on-hover
'
)
&&
$
(
window
).
width
()
>
screenWidth
)
{
_this
.
collapse
();
}
});
},
expand
:
function
()
{
$
(
'
body
'
).
removeClass
(
'
sidebar-collapse
'
).
addClass
(
'
sidebar-expanded-on-hover
'
);
},
collapse
:
function
()
{
if
(
$
(
'
body
'
).
hasClass
(
'
sidebar-expanded-on-hover
'
))
{
$
(
'
body
'
).
removeClass
(
'
sidebar-expanded-on-hover
'
).
addClass
(
'
sidebar-collapse
'
);
}
}
}
};
//Activate direct chat widget
if
(
o
.
directChat
.
enable
)
{
/* Tree()
$
(
o
.
directChat
.
contactToggleSelector
).
on
(
'
click
'
,
function
()
{
* ======
var
box
=
$
(
this
).
parents
(
'
.direct-chat
'
).
first
();
* Converts the sidebar into a multilevel
box
.
toggleClass
(
'
direct-chat-contacts-open
'
);
* tree view menu.
*
* @type Function
* @Usage: $.AdminLTE.tree('.sidebar')
*/
$
.
AdminLTE
.
tree
=
function
(
menu
)
{
var
_this
=
this
;
var
animationSpeed
=
$
.
AdminLTE
.
options
.
animationSpeed
;
$
(
'
li a
'
,
$
(
menu
)).
on
(
'
click
'
,
function
(
e
)
{
//Get the clicked link and the next element
var
$this
=
$
(
this
);
var
checkElement
=
$this
.
next
();
//Check if the next element is a menu and is visible
if
((
checkElement
.
is
(
'
.treeview-menu
'
))
&&
(
checkElement
.
is
(
'
:visible
'
)))
{
//Close the menu
checkElement
.
slideUp
(
animationSpeed
,
function
()
{
checkElement
.
removeClass
(
'
menu-open
'
);
//Fix the layout in case the sidebar stretches over the height of the window
//_this.layout.fix();
});
});
}
checkElement
.
parent
(
'
li
'
).
removeClass
(
'
active
'
);
}
/*
//If the menu is not visible
* INITIALIZE BUTTON TOGGLE
else
if
((
checkElement
.
is
(
'
.treeview-menu
'
))
&&
(
!
checkElement
.
is
(
'
:visible
'
)))
{
* ------------------------
//Get the parent menu
*/
var
parent
=
$this
.
parents
(
'
ul
'
).
first
();
$
(
'
.btn-group[data-toggle="btn-toggle"]
'
).
each
(
function
()
{
//Close all open menus within the parent
var
group
=
$
(
this
);
var
ul
=
parent
.
find
(
'
ul:visible
'
).
slideUp
(
animationSpeed
);
$
(
this
).
find
(
'
.btn
'
).
on
(
'
click
'
,
function
(
e
)
{
//Remove the menu-open class from the parent
group
.
find
(
'
.btn.active
'
).
removeClass
(
'
active
'
);
ul
.
removeClass
(
'
menu-open
'
);
$
(
this
).
addClass
(
'
active
'
);
//Get the parent li
e
.
preventDefault
();
var
liParent
=
$this
.
parent
(
'
li
'
);
//Open the target menu and add the menu-open class
checkElement
.
slideDown
(
animationSpeed
,
function
()
{
//Add the class active to the parent li
checkElement
.
addClass
(
'
menu-open
'
);
parent
.
find
(
'
li.active
'
).
removeClass
(
'
active
'
);
liParent
.
addClass
(
'
active
'
);
//Fix the layout in case the sidebar stretches over the height of the window
_this
.
layout
.
fix
();
});
});
}
//if this isn't a link, prevent the page from being redirected
if
(
checkElement
.
is
(
'
.treeview-menu
'
))
{
e
.
preventDefault
();
}
});
});
});
};
/* ----------------------------------
/* ControlSidebar
* - Initialize the AdminLTE Object -
* ==============
* ----------------------------------
* Adds functionality to the right sidebar
* All AdminLTE functions are implemented below.
*
*/
* @type Object
function
_init
()
{
* @usage $.AdminLTE.controlSidebar.activate(options)
*/
/* Layout
$
.
AdminLTE
.
controlSidebar
=
{
* ======
//instantiate the object
* Fixes the layout height in case min-height fails.
activate
:
function
()
{
*
//Get the object
* @type Object
var
_this
=
this
;
* @usage $.AdminLTE.layout.activate()
//Update options
* $.AdminLTE.layout.fix()
var
o
=
$
.
AdminLTE
.
options
.
controlSidebarOptions
;
* $.AdminLTE.layout.fixSidebar()
//Get the sidebar
*/
var
sidebar
=
$
(
o
.
selector
);
$
.
AdminLTE
.
layout
=
{
//The toggle button
activate
:
function
()
{
var
btn
=
$
(
o
.
toggleBtnSelector
);
var
_this
=
this
;
_this
.
fix
();
//Listen to the click event
_this
.
fixSidebar
();
btn
.
on
(
'
click
'
,
function
(
e
)
{
$
(
window
,
'
.wrapper
'
).
resize
(
function
()
{
e
.
preventDefault
();
_this
.
fix
();
//If the sidebar is not open
_this
.
fixSidebar
();
if
(
!
sidebar
.
hasClass
(
'
control-sidebar-open
'
)
&&
!
$
(
'
body
'
).
hasClass
(
'
control-sidebar-open
'
))
{
});
//Open the sidebar
},
_this
.
open
(
sidebar
,
o
.
slide
);
fix
:
function
()
{
}
else
{
//Get window height and the wrapper height
_this
.
close
(
sidebar
,
o
.
slide
);
var
neg
=
$
(
'
.main-header
'
).
outerHeight
()
+
$
(
'
.main-footer
'
).
outerHeight
();
var
windowHeight
=
$
(
window
).
height
();
var
sidebarHeight
=
$
(
'
.sidebar
'
).
height
();
//Set the min-height of the content and sidebar based on the
//the height of the document.
if
(
$
(
'
body
'
).
hasClass
(
'
fixed
'
))
{
$
(
'
.content-wrapper, .right-side
'
).
css
(
'
min-height
'
,
windowHeight
-
$
(
'
.main-footer
'
).
outerHeight
());
}
else
{
var
postSetWidth
;
if
(
windowHeight
>=
sidebarHeight
)
{
$
(
'
.content-wrapper, .right-side
'
).
css
(
'
min-height
'
,
windowHeight
-
neg
);
postSetWidth
=
windowHeight
-
neg
;
}
else
{
$
(
'
.content-wrapper, .right-side
'
).
css
(
'
min-height
'
,
sidebarHeight
);
postSetWidth
=
sidebarHeight
;
}
//Fix for the control sidebar height
var
controlSidebar
=
$
(
$
.
AdminLTE
.
options
.
controlSidebarOptions
.
selector
);
if
(
typeof
controlSidebar
!==
'
undefined
'
)
{
if
(
controlSidebar
.
height
()
>
postSetWidth
)
{
$
(
'
.content-wrapper, .right-side
'
).
css
(
'
min-height
'
,
controlSidebar
.
height
());
}
}
}
},
fixSidebar
:
function
()
{
//Make sure the body tag has the .fixed class
if
(
!
$
(
'
body
'
).
hasClass
(
'
fixed
'
))
{
if
(
typeof
$
.
fn
.
slimScroll
!==
'
undefined
'
)
{
$
(
'
.sidebar
'
).
slimScroll
({
destroy
:
true
}).
height
(
'
auto
'
);
}
return
;
}
else
if
(
typeof
$
.
fn
.
slimScroll
===
'
undefined
'
&&
console
)
{
console
.
error
(
'
Error: the fixed layout requires the slimscroll plugin!
'
);
}
//Enable slimscroll for fixed layout
if
(
$
.
AdminLTE
.
options
.
sidebarSlimScroll
)
{
if
(
typeof
$
.
fn
.
slimScroll
!==
'
undefined
'
)
{
//Destroy if it exists
$
(
'
.sidebar
'
).
slimScroll
({
destroy
:
true
}).
height
(
'
auto
'
);
//Add slimscroll
$
(
'
.sidebar
'
).
slimscroll
({
height
:
(
$
(
window
).
height
()
-
$
(
'
.main-header
'
).
height
())
+
'
px
'
,
color
:
'
rgba(0,0,0,0.2)
'
,
size
:
'
3px
'
});
}
}
}
}
};
});
/* PushMenu()
//If the body has a boxed layout, fix the sidebar bg position
* ==========
var
bg
=
$
(
'
.control-sidebar-bg
'
);
* Adds the push menu functionality to the sidebar.
_this
.
_fix
(
bg
);
*
* @type Function
//If the body has a fixed layout, make the control sidebar fixed
* @usage: $.AdminLTE.pushMenu("[data-toggle='offcanvas']")
if
(
$
(
'
body
'
).
hasClass
(
'
fixed
'
))
{
*/
_this
.
_fixForFixed
(
sidebar
);
$
.
AdminLTE
.
pushMenu
=
{
}
else
{
activate
:
function
(
toggleBtn
)
{
//If the content height is less than the sidebar's height, force max height
//Get the screen sizes
if
(
$
(
'
.content-wrapper, .right-side
'
).
height
()
<
sidebar
.
height
())
{
var
screenSizes
=
$
.
AdminLTE
.
options
.
screenSizes
;
_this
.
_fixForContent
(
sidebar
);
//Enable sidebar toggle
$
(
toggleBtn
).
on
(
'
click
'
,
function
(
e
)
{
e
.
preventDefault
();
//Enable sidebar push menu
if
(
$
(
window
).
width
()
>
(
screenSizes
.
sm
-
1
))
{
$
(
'
body
'
).
toggleClass
(
'
sidebar-collapse
'
);
}
//Handle sidebar push menu for small screens
else
{
if
(
$
(
'
body
'
).
hasClass
(
'
sidebar-open
'
))
{
$
(
'
body
'
).
removeClass
(
'
sidebar-open
'
);
$
(
'
body
'
).
removeClass
(
'
sidebar-collapse
'
);
}
else
{
$
(
'
body
'
).
addClass
(
'
sidebar-open
'
);
}
}
});
$
(
'
.content-wrapper
'
).
click
(
function
()
{
//Enable hide menu when clicking on the content-wrapper on small screens
if
(
$
(
window
).
width
()
<=
(
screenSizes
.
sm
-
1
)
&&
$
(
'
body
'
).
hasClass
(
'
sidebar-open
'
))
{
$
(
'
body
'
).
removeClass
(
'
sidebar-open
'
);
}
});
//Enable expand on hover for sidebar mini
if
(
$
.
AdminLTE
.
options
.
sidebarExpandOnHover
||
(
$
(
'
body
'
).
hasClass
(
'
fixed
'
)
&&
$
(
'
body
'
).
hasClass
(
'
sidebar-mini
'
)))
{
this
.
expandOnHover
();
}
},
expandOnHover
:
function
()
{
var
_this
=
this
;
var
screenWidth
=
$
.
AdminLTE
.
options
.
screenSizes
.
sm
-
1
;
//Expand sidebar on hover
$
(
'
.main-sidebar
'
).
hover
(
function
()
{
if
(
$
(
'
body
'
).
hasClass
(
'
sidebar-mini
'
)
&&
$
(
'
body
'
).
hasClass
(
'
sidebar-collapse
'
)
&&
$
(
window
).
width
()
>
screenWidth
)
{
_this
.
expand
();
}
},
function
()
{
if
(
$
(
'
body
'
).
hasClass
(
'
sidebar-mini
'
)
&&
$
(
'
body
'
).
hasClass
(
'
sidebar-expanded-on-hover
'
)
&&
$
(
window
).
width
()
>
screenWidth
)
{
_this
.
collapse
();
}
});
},
expand
:
function
()
{
$
(
'
body
'
).
removeClass
(
'
sidebar-collapse
'
).
addClass
(
'
sidebar-expanded-on-hover
'
);
},
collapse
:
function
()
{
if
(
$
(
'
body
'
).
hasClass
(
'
sidebar-expanded-on-hover
'
))
{
$
(
'
body
'
).
removeClass
(
'
sidebar-expanded-on-hover
'
).
addClass
(
'
sidebar-collapse
'
);
}
}
}
};
}
},
/* Tree()
//Open the control sidebar
* ======
open
:
function
(
sidebar
,
slide
)
{
* Converts the sidebar into a multilevel
// var _this = this;
* tree view menu.
//Slide over content
*
if
(
slide
)
{
* @type Function
sidebar
.
addClass
(
'
control-sidebar-open
'
);
* @Usage: $.AdminLTE.tree('.sidebar')
}
else
{
*/
//Push the content by adding the open class to the body instead
$
.
AdminLTE
.
tree
=
function
(
menu
)
{
//of the sidebar itself
var
_this
=
this
;
$
(
'
body
'
).
addClass
(
'
control-sidebar-open
'
);
var
animationSpeed
=
$
.
AdminLTE
.
options
.
animationSpeed
;
}
$
(
'
li a
'
,
$
(
menu
)).
on
(
'
click
'
,
function
(
e
)
{
},
//Get the clicked link and the next element
//Close the control sidebar
var
$this
=
$
(
this
);
close
:
function
(
sidebar
,
slide
)
{
var
checkElement
=
$this
.
next
();
if
(
slide
)
{
sidebar
.
removeClass
(
'
control-sidebar-open
'
);
//Check if the next element is a menu and is visible
}
else
{
if
((
checkElement
.
is
(
'
.treeview-menu
'
))
&&
(
checkElement
.
is
(
'
:visible
'
)))
{
$
(
'
body
'
).
removeClass
(
'
control-sidebar-open
'
);
//Close the menu
}
checkElement
.
slideUp
(
animationSpeed
,
function
()
{
},
checkElement
.
removeClass
(
'
menu-open
'
);
_fix
:
function
(
sidebar
)
{
//Fix the layout in case the sidebar stretches over the height of the window
var
_this
=
this
;
//_this.layout.fix();
if
(
$
(
'
body
'
).
hasClass
(
'
layout-boxed
'
))
{
});
sidebar
.
css
(
'
position
'
,
'
absolute
'
);
checkElement
.
parent
(
'
li
'
).
removeClass
(
'
active
'
);
sidebar
.
height
(
$
(
'
.wrapper
'
).
height
());
}
$
(
window
).
resize
(
function
()
{
//If the menu is not visible
_this
.
_fix
(
sidebar
);
else
if
((
checkElement
.
is
(
'
.treeview-menu
'
))
&&
(
!
checkElement
.
is
(
'
:visible
'
)))
{
//Get the parent menu
var
parent
=
$this
.
parents
(
'
ul
'
).
first
();
//Close all open menus within the parent
var
ul
=
parent
.
find
(
'
ul:visible
'
).
slideUp
(
animationSpeed
);
//Remove the menu-open class from the parent
ul
.
removeClass
(
'
menu-open
'
);
//Get the parent li
var
liParent
=
$this
.
parent
(
'
li
'
);
//Open the target menu and add the menu-open class
checkElement
.
slideDown
(
animationSpeed
,
function
()
{
//Add the class active to the parent li
checkElement
.
addClass
(
'
menu-open
'
);
parent
.
find
(
'
li.active
'
).
removeClass
(
'
active
'
);
liParent
.
addClass
(
'
active
'
);
//Fix the layout in case the sidebar stretches over the height of the window
_this
.
layout
.
fix
();
});
}
//if this isn't a link, prevent the page from being redirected
if
(
checkElement
.
is
(
'
.treeview-menu
'
))
{
e
.
preventDefault
();
}
});
});
};
}
else
{
sidebar
.
css
({
/* ControlSidebar
'
position
'
:
'
fixed
'
,
* ==============
'
height
'
:
'
auto
'
* Adds functionality to the right sidebar
});
*
}
* @type Object
},
* @usage $.AdminLTE.controlSidebar.activate(options)
_fixForFixed
:
function
(
sidebar
)
{
*/
sidebar
.
css
({
$
.
AdminLTE
.
controlSidebar
=
{
'
position
'
:
'
fixed
'
,
//instantiate the object
'
max-height
'
:
'
100%
'
,
activate
:
function
()
{
'
overflow
'
:
'
auto
'
,
//Get the object
'
padding-bottom
'
:
'
50px
'
var
_this
=
this
;
});
//Update options
},
var
o
=
$
.
AdminLTE
.
options
.
controlSidebarOptions
;
_fixForContent
:
function
(
sidebar
)
{
//Get the sidebar
$
(
'
.content-wrapper, .right-side
'
).
css
(
'
min-height
'
,
sidebar
.
height
());
var
sidebar
=
$
(
o
.
selector
);
}
//The toggle button
};
var
btn
=
$
(
o
.
toggleBtnSelector
);
/* BoxWidget
//Listen to the click event
* =========
btn
.
on
(
'
click
'
,
function
(
e
)
{
* BoxWidget is a plugin to handle collapsing and
e
.
preventDefault
();
* removing boxes from the screen.
//If the sidebar is not open
*
if
(
!
sidebar
.
hasClass
(
'
control-sidebar-open
'
)
&&
!
$
(
'
body
'
).
hasClass
(
'
control-sidebar-open
'
))
{
* @type Object
//Open the sidebar
* @usage $.AdminLTE.boxWidget.activate()
_this
.
open
(
sidebar
,
o
.
slide
);
* Set all your options in the main $.AdminLTE.options object
}
else
{
*/
_this
.
close
(
sidebar
,
o
.
slide
);
$
.
AdminLTE
.
boxWidget
=
{
}
selectors
:
$
.
AdminLTE
.
options
.
boxWidgetOptions
.
boxWidgetSelectors
,
});
icons
:
$
.
AdminLTE
.
options
.
boxWidgetOptions
.
boxWidgetIcons
,
animationSpeed
:
$
.
AdminLTE
.
options
.
animationSpeed
,
//If the body has a boxed layout, fix the sidebar bg position
activate
:
function
(
_box
)
{
var
bg
=
$
(
'
.control-sidebar-bg
'
);
var
_this
=
this
;
_this
.
_fix
(
bg
);
if
(
!
_box
)
{
_box
=
document
;
// activate all boxes per default
//If the body has a fixed layout, make the control sidebar fixed
}
if
(
$
(
'
body
'
).
hasClass
(
'
fixed
'
))
{
//Listen for collapse event triggers
_this
.
_fixForFixed
(
sidebar
);
$
(
_box
).
find
(
_this
.
selectors
.
collapse
).
on
(
'
click
'
,
function
(
e
)
{
}
else
{
e
.
preventDefault
();
//If the content height is less than the sidebar's height, force max height
_this
.
collapse
(
$
(
this
));
if
(
$
(
'
.content-wrapper, .right-side
'
).
height
()
<
sidebar
.
height
())
{
});
_this
.
_fixForContent
(
sidebar
);
}
//Listen for remove event triggers
}
$
(
_box
).
find
(
_this
.
selectors
.
remove
).
on
(
'
click
'
,
function
(
e
)
{
},
e
.
preventDefault
();
//Open the control sidebar
_this
.
remove
(
$
(
this
));
open
:
function
(
sidebar
,
slide
)
{
});
// var _this = this;
},
//Slide over content
collapse
:
function
(
element
)
{
if
(
slide
)
{
var
_this
=
this
;
sidebar
.
addClass
(
'
control-sidebar-open
'
);
//Find the box parent
}
else
{
var
box
=
element
.
parents
(
'
.box
'
).
first
();
//Push the content by adding the open class to the body instead
//Find the body and the footer
//of the sidebar itself
var
boxContent
=
box
.
find
(
'
> .box-body, > .box-footer
'
);
$
(
'
body
'
).
addClass
(
'
control-sidebar-open
'
);
if
(
!
box
.
hasClass
(
'
collapsed-box
'
))
{
}
//Convert minus into plus
},
element
.
children
(
'
:first
'
)
//Close the control sidebar
.
removeClass
(
_this
.
icons
.
collapse
)
close
:
function
(
sidebar
,
slide
)
{
.
addClass
(
_this
.
icons
.
open
);
if
(
slide
)
{
//Hide the content
sidebar
.
removeClass
(
'
control-sidebar-open
'
);
boxContent
.
slideUp
(
_this
.
animationSpeed
,
function
()
{
}
else
{
box
.
addClass
(
'
collapsed-box
'
);
$
(
'
body
'
).
removeClass
(
'
control-sidebar-open
'
);
});
}
}
else
{
},
//Convert plus into minus
_fix
:
function
(
sidebar
)
{
element
.
children
(
'
:first
'
)
var
_this
=
this
;
.
removeClass
(
_this
.
icons
.
open
)
if
(
$
(
'
body
'
).
hasClass
(
'
layout-boxed
'
))
{
.
addClass
(
_this
.
icons
.
collapse
);
sidebar
.
css
(
'
position
'
,
'
absolute
'
);
//Show the content
sidebar
.
height
(
$
(
'
.wrapper
'
).
height
());
boxContent
.
slideDown
(
_this
.
animationSpeed
,
function
()
{
$
(
window
).
resize
(
function
()
{
box
.
removeClass
(
'
collapsed-box
'
);
_this
.
_fix
(
sidebar
);
});
});
}
}
else
{
},
sidebar
.
css
({
remove
:
function
(
element
)
{
'
position
'
:
'
fixed
'
,
//Find the box parent
'
height
'
:
'
auto
'
var
box
=
element
.
parents
(
'
.box
'
).
first
();
});
box
.
slideUp
(
this
.
animationSpeed
);
}
}
},
};
_fixForFixed
:
function
(
sidebar
)
{
sidebar
.
css
({
'
position
'
:
'
fixed
'
,
'
max-height
'
:
'
100%
'
,
'
overflow
'
:
'
auto
'
,
'
padding-bottom
'
:
'
50px
'
});
},
_fixForContent
:
function
(
sidebar
)
{
$
(
'
.content-wrapper, .right-side
'
).
css
(
'
min-height
'
,
sidebar
.
height
());
}
};
/* BoxWidget
* =========
* BoxWidget is a plugin to handle collapsing and
* removing boxes from the screen.
*
* @type Object
* @usage $.AdminLTE.boxWidget.activate()
* Set all your options in the main $.AdminLTE.options object
*/
$
.
AdminLTE
.
boxWidget
=
{
selectors
:
$
.
AdminLTE
.
options
.
boxWidgetOptions
.
boxWidgetSelectors
,
icons
:
$
.
AdminLTE
.
options
.
boxWidgetOptions
.
boxWidgetIcons
,
animationSpeed
:
$
.
AdminLTE
.
options
.
animationSpeed
,
activate
:
function
(
_box
)
{
var
_this
=
this
;
if
(
!
_box
)
{
_box
=
document
;
// activate all boxes per default
}
//Listen for collapse event triggers
$
(
_box
).
find
(
_this
.
selectors
.
collapse
).
on
(
'
click
'
,
function
(
e
)
{
e
.
preventDefault
();
_this
.
collapse
(
$
(
this
));
});
//Listen for remove event triggers
$
(
_box
).
find
(
_this
.
selectors
.
remove
).
on
(
'
click
'
,
function
(
e
)
{
e
.
preventDefault
();
_this
.
remove
(
$
(
this
));
});
},
collapse
:
function
(
element
)
{
var
_this
=
this
;
//Find the box parent
var
box
=
element
.
parents
(
'
.box
'
).
first
();
//Find the body and the footer
var
boxContent
=
box
.
find
(
'
> .box-body, > .box-footer
'
);
if
(
!
box
.
hasClass
(
'
collapsed-box
'
))
{
//Convert minus into plus
element
.
children
(
'
:first
'
)
.
removeClass
(
_this
.
icons
.
collapse
)
.
addClass
(
_this
.
icons
.
open
);
//Hide the content
boxContent
.
slideUp
(
_this
.
animationSpeed
,
function
()
{
box
.
addClass
(
'
collapsed-box
'
);
});
}
else
{
//Convert plus into minus
element
.
children
(
'
:first
'
)
.
removeClass
(
_this
.
icons
.
open
)
.
addClass
(
_this
.
icons
.
collapse
);
//Show the content
boxContent
.
slideDown
(
_this
.
animationSpeed
,
function
()
{
box
.
removeClass
(
'
collapsed-box
'
);
});
}
},
remove
:
function
(
element
)
{
//Find the box parent
var
box
=
element
.
parents
(
'
.box
'
).
first
();
box
.
slideUp
(
this
.
animationSpeed
);
}
};
}
}
/* ------------------
/* ------------------
...
@@ -609,68 +613,66 @@ function _init() {
...
@@ -609,68 +613,66 @@ function _init() {
* @type plugin
* @type plugin
* @usage $('#box-widget').boxRefresh( options );
* @usage $('#box-widget').boxRefresh( options );
*/
*/
(
function
(
$
)
{
(
function
(
$
)
{
$
.
fn
.
boxRefresh
=
function
(
options
)
{
$
.
fn
.
boxRefresh
=
function
(
options
)
{
// Render options
// Render options
var
settings
=
$
.
extend
({
var
settings
=
$
.
extend
({
//Refresh button selector
//Refresh button selector
trigger
:
'
.refresh-btn
'
,
trigger
:
'
.refresh-btn
'
,
//File source to be loaded (e.g: ajax/src.php)
//File source to be loaded (e.g: ajax/src.php)
source
:
''
,
source
:
''
,
//Callbacks
//Callbacks
onLoadStart
:
function
(
box
)
{
onLoadStart
:
function
(
box
)
{},
//Right after the button has been clicked
},
//Right after the button has been clicked
onLoadDone
:
function
(
box
)
{}
//When the source has been loaded
onLoadDone
:
function
(
box
)
{
}
//When the source has been loaded
},
options
);
},
options
);
//The overlay
var
overlay
=
$
(
'
<div class="overlay"><div class="fa fa-refresh fa-spin"></div></div>
'
);
//The overlay
var
overlay
=
$
(
'
<div class="overlay"><div class="fa fa-refresh fa-spin"></div></div>
'
);
return
this
.
each
(
function
()
{
//if a source is specified
return
this
.
each
(
function
()
{
if
(
settings
.
source
===
''
)
{
//if a source is specified
if
(
console
)
{
if
(
settings
.
source
===
''
)
{
console
.
log
(
'
Please specify a source first - boxRefresh()
'
);
if
(
console
)
{
}
console
.
log
(
'
Please specify a source first - boxRefresh()
'
);
return
;
}
}
return
;
//the box
}
var
box
=
$
(
this
);
//the box
//the button
var
box
=
$
(
this
);
var
rBtn
=
box
.
find
(
settings
.
trigger
).
first
();
//the button
var
rBtn
=
box
.
find
(
settings
.
trigger
).
first
();
//On trigger click
rBtn
.
on
(
'
click
'
,
function
(
e
)
{
//On trigger click
e
.
preventDefault
();
rBtn
.
on
(
'
click
'
,
function
(
e
)
{
//Add loading overlay
e
.
preventDefault
();
start
(
box
);
//Add loading overlay
start
(
box
);
//Perform ajax call
box
.
find
(
'
.box-body
'
).
load
(
settings
.
source
,
function
()
{
//Perform ajax call
done
(
box
);
box
.
find
(
'
.box-body
'
).
load
(
settings
.
source
,
function
()
{
done
(
box
);
});
});
});
});
});
});
function
start
(
box
)
{
function
start
(
box
)
{
//Add overlay and loading img
//Add overlay and loading img
box
.
append
(
overlay
);
box
.
append
(
overlay
);
settings
.
onLoadStart
.
call
(
box
);
settings
.
onLoadStart
.
call
(
box
);
}
}
function
done
(
box
)
{
function
done
(
box
)
{
//Remove overlay and loading img
//Remove overlay and loading img
box
.
find
(
overlay
).
remove
();
box
.
find
(
overlay
).
remove
();
settings
.
onLoadDone
.
call
(
box
);
settings
.
onLoadDone
.
call
(
box
);
}
}
};
};
})(
jQuery
);
})(
jQuery
);
...
@@ -683,11 +685,11 @@ function _init() {
...
@@ -683,11 +685,11 @@ function _init() {
* @type plugin
* @type plugin
* @usage $('#box-widget').activateBox();
* @usage $('#box-widget').activateBox();
*/
*/
(
function
(
$
)
{
(
function
(
$
)
{
$
.
fn
.
activateBox
=
function
()
{
$
.
fn
.
activateBox
=
function
()
{
$
.
AdminLTE
.
boxWidget
.
activate
(
this
);
$
.
AdminLTE
.
boxWidget
.
activate
(
this
);
};
};
})(
jQuery
);
})(
jQuery
);
...
@@ -699,42 +701,40 @@ function _init() {
...
@@ -699,42 +701,40 @@ function _init() {
* @type plugin
* @type plugin
* @usage $('#todo-widget').todolist( options );
* @usage $('#todo-widget').todolist( options );
*/
*/
(
function
(
$
)
{
(
function
(
$
)
{
$
.
fn
.
todolist
=
function
(
options
)
{
$
.
fn
.
todolist
=
function
(
options
)
{
// Render options
// Render options
var
settings
=
$
.
extend
({
var
settings
=
$
.
extend
({
//When the user checks the input
//When the user checks the input
onCheck
:
function
(
ele
)
{
onCheck
:
function
(
ele
)
{},
},
//When the user unchecks the input
//When the user unchecks the input
onUncheck
:
function
(
ele
)
{}
onUncheck
:
function
(
ele
)
{
},
options
);
}
},
options
);
return
this
.
each
(
function
()
{
return
this
.
each
(
function
()
{
if
(
typeof
$
.
fn
.
iCheck
!==
'
undefined
'
)
{
$
(
'
input
'
,
this
).
on
(
'
ifChecked
'
,
function
(
event
)
{
if
(
typeof
$
.
fn
.
iCheck
!==
'
undefined
'
)
{
var
ele
=
$
(
this
).
parents
(
'
li
'
).
first
();
$
(
'
input
'
,
this
).
on
(
'
ifChecked
'
,
function
(
event
)
{
ele
.
toggleClass
(
'
done
'
);
var
ele
=
$
(
this
).
parents
(
'
li
'
).
first
();
settings
.
onCheck
.
call
(
ele
);
ele
.
toggleClass
(
'
done
'
);
settings
.
onCheck
.
call
(
ele
);
});
$
(
'
input
'
,
this
).
on
(
'
ifUnchecked
'
,
function
(
event
)
{
var
ele
=
$
(
this
).
parents
(
'
li
'
).
first
();
ele
.
toggleClass
(
'
done
'
);
settings
.
onUncheck
.
call
(
ele
);
});
}
else
{
$
(
'
input
'
,
this
).
on
(
'
change
'
,
function
(
event
)
{
var
ele
=
$
(
this
).
parents
(
'
li
'
).
first
();
ele
.
toggleClass
(
'
done
'
);
settings
.
onCheck
.
call
(
ele
);
});
}
});
});
};
$
(
'
input
'
,
this
).
on
(
'
ifUnchecked
'
,
function
(
event
)
{
var
ele
=
$
(
this
).
parents
(
'
li
'
).
first
();
ele
.
toggleClass
(
'
done
'
);
settings
.
onUncheck
.
call
(
ele
);
});
}
else
{
$
(
'
input
'
,
this
).
on
(
'
change
'
,
function
(
event
)
{
var
ele
=
$
(
this
).
parents
(
'
li
'
).
first
();
ele
.
toggleClass
(
'
done
'
);
settings
.
onCheck
.
call
(
ele
);
});
}
});
};
}(
jQuery
));
}(
jQuery
));
/**
/**
...
@@ -744,7 +744,8 @@ function _init() {
...
@@ -744,7 +744,8 @@ function _init() {
*/
*/
Vue
.
component
(
'
flash
'
,
require
(
'
../components/backend/Flash.vue
'
));
Vue
.
component
(
'
flash
'
,
require
(
'
../components/backend/Flash.vue
'
));
Vue
.
component
(
'
export-component
'
,
require
(
'
../components/backend/Export.vue
'
));
const
app
=
new
Vue
({
const
app
=
new
Vue
({
el
:
'
#app
'
el
:
'
#app
'
});
});
\ No newline at end of file
resources/assets/js/components/backend/Export.vue
0 → 100644
View file @
f2cd486f
<
template
>
<div
class=
"btn-group"
>
<button
type=
"button"
class=
"btn btn-warning btn-flat dropdown-toggle"
data-toggle=
"dropdown"
>
Export
<span
class=
"caret"
></span>
<span
class=
"sr-only"
>
Toggle Dropdown
</span>
</button>
<ul
class=
"dropdown-menu"
role=
"menu"
>
<li
id=
"copyButton"
><a
href=
"#"
><i
class=
"fa fa-clone"
></i>
Copy
</a></li>
<li
id=
"csvButton"
><a
href=
"#"
><i
class=
"fa fa-file-text-o"
></i>
CSV
</a></li>
<li
id=
"excelButton"
><a
href=
"#"
><i
class=
"fa fa-file-excel-o"
></i>
Excel
</a></li>
<li
id=
"pdfButton"
><a
href=
"#"
><i
class=
"fa fa-file-pdf-o"
></i>
PDF
</a></li>
<li
id=
"printButton"
><a
href=
"#"
><i
class=
"fa fa-print"
></i>
Print
</a></li>
</ul>
</div>
</
template
>
<
script
>
export
default
{
props
:
[],
data
()
{
return
{};
}
};
</
script
>
resources/assets/js/components/backend/Flash.vue
View file @
f2cd486f
...
@@ -5,42 +5,42 @@
...
@@ -5,42 +5,42 @@
</
template
>
</
template
>
<
script
>
<
script
>
export
default
{
export
default
{
props
:
[
'
message
'
,
'
type
'
],
props
:
[
"
message
"
,
"
type
"
],
data
()
{
return
{
body
:
''
,
typeClass
:
''
,
show
:
false
}
},
created
()
{
data
()
{
var
context
=
this
;
return
{
if
(
this
.
message
&&
this
.
type
)
{
body
:
""
,
this
.
flash
(
this
.
message
,
this
.
type
);
typeClass
:
""
,
}
show
:
false
};
},
window
.
events
.
$on
(
'
flash
'
,
function
(
message
,
type
)
{
created
()
{
context
.
flash
(
message
,
type
);
var
context
=
this
;
});
if
(
this
.
message
&&
this
.
type
)
{
},
this
.
flash
(
this
.
message
,
this
.
type
);
}
window
.
events
.
$on
(
"
flash
"
,
function
(
message
,
type
)
{
context
.
flash
(
message
,
type
);
});
},
methods
:
{
methods
:
{
flash
(
message
,
type
)
{
flash
(
message
,
type
)
{
this
.
body
=
message
;
this
.
body
=
message
;
this
.
typeClass
=
"
alert alert-
"
+
type
;
this
.
typeClass
=
"
alert alert-
"
+
type
;
this
.
show
=
true
;
this
.
show
=
true
;
this
.
hide
();
this
.
hide
();
},
},
hide
()
{
hide
()
{
setTimeout
(()
=>
{
setTimeout
(()
=>
{
this
.
show
=
false
;
this
.
show
=
false
;
},
3000
);
},
3000
);
}
}
}
}
}
};
</
script
>
</
script
>
resources/views/backend/access/includes/partials/permission-header-buttons.blade.php
View file @
f2cd486f
<!--Action Button-->
<!--Action Button-->
@if(Active::checkUriPattern('admin/access/permission'))
@if(Active::checkUriPattern('admin/access/permission'))
<div
class=
"btn-group"
>
<export-component></export-component>
<button
type=
"button"
class=
"btn btn-warning btn-flat dropdown-toggle"
data-toggle=
"dropdown"
>
Export
@endif
<span
class=
"caret"
></span>
<span
class=
"sr-only"
>
Toggle Dropdown
</span>
</button>
<ul
class=
"dropdown-menu"
role=
"menu"
>
<li
id=
"copyButton"
><a
href=
"#"
><i
class=
"fa fa-clone"
></i>
Copy
</a></li>
<li
id=
"csvButton"
><a
href=
"#"
><i
class=
"fa fa-file-text-o"
></i>
CSV
</a></li>
<li
id=
"excelButton"
><a
href=
"#"
><i
class=
"fa fa-file-excel-o"
></i>
Excel
</a></li>
<li
id=
"pdfButton"
><a
href=
"#"
><i
class=
"fa fa-file-pdf-o"
></i>
PDF
</a></li>
<li
id=
"printButton"
><a
href=
"#"
><i
class=
"fa fa-print"
></i>
Print
</a></li>
</ul>
</div>
@endif
<!--Action Button-->
<!--Action Button-->
<div
class=
"btn-group"
>
<div
class=
"btn-group"
>
<button
type=
"button"
class=
"btn btn-primary btn-flat dropdown-toggle"
data-toggle=
"dropdown"
>
Action
<button
type=
"button"
class=
"btn btn-primary btn-flat dropdown-toggle"
data-toggle=
"dropdown"
>
Action
...
...
resources/views/backend/blogcategories/partials/blogcategories-header-buttons.blade.php
View file @
f2cd486f
<!--Action Button-->
<!--Action Button-->
@if(Active::checkUriPattern('admin/blogCategories'))
@if(Active::checkUriPattern('admin/blogCategories'))
<div
class=
"btn-group"
>
<export-component></export-component>
<button
type=
"button"
class=
"btn btn-warning btn-flat dropdown-toggle"
data-toggle=
"dropdown"
>
Export
@endif
<span
class=
"caret"
></span>
<span
class=
"sr-only"
>
Toggle Dropdown
</span>
</button>
<ul
class=
"dropdown-menu"
role=
"menu"
>
<li
id=
"copyButton"
><a
href=
"#"
><i
class=
"fa fa-clone"
></i>
Copy
</a></li>
<li
id=
"csvButton"
><a
href=
"#"
><i
class=
"fa fa-file-text-o"
></i>
CSV
</a></li>
<li
id=
"excelButton"
><a
href=
"#"
><i
class=
"fa fa-file-excel-o"
></i>
Excel
</a></li>
<li
id=
"pdfButton"
><a
href=
"#"
><i
class=
"fa fa-file-pdf-o"
></i>
PDF
</a></li>
<li
id=
"printButton"
><a
href=
"#"
><i
class=
"fa fa-print"
></i>
Print
</a></li>
</ul>
</div>
@endif
<!--Action Button-->
<!--Action Button-->
<div
class=
"btn-group"
>
<div
class=
"btn-group"
>
<button
type=
"button"
class=
"btn btn-primary btn-flat dropdown-toggle"
data-toggle=
"dropdown"
>
Action
<button
type=
"button"
class=
"btn btn-primary btn-flat dropdown-toggle"
data-toggle=
"dropdown"
>
Action
...
...
resources/views/backend/blogs/partials/blogs-header-buttons.blade.php
View file @
f2cd486f
<!--Action Button-->
<!--Action Button-->
@if(Active::checkUriPattern('admin/blogs'))
@if(Active::checkUriPattern('admin/blogs'))
<div
class=
"btn-group"
>
<export-component></export-component>
<button
type=
"button"
class=
"btn btn-warning btn-flat dropdown-toggle"
data-toggle=
"dropdown"
>
Export
<span
class=
"caret"
></span>
<span
class=
"sr-only"
>
Toggle Dropdown
</span>
</button>
<ul
class=
"dropdown-menu"
role=
"menu"
>
<li
id=
"copyButton"
><a
href=
"#"
><i
class=
"fa fa-clone"
></i>
Copy
</a></li>
<li
id=
"csvButton"
><a
href=
"#"
><i
class=
"fa fa-file-text-o"
></i>
CSV
</a></li>
<li
id=
"excelButton"
><a
href=
"#"
><i
class=
"fa fa-file-excel-o"
></i>
Excel
</a></li>
<li
id=
"pdfButton"
><a
href=
"#"
><i
class=
"fa fa-file-pdf-o"
></i>
PDF
</a></li>
<li
id=
"printButton"
><a
href=
"#"
><i
class=
"fa fa-print"
></i>
Print
</a></li>
</ul>
</div>
@endif
@endif
<!--Action Button-->
<!--Action Button-->
<div
class=
"btn-group"
>
<div
class=
"btn-group"
>
...
...
resources/views/backend/blogtags/partials/blogtags-header-buttons.blade.php
View file @
f2cd486f
<!--Action Button-->
<!--Action Button-->
@if(Active::checkUriPattern('admin/blogTags'))
@if(Active::checkUriPattern('admin/blogTags'))
<div
class=
"btn-group"
>
<export-component></export-component>
<button
type=
"button"
class=
"btn btn-warning btn-flat dropdown-toggle"
data-toggle=
"dropdown"
>
Export
@endif
<span
class=
"caret"
></span>
<span
class=
"sr-only"
>
Toggle Dropdown
</span>
</button>
<ul
class=
"dropdown-menu"
role=
"menu"
>
<li
id=
"copyButton"
><a
href=
"#"
><i
class=
"fa fa-clone"
></i>
Copy
</a></li>
<li
id=
"csvButton"
><a
href=
"#"
><i
class=
"fa fa-file-text-o"
></i>
CSV
</a></li>
<li
id=
"excelButton"
><a
href=
"#"
><i
class=
"fa fa-file-excel-o"
></i>
Excel
</a></li>
<li
id=
"pdfButton"
><a
href=
"#"
><i
class=
"fa fa-file-pdf-o"
></i>
PDF
</a></li>
<li
id=
"printButton"
><a
href=
"#"
><i
class=
"fa fa-print"
></i>
Print
</a></li>
</ul>
</div>
@endif
<!--Action Button-->
<!--Action Button-->
<div
class=
"btn-group"
>
<div
class=
"btn-group"
>
<button
type=
"button"
class=
"btn btn-primary btn-flat dropdown-toggle"
data-toggle=
"dropdown"
>
Action
<button
type=
"button"
class=
"btn btn-primary btn-flat dropdown-toggle"
data-toggle=
"dropdown"
>
Action
...
...
resources/views/backend/faqs/index.blade.php
View file @
f2cd486f
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
<h3 class="
box
-
title
">{{ trans('labels.backend.faqs.management') }}</h3>
<h3 class="
box
-
title
">{{ trans('labels.backend.faqs.management') }}</h3>
<div class="
box
-
tools
pull
-
right
">
<div class="
box
-
tools
pull
-
right
">
@include('backend.
include
s.partials.faqs-header-buttons')
@include('backend.
faq
s.partials.faqs-header-buttons')
</div>
</div>
</div><!-- /.box-header -->
</div><!-- /.box-header -->
...
...
resources/views/backend/
include
s/partials/faqs-header-buttons.blade.php
→
resources/views/backend/
faq
s/partials/faqs-header-buttons.blade.php
100755 → 100644
View file @
f2cd486f
<!--Action Button-->
<!--Action Button-->
@if(Active::checkUriPattern('admin/faqs'))
@if(Active::checkUriPattern('admin/faqs'))
<div
class=
"btn-group"
>
<export-component></export-component>
<button
type=
"button"
class=
"btn btn-warning btn-flat dropdown-toggle"
data-toggle=
"dropdown"
>
Export
@endif
<span
class=
"caret"
></span>
<span
class=
"sr-only"
>
Toggle Dropdown
</span>
</button>
<ul
class=
"dropdown-menu"
role=
"menu"
>
<li
id=
"copyButton"
><a
href=
"#"
><i
class=
"fa fa-clone"
></i>
Copy
</a></li>
<li
id=
"csvButton"
><a
href=
"#"
><i
class=
"fa fa-file-text-o"
></i>
CSV
</a></li>
<li
id=
"excelButton"
><a
href=
"#"
><i
class=
"fa fa-file-excel-o"
></i>
Excel
</a></li>
<li
id=
"pdfButton"
><a
href=
"#"
><i
class=
"fa fa-file-pdf-o"
></i>
PDF
</a></li>
<li
id=
"printButton"
><a
href=
"#"
><i
class=
"fa fa-print"
></i>
Print
</a></li>
</ul>
</div>
@endif
<!--Action Button-->
<!--Action Button-->
<div
class=
"btn-group"
>
<div
class=
"btn-group"
>
<button
type=
"button"
class=
"btn btn-primary btn-flat dropdown-toggle"
data-toggle=
"dropdown"
>
Action
<button
type=
"button"
class=
"btn btn-primary btn-flat dropdown-toggle"
data-toggle=
"dropdown"
>
Action
...
...
resources/views/backend/menus/partials/header-buttons.blade.php
View file @
f2cd486f
<!--Action Button-->
<!--Action Button-->
@if(Active::checkUriPattern('admin/menus'))
@if(Active::checkUriPattern('admin/menus'))
<div
class=
"btn-group"
>
<export-component></export-component>
<button
type=
"button"
class=
"btn btn-warning btn-flat dropdown-toggle"
data-toggle=
"dropdown"
>
Export
@endif
<span
class=
"caret"
></span>
<span
class=
"sr-only"
>
Toggle Dropdown
</span>
</button>
<ul
class=
"dropdown-menu"
role=
"menu"
>
<li
id=
"copyButton"
><a
href=
"#"
><i
class=
"fa fa-clone"
></i>
Copy
</a></li>
<li
id=
"csvButton"
><a
href=
"#"
><i
class=
"fa fa-file-text-o"
></i>
CSV
</a></li>
<li
id=
"excelButton"
><a
href=
"#"
><i
class=
"fa fa-file-excel-o"
></i>
Excel
</a></li>
<li
id=
"pdfButton"
><a
href=
"#"
><i
class=
"fa fa-file-pdf-o"
></i>
PDF
</a></li>
<li
id=
"printButton"
><a
href=
"#"
><i
class=
"fa fa-print"
></i>
Print
</a></li>
</ul>
</div>
@endif
<!--Action Button-->
<!--Action Button-->
<div
class=
"btn-group"
>
<div
class=
"btn-group"
>
<button
type=
"button"
class=
"btn btn-primary btn-flat dropdown-toggle"
data-toggle=
"dropdown"
>
Action
<button
type=
"button"
class=
"btn btn-primary btn-flat dropdown-toggle"
data-toggle=
"dropdown"
>
Action
...
...
resources/views/backend/pages/partials/pages-header-buttons.blade.php
View file @
f2cd486f
<!--Action Button-->
<!--Action Button-->
@if(Active::checkUriPattern('admin/pages'))
@if(Active::checkUriPattern('admin/pages'))
<div
class=
"btn-group"
>
<export-component></export-component>
<button
type=
"button"
class=
"btn btn-warning btn-flat dropdown-toggle"
data-toggle=
"dropdown"
>
Export
@endif
<span
class=
"caret"
></span>
<span
class=
"sr-only"
>
Toggle Dropdown
</span>
</button>
<ul
class=
"dropdown-menu"
role=
"menu"
>
<li
id=
"copyButton"
><a
href=
"#"
><i
class=
"fa fa-clone"
></i>
Copy
</a></li>
<li
id=
"csvButton"
><a
href=
"#"
><i
class=
"fa fa-file-text-o"
></i>
CSV
</a></li>
<li
id=
"excelButton"
><a
href=
"#"
><i
class=
"fa fa-file-excel-o"
></i>
Excel
</a></li>
<li
id=
"pdfButton"
><a
href=
"#"
><i
class=
"fa fa-file-pdf-o"
></i>
PDF
</a></li>
<li
id=
"printButton"
><a
href=
"#"
><i
class=
"fa fa-print"
></i>
Print
</a></li>
</ul>
</div>
@endif
<!--Action Button-->
<!--Action Button-->
<div
class=
"btn-group"
>
<div
class=
"btn-group"
>
<button
type=
"button"
class=
"btn btn-primary btn-flat dropdown-toggle"
data-toggle=
"dropdown"
>
Action
<button
type=
"button"
class=
"btn btn-primary btn-flat dropdown-toggle"
data-toggle=
"dropdown"
>
Action
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment