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
Show 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 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
"This file is @generated automatically"
],
"content-hash": "
47881206fa716e06d6d48b9a4881de4e
",
"content-hash": "
529102fbc0fdd6142c7a86d0c99443c6
",
"packages": [
{
"name": "arcanedev/log-viewer",
...
...
@@ -623,16 +623,16 @@
},
{
"name": "doctrine/dbal",
"version": "v2.7.
0
",
"version": "v2.7.
1
",
"source": {
"type": "git",
"url": "https://github.com/doctrine/dbal.git",
"reference": "
f76bf5ef631cec551a86c2291fc749534febebf1
"
"reference": "
11037b4352c008373561dc6fc836834eed80c3b5
"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/doctrine/dbal/zipball/
f76bf5ef631cec551a86c2291fc749534febebf1
",
"reference": "
f76bf5ef631cec551a86c2291fc749534febebf1
",
"url": "https://api.github.com/repos/doctrine/dbal/zipball/
11037b4352c008373561dc6fc836834eed80c3b5
",
"reference": "
11037b4352c008373561dc6fc836834eed80c3b5
",
"shasum": ""
},
"require": {
...
...
@@ -694,7 +694,7 @@
"persistence",
"queryobject"
],
"time": "2018-04-0
1T23:33:17
+00:00"
"time": "2018-04-0
7T18:44:18
+00:00"
},
{
"name": "doctrine/inflector",
...
...
@@ -819,23 +819,23 @@
},
{
"name": "dragonmantank/cron-expression",
"version": "v2.
0
.0",
"version": "v2.
1
.0",
"source": {
"type": "git",
"url": "https://github.com/dragonmantank/cron-expression.git",
"reference": "
8a84aee649c3a3ba03a721c1fb080e08dfbcd68b
"
"reference": "
3f00985deec8df53d4cc1e5c33619bda1ee309a5
"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/dragonmantank/cron-expression/zipball/
8a84aee649c3a3ba03a721c1fb080e08dfbcd68b
",
"reference": "
8a84aee649c3a3ba03a721c1fb080e08dfbcd68b
",
"url": "https://api.github.com/repos/dragonmantank/cron-expression/zipball/
3f00985deec8df53d4cc1e5c33619bda1ee309a5
",
"reference": "
3f00985deec8df53d4cc1e5c33619bda1ee309a5
",
"shasum": ""
},
"require": {
"php": ">=7.0.0"
},
"require-dev": {
"phpunit/phpunit": "~
5.7
"
"phpunit/phpunit": "~
6.4
"
},
"type": "library",
"autoload": {
...
...
@@ -864,20 +864,20 @@
"cron",
"schedule"
],
"time": "201
7-10-12T15:59:13
+00:00"
"time": "201
8-04-06T15:51:55
+00:00"
},
{
"name": "egulias/email-validator",
"version": "2.1.
3
",
"version": "2.1.
4
",
"source": {
"type": "git",
"url": "https://github.com/egulias/EmailValidator.git",
"reference": "
1bec00a10039b823cc94eef4eddd47dcd3b2ca04
"
"reference": "
8790f594151ca6a2010c6218e09d96df67173ad3
"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/egulias/EmailValidator/zipball/
1bec00a10039b823cc94eef4eddd47dcd3b2ca04
",
"reference": "
1bec00a10039b823cc94eef4eddd47dcd3b2ca04
",
"url": "https://api.github.com/repos/egulias/EmailValidator/zipball/
8790f594151ca6a2010c6218e09d96df67173ad3
",
"reference": "
8790f594151ca6a2010c6218e09d96df67173ad3
",
"shasum": ""
},
"require": {
...
...
@@ -886,7 +886,7 @@
},
"require-dev": {
"dominicsayers/isemail": "dev-master",
"phpunit/phpunit": "^4.8.35",
"phpunit/phpunit": "^4.8.35
||^5.7||^6.0
",
"satooshi/php-coveralls": "^1.0.1"
},
"suggest": {
...
...
@@ -921,7 +921,7 @@
"validation",
"validator"
],
"time": "201
7-11-15T23:40:40
+00:00"
"time": "201
8-04-10T10:11:19
+00:00"
},
{
"name": "erusev/parsedown",
...
...
@@ -1426,16 +1426,16 @@
},
{
"name": "laravel/framework",
"version": "v5.6.1
5
",
"version": "v5.6.1
7
",
"source": {
"type": "git",
"url": "https://github.com/laravel/framework.git",
"reference": "
baa42cf6bdd942523fafece21ec16a1843c6db0f
"
"reference": "
0f787c763ae8fb9fae0c8c809830ba4fa81e2d9d
"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/laravel/framework/zipball/
baa42cf6bdd942523fafece21ec16a1843c6db0f
",
"reference": "
baa42cf6bdd942523fafece21ec16a1843c6db0f
",
"url": "https://api.github.com/repos/laravel/framework/zipball/
0f787c763ae8fb9fae0c8c809830ba4fa81e2d9d
",
"reference": "
0f787c763ae8fb9fae0c8c809830ba4fa81e2d9d
",
"shasum": ""
},
"require": {
...
...
@@ -1446,7 +1446,7 @@
"ext-openssl": "*",
"league/flysystem": "^1.0.8",
"monolog/monolog": "~1.12",
"nesbot/carbon": "
^1.24.1
",
"nesbot/carbon": "
1.25.*
",
"php": "^7.1.3",
"psr/container": "~1.0",
"psr/simple-cache": "^1.0",
...
...
@@ -1500,6 +1500,7 @@
"aws/aws-sdk-php": "~3.0",
"doctrine/dbal": "~2.6",
"filp/whoops": "^2.1.4",
"league/flysystem-cached-adapter": "~1.0",
"mockery/mockery": "~1.0",
"moontoast/math": "^1.1",
"orchestra/testbench-core": "3.6.*",
...
...
@@ -1518,7 +1519,7 @@
"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).",
"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-sftp": "Required to use the Flysystem SFTP driver (~1.0).",
"nexmo/client": "Required to use the Nexmo transport (~1.0).",
...
...
@@ -1560,7 +1561,7 @@
"framework",
"laravel"
],
"time": "2018-0
3-30T13:29:58
+00:00"
"time": "2018-0
4-17T12:51:04
+00:00"
},
{
"name": "laravel/socialite",
...
...
@@ -1626,16 +1627,16 @@
},
{
"name": "laravel/tinker",
"version": "v1.0.
5
",
"version": "v1.0.
6
",
"source": {
"type": "git",
"url": "https://github.com/laravel/tinker.git",
"reference": "
94f6daf2131508cebd11cd6f8632ba586d7ecc41
"
"reference": "
b22fe905fcefdffae76b011e27c7ac09e07e052b
"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/laravel/tinker/zipball/
94f6daf2131508cebd11cd6f8632ba586d7ecc41
",
"reference": "
94f6daf2131508cebd11cd6f8632ba586d7ecc41
",
"url": "https://api.github.com/repos/laravel/tinker/zipball/
b22fe905fcefdffae76b011e27c7ac09e07e052b
",
"reference": "
b22fe905fcefdffae76b011e27c7ac09e07e052b
",
"shasum": ""
},
"require": {
...
...
@@ -1643,7 +1644,7 @@
"illuminate/contracts": "~5.1",
"illuminate/support": "~5.1",
"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"
},
"require-dev": {
...
...
@@ -1685,20 +1686,20 @@
"laravel",
"psysh"
],
"time": "2018-0
3-06T17:34:36
+00:00"
"time": "2018-0
4-16T12:10:37
+00:00"
},
{
"name": "laravelcollective/html",
"version": "v5.6.
5
",
"version": "v5.6.
6
",
"source": {
"type": "git",
"url": "https://github.com/LaravelCollective/html.git",
"reference": "
623a150c91e2d3f92eeee9f9eda58a841e3cb548
"
"reference": "
b3a10245c791a211e5f8ec37117f4549cd22aabe
"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/LaravelCollective/html/zipball/
623a150c91e2d3f92eeee9f9eda58a841e3cb548
",
"reference": "
623a150c91e2d3f92eeee9f9eda58a841e3cb548
",
"url": "https://api.github.com/repos/LaravelCollective/html/zipball/
b3a10245c791a211e5f8ec37117f4549cd22aabe
",
"reference": "
b3a10245c791a211e5f8ec37117f4549cd22aabe
",
"shasum": ""
},
"require": {
...
...
@@ -1753,7 +1754,7 @@
],
"description": "HTML and Form Builders for the Laravel Framework",
"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",
...
...
@@ -1815,16 +1816,16 @@
},
{
"name": "league/flysystem",
"version": "1.0.4
3
",
"version": "1.0.4
4
",
"source": {
"type": "git",
"url": "https://github.com/thephpleague/flysystem.git",
"reference": "1
ce7cc142d906ba58dc54c82915d355a9191c8a8
"
"reference": "1
68dbe519737221dc87d17385cde33073881fd02
"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/thephpleague/flysystem/zipball/1
ce7cc142d906ba58dc54c82915d355a9191c8a8
",
"reference": "1
ce7cc142d906ba58dc54c82915d355a9191c8a8
",
"url": "https://api.github.com/repos/thephpleague/flysystem/zipball/1
68dbe519737221dc87d17385cde33073881fd02
",
"reference": "1
68dbe519737221dc87d17385cde33073881fd02
",
"shasum": ""
},
"require": {
...
...
@@ -1895,7 +1896,7 @@
"sftp",
"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",
...
...
@@ -2156,24 +2157,24 @@
},
{
"name": "nikic/php-parser",
"version": "v
3.1.5
",
"version": "v
4.0.1
",
"source": {
"type": "git",
"url": "https://github.com/nikic/PHP-Parser.git",
"reference": "
bb87e28e7d7b8d9a7fda231d37457c9210faf6ce
"
"reference": "
e4a54fa90a5cd8e8dd3fb4099942681731c5cdd3
"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/
bb87e28e7d7b8d9a7fda231d37457c9210faf6ce
",
"reference": "
bb87e28e7d7b8d9a7fda231d37457c9210faf6ce
",
"url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/
e4a54fa90a5cd8e8dd3fb4099942681731c5cdd3
",
"reference": "
e4a54fa90a5cd8e8dd3fb4099942681731c5cdd3
",
"shasum": ""
},
"require": {
"ext-tokenizer": "*",
"php": ">=
5.5
"
"php": ">=
7.0
"
},
"require-dev": {
"phpunit/phpunit": "
~4.0|~5
.0"
"phpunit/phpunit": "
^6.5 || ^7
.0"
},
"bin": [
"bin/php-parse"
...
...
@@ -2181,7 +2182,7 @@
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "
3
.0-dev"
"dev-master": "
4
.0-dev"
}
},
"autoload": {
...
...
@@ -2203,20 +2204,20 @@
"parser",
"php"
],
"time": "2018-0
2-28T20:30:58
+00:00"
"time": "2018-0
3-25T17:35:16
+00:00"
},
{
"name": "paragonie/random_compat",
"version": "v2.0.1
1
",
"version": "v2.0.1
2
",
"source": {
"type": "git",
"url": "https://github.com/paragonie/random_compat.git",
"reference": "
5da4d3c796c275c55f057af5a643ae297d96b4d8
"
"reference": "
258c89a6b97de7dfaf5b8c7607d0478e236b04fb
"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/paragonie/random_compat/zipball/
5da4d3c796c275c55f057af5a643ae297d96b4d8
",
"reference": "
5da4d3c796c275c55f057af5a643ae297d96b4d8
",
"url": "https://api.github.com/repos/paragonie/random_compat/zipball/
258c89a6b97de7dfaf5b8c7607d0478e236b04fb
",
"reference": "
258c89a6b97de7dfaf5b8c7607d0478e236b04fb
",
"shasum": ""
},
"require": {
...
...
@@ -2251,7 +2252,7 @@
"pseudorandom",
"random"
],
"time": "201
7-09-27T21:40:39
+00:00"
"time": "201
8-04-04T21:24:14
+00:00"
},
{
"name": "psr/container",
...
...
@@ -2449,29 +2450,29 @@
},
{
"name": "psy/psysh",
"version": "v0.
8.18
",
"version": "v0.
9.3
",
"source": {
"type": "git",
"url": "https://github.com/bobthecow/psysh.git",
"reference": "
5357b1cffc8fb375d6a9e3c86d5c82dd38a4083
4"
"reference": "
79c280013cf0b30fa23f3ba8bd3649218075adf
4"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/bobthecow/psysh/zipball/
5357b1cffc8fb375d6a9e3c86d5c82dd38a4083
4",
"reference": "
5357b1cffc8fb375d6a9e3c86d5c82dd38a4083
4",
"url": "https://api.github.com/repos/bobthecow/psysh/zipball/
79c280013cf0b30fa23f3ba8bd3649218075adf
4",
"reference": "
79c280013cf0b30fa23f3ba8bd3649218075adf
4",
"shasum": ""
},
"require": {
"dnoegel/php-xdg-base-dir": "0.1",
"jakub-onderka/php-console-highlighter": "0.3.*",
"nikic/php-parser": "~1.3|~2.0|~3.0",
"php": ">=5.
3.9
",
"nikic/php-parser": "~1.3|~2.0|~3.0
|~4.0
",
"php": ">=5.
4.0
",
"symfony/console": "~2.3.10|^2.4.2|~3.0|~4.0",
"symfony/var-dumper": "~2.7|~3.0|~4.0"
},
"require-dev": {
"hoa/console": "~
3.16|~1.14
",
"phpunit/phpunit": "
^4.8.35|^5.4.3
",
"hoa/console": "~
2.15|~3.16
",
"phpunit/phpunit": "
~4.8.35|~5.0|~6.0|~7.0
",
"symfony/finder": "~2.1|~3.0|~4.0"
},
"suggest": {
...
...
@@ -2487,15 +2488,15 @@
"type": "library",
"extra": {
"branch-alias": {
"dev-develop": "0.
8
.x-dev"
"dev-develop": "0.
9
.x-dev"
}
},
"autoload": {
"files": [
"src/
Psy/
functions.php"
"src/functions.php"
],
"psr-4": {
"Psy\\": "src/
Psy/
"
"Psy\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
...
...
@@ -2517,7 +2518,7 @@
"interactive",
"shell"
],
"time": "2018-04-
02T05:41:44
+00:00"
"time": "2018-04-
18T12:32:50
+00:00"
},
{
"name": "ramsey/uuid",
...
...
@@ -2715,7 +2716,7 @@
},
{
"name": "symfony/console",
"version": "v4.0.
7
",
"version": "v4.0.
8
",
"source": {
"type": "git",
"url": "https://github.com/symfony/console.git",
...
...
@@ -2783,7 +2784,7 @@
},
{
"name": "symfony/css-selector",
"version": "v4.0.
7
",
"version": "v4.0.
8
",
"source": {
"type": "git",
"url": "https://github.com/symfony/css-selector.git",
...
...
@@ -2836,7 +2837,7 @@
},
{
"name": "symfony/debug",
"version": "v4.0.
7
",
"version": "v4.0.
8
",
"source": {
"type": "git",
"url": "https://github.com/symfony/debug.git",
...
...
@@ -2892,16 +2893,16 @@
},
{
"name": "symfony/event-dispatcher",
"version": "v4.0.
7
",
"version": "v4.0.
8
",
"source": {
"type": "git",
"url": "https://github.com/symfony/event-dispatcher.git",
"reference": "
85eaf6a8ec915487abac52e133efc4a268204428
"
"reference": "
63353a71073faf08f62caab4e6889b06a787f07b
"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/
85eaf6a8ec915487abac52e133efc4a268204428
",
"reference": "
85eaf6a8ec915487abac52e133efc4a268204428
",
"url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/
63353a71073faf08f62caab4e6889b06a787f07b
",
"reference": "
63353a71073faf08f62caab4e6889b06a787f07b
",
"shasum": ""
},
"require": {
...
...
@@ -2951,20 +2952,20 @@
],
"description": "Symfony EventDispatcher Component",
"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",
"version": "v4.0.
7
",
"version": "v4.0.
8
",
"source": {
"type": "git",
"url": "https://github.com/symfony/finder.git",
"reference": "c
72995d9f5999b3fcdd8660c0c9690243252e1e1
"
"reference": "c
a27c02b7a3fef4828c998c2ff9ba7aae1641c49
"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/finder/zipball/c
72995d9f5999b3fcdd8660c0c9690243252e1e1
",
"reference": "c
72995d9f5999b3fcdd8660c0c9690243252e1e1
",
"url": "https://api.github.com/repos/symfony/finder/zipball/c
a27c02b7a3fef4828c998c2ff9ba7aae1641c49
",
"reference": "c
a27c02b7a3fef4828c998c2ff9ba7aae1641c49
",
"shasum": ""
},
"require": {
...
...
@@ -3000,11 +3001,11 @@
],
"description": "Symfony Finder Component",
"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",
"version": "v4.0.
7
",
"version": "v4.0.
8
",
"source": {
"type": "git",
"url": "https://github.com/symfony/http-foundation.git",
...
...
@@ -3057,16 +3058,16 @@
},
{
"name": "symfony/http-kernel",
"version": "v4.0.
7
",
"version": "v4.0.
8
",
"source": {
"type": "git",
"url": "https://github.com/symfony/http-kernel.git",
"reference": "
38337d03a554a2b0e9f553d368723692b7c04a8f
"
"reference": "
6dd620d96d64456075536ffe3c6c4658dd689021
"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/http-kernel/zipball/
38337d03a554a2b0e9f553d368723692b7c04a8f
",
"reference": "
38337d03a554a2b0e9f553d368723692b7c04a8f
",
"url": "https://api.github.com/repos/symfony/http-kernel/zipball/
6dd620d96d64456075536ffe3c6c4658dd689021
",
"reference": "
6dd620d96d64456075536ffe3c6c4658dd689021
",
"shasum": ""
},
"require": {
...
...
@@ -3139,7 +3140,7 @@
],
"description": "Symfony HttpKernel Component",
"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",
...
...
@@ -3365,7 +3366,7 @@
},
{
"name": "symfony/process",
"version": "v4.0.
7
",
"version": "v4.0.
8
",
"source": {
"type": "git",
"url": "https://github.com/symfony/process.git",
...
...
@@ -3414,16 +3415,16 @@
},
{
"name": "symfony/routing",
"version": "v4.0.
7
",
"version": "v4.0.
8
",
"source": {
"type": "git",
"url": "https://github.com/symfony/routing.git",
"reference": "
ca780c838046bfef4a6fd50284ae71a5d1f1a8b2
"
"reference": "
0663036dd57dbfd4e9ff29f75bbd5dd3253ebe71
"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/routing/zipball/
ca780c838046bfef4a6fd50284ae71a5d1f1a8b2
",
"reference": "
ca780c838046bfef4a6fd50284ae71a5d1f1a8b2
",
"url": "https://api.github.com/repos/symfony/routing/zipball/
0663036dd57dbfd4e9ff29f75bbd5dd3253ebe71
",
"reference": "
0663036dd57dbfd4e9ff29f75bbd5dd3253ebe71
",
"shasum": ""
},
"require": {
...
...
@@ -3488,11 +3489,11 @@
"uri",
"url"
],
"time": "2018-04-0
2T09:52:41
+00:00"
"time": "2018-04-0
4T13:50:32
+00:00"
},
{
"name": "symfony/translation",
"version": "v4.0.
7
",
"version": "v4.0.
8
",
"source": {
"type": "git",
"url": "https://github.com/symfony/translation.git",
...
...
@@ -3560,16 +3561,16 @@
},
{
"name": "symfony/var-dumper",
"version": "v4.0.
7
",
"version": "v4.0.
8
",
"source": {
"type": "git",
"url": "https://github.com/symfony/var-dumper.git",
"reference": "
f9b257f2009c7f09166bcfd3d3d96455741ed371
"
"reference": "
e1b4d008100f4d203cc38b0d793ad6252d8d8af0
"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/var-dumper/zipball/
f9b257f2009c7f09166bcfd3d3d96455741ed371
",
"reference": "
f9b257f2009c7f09166bcfd3d3d96455741ed371
",
"url": "https://api.github.com/repos/symfony/var-dumper/zipball/
e1b4d008100f4d203cc38b0d793ad6252d8d8af0
",
"reference": "
e1b4d008100f4d203cc38b0d793ad6252d8d8af0
",
"shasum": ""
},
"require": {
...
...
@@ -3625,7 +3626,7 @@
"debug",
"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",
...
...
@@ -3875,16 +3876,16 @@
},
{
"name": "yajra/laravel-datatables-oracle",
"version": "v8.4.
2
",
"version": "v8.4.
3
",
"source": {
"type": "git",
"url": "https://github.com/yajra/laravel-datatables.git",
"reference": "
eab6cc583ae778d056c5caf21b70db803d956e14
"
"reference": "
9a87175e5ca02627aec98ec767fce5f5cbc98177
"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/yajra/laravel-datatables/zipball/
eab6cc583ae778d056c5caf21b70db803d956e14
",
"reference": "
eab6cc583ae778d056c5caf21b70db803d956e14
",
"url": "https://api.github.com/repos/yajra/laravel-datatables/zipball/
9a87175e5ca02627aec98ec767fce5f5cbc98177
",
"reference": "
9a87175e5ca02627aec98ec767fce5f5cbc98177
",
"shasum": ""
},
"require": {
...
...
@@ -3942,7 +3943,7 @@
"jquery",
"laravel"
],
"time": "2018-0
3-28T16:31:13
+00:00"
"time": "2018-0
4-05T14:51:57
+00:00"
}
],
"packages-dev": [
...
...
@@ -4016,16 +4017,16 @@
},
{
"name": "bvipul/generator",
"version": "
0.9.3
",
"version": "
dev-master
",
"source": {
"type": "git",
"url": "https://github.com/bvipul/generator.git",
"reference": "
9aa7d1aa9c2c748fa3890ab25628ea2cd7042103
"
"reference": "
18b79a924aa40ee0c199c0cd65a454db1be55d42
"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/bvipul/generator/zipball/
9aa7d1aa9c2c748fa3890ab25628ea2cd7042103
",
"reference": "
9aa7d1aa9c2c748fa3890ab25628ea2cd7042103
",
"url": "https://api.github.com/repos/bvipul/generator/zipball/
18b79a924aa40ee0c199c0cd65a454db1be55d42
",
"reference": "
18b79a924aa40ee0c199c0cd65a454db1be55d42
",
"shasum": ""
},
"type": "package",
...
...
@@ -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.",
"time": "201
7-12-16T18:48:20
+00:00"
"time": "201
8-04-13T17:56:21
+00:00"
},
{
"name": "codedungeon/phpunit-result-printer",
...
...
@@ -4838,23 +4839,23 @@
},
{
"name": "phpspec/prophecy",
"version": "1.7.
5
",
"version": "1.7.
6
",
"source": {
"type": "git",
"url": "https://github.com/phpspec/prophecy.git",
"reference": "
dfd6be44111a7c41c2e884a336cc4f461b3b2401
"
"reference": "
33a7e3c4fda54e912ff6338c48823bd5c0f0b712
"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpspec/prophecy/zipball/
dfd6be44111a7c41c2e884a336cc4f461b3b2401
",
"reference": "
dfd6be44111a7c41c2e884a336cc4f461b3b2401
",
"url": "https://api.github.com/repos/phpspec/prophecy/zipball/
33a7e3c4fda54e912ff6338c48823bd5c0f0b712
",
"reference": "
33a7e3c4fda54e912ff6338c48823bd5c0f0b712
",
"shasum": ""
},
"require": {
"doctrine/instantiator": "^1.0.2",
"php": "^5.3|^7.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"
},
"require-dev": {
...
...
@@ -4897,20 +4898,20 @@
"spy",
"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",
"version": "6.0.
1
",
"version": "6.0.
3
",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/php-code-coverage.git",
"reference": "
f8ca4b604baf23dab89d87773c28cc07405189ba
"
"reference": "
774a82c0c5da4c1c7701790c262035d235ab7856
"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/
f8ca4b604baf23dab89d87773c28cc07405189ba
",
"reference": "
f8ca4b604baf23dab89d87773c28cc07405189ba
",
"url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/
774a82c0c5da4c1c7701790c262035d235ab7856
",
"reference": "
774a82c0c5da4c1c7701790c262035d235ab7856
",
"shasum": ""
},
"require": {
...
...
@@ -4921,7 +4922,7 @@
"phpunit/php-text-template": "^1.2.1",
"phpunit/php-token-stream": "^3.0",
"sebastian/code-unit-reverse-lookup": "^1.0.1",
"sebastian/environment": "^3.
0
",
"sebastian/environment": "^3.
1
",
"sebastian/version": "^2.0.1",
"theseer/tokenizer": "^1.1"
},
...
...
@@ -4960,7 +4961,7 @@
"testing",
"xunit"
],
"time": "2018-0
2-02T07:01:41
+00:00"
"time": "2018-0
4-06T15:39:20
+00:00"
},
{
"name": "phpunit/php-file-iterator",
...
...
@@ -5150,16 +5151,16 @@
},
{
"name": "phpunit/phpunit",
"version": "7.
0.3
",
"version": "7.
1.4
",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/phpunit.git",
"reference": "
536f4d853c12d8189963435088e8ff7c0daeab2e
"
"reference": "
6d51299e307dc510149e0b7cd1931dd11770e1cb
"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/
536f4d853c12d8189963435088e8ff7c0daeab2e
",
"reference": "
536f4d853c12d8189963435088e8ff7c0daeab2e
",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/
6d51299e307dc510149e0b7cd1931dd11770e1cb
",
"reference": "
6d51299e307dc510149e0b7cd1931dd11770e1cb
",
"shasum": ""
},
"require": {
...
...
@@ -5177,8 +5178,8 @@
"phpunit/php-file-iterator": "^1.4.3",
"phpunit/php-text-template": "^1.2.1",
"phpunit/php-timer": "^2.0",
"phpunit/phpunit-mock-objects": "^6.
0
",
"sebastian/comparator": "^2.1",
"phpunit/phpunit-mock-objects": "^6.
1.1
",
"sebastian/comparator": "^2.1
|| ^3.0
",
"sebastian/diff": "^3.0",
"sebastian/environment": "^3.1",
"sebastian/exporter": "^3.1",
...
...
@@ -5200,7 +5201,7 @@
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "7.
0
-dev"
"dev-master": "7.
1
-dev"
}
},
"autoload": {
...
...
@@ -5226,20 +5227,20 @@
"testing",
"xunit"
],
"time": "2018-0
3-26T07:36:48
+00:00"
"time": "2018-0
4-18T13:41:53
+00:00"
},
{
"name": "phpunit/phpunit-mock-objects",
"version": "6.
0
.1",
"version": "6.
1
.1",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git",
"reference": "
e3249dedc2d99259ccae6affbc2684eac37c2e53
"
"reference": "
70c740bde8fd9ea9ea295be1cd875dd7b267e157
"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/
e3249dedc2d99259ccae6affbc2684eac37c2e53
",
"reference": "
e3249dedc2d99259ccae6affbc2684eac37c2e53
",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/
70c740bde8fd9ea9ea295be1cd875dd7b267e157
",
"reference": "
70c740bde8fd9ea9ea295be1cd875dd7b267e157
",
"shasum": ""
},
"require": {
...
...
@@ -5257,7 +5258,7 @@
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "6.
0.x
-dev"
"dev-master": "6.
1
-dev"
}
},
"autoload": {
...
...
@@ -5282,7 +5283,7 @@
"mock",
"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",
...
...
@@ -5331,30 +5332,30 @@
},
{
"name": "sebastian/comparator",
"version": "
2.1.3
",
"version": "
3.0.0
",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/comparator.git",
"reference": "
34369daee48eafb2651bea869b4b15d75ccc35f9
"
"reference": "
ed5fd2281113729f1ebcc64d101ad66028aeb3d5
"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/
34369daee48eafb2651bea869b4b15d75ccc35f9
",
"reference": "
34369daee48eafb2651bea869b4b15d75ccc35f9
",
"url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/
ed5fd2281113729f1ebcc64d101ad66028aeb3d5
",
"reference": "
ed5fd2281113729f1ebcc64d101ad66028aeb3d5
",
"shasum": ""
},
"require": {
"php": "^7.
0
",
"sebastian/diff": "^
2.0 || ^
3.0",
"php": "^7.
1
",
"sebastian/diff": "^3.0",
"sebastian/exporter": "^3.1"
},
"require-dev": {
"phpunit/phpunit": "^
6.4
"
"phpunit/phpunit": "^
7.1
"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "
2.1.x
-dev"
"dev-master": "
3.0
-dev"
}
},
"autoload": {
...
...
@@ -5391,7 +5392,7 @@
"compare",
"equality"
],
"time": "2018-0
2-01T13:46:46
+00:00"
"time": "2018-0
4-18T13:33:00
+00:00"
},
{
"name": "sebastian/diff",
...
...
@@ -5849,7 +5850,7 @@
},
{
"name": "symfony/dom-crawler",
"version": "v4.0.
7
",
"version": "v4.0.
8
",
"source": {
"type": "git",
"url": "https://github.com/symfony/dom-crawler.git",
...
...
@@ -5905,7 +5906,7 @@
},
{
"name": "symfony/yaml",
"version": "v4.0.
7
",
"version": "v4.0.
8
",
"source": {
"type": "git",
"url": "https://github.com/symfony/yaml.git",
...
...
@@ -6161,7 +6162,8 @@
"aliases": [],
"minimum-stability": "stable",
"stability-flags": {
"tymon/jwt-auth": 20
"tymon/jwt-auth": 20,
"bvipul/generator": 20
},
"prefer-stable": false,
"prefer-lowest": false,
...
...
resources/assets/js/backend/app.js
View file @
f2cd486f
...
...
@@ -150,7 +150,7 @@ $.AdminLTE.options = {
* functions and plugins as specified by the
* options above.
*/
$
(
function
()
{
$
(
function
()
{
//Extend options if external options exist
if
(
typeof
AdminLTEOptions
!==
'
undefined
'
)
{
$
.
extend
(
true
,
...
...
@@ -208,7 +208,7 @@ $(function () {
//Activate direct chat widget
if
(
o
.
directChat
.
enable
)
{
$
(
o
.
directChat
.
contactToggleSelector
).
on
(
'
click
'
,
function
()
{
$
(
o
.
directChat
.
contactToggleSelector
).
on
(
'
click
'
,
function
()
{
var
box
=
$
(
this
).
parents
(
'
.direct-chat
'
).
first
();
box
.
toggleClass
(
'
direct-chat-contacts-open
'
);
});
...
...
@@ -218,9 +218,9 @@ $(function () {
* INITIALIZE BUTTON TOGGLE
* ------------------------
*/
$
(
'
.btn-group[data-toggle="btn-toggle"]
'
).
each
(
function
()
{
$
(
'
.btn-group[data-toggle="btn-toggle"]
'
).
each
(
function
()
{
var
group
=
$
(
this
);
$
(
this
).
find
(
'
.btn
'
).
on
(
'
click
'
,
function
(
e
)
{
$
(
this
).
find
(
'
.btn
'
).
on
(
'
click
'
,
function
(
e
)
{
group
.
find
(
'
.btn.active
'
).
removeClass
(
'
active
'
);
$
(
this
).
addClass
(
'
active
'
);
e
.
preventDefault
();
...
...
@@ -246,16 +246,16 @@ function _init() {
* $.AdminLTE.layout.fixSidebar()
*/
$
.
AdminLTE
.
layout
=
{
activate
:
function
()
{
activate
:
function
()
{
var
_this
=
this
;
_this
.
fix
();
_this
.
fixSidebar
();
$
(
window
,
'
.wrapper
'
).
resize
(
function
()
{
$
(
window
,
'
.wrapper
'
).
resize
(
function
()
{
_this
.
fix
();
_this
.
fixSidebar
();
});
},
fix
:
function
()
{
fix
:
function
()
{
//Get window height and the wrapper height
var
neg
=
$
(
'
.main-header
'
).
outerHeight
()
+
$
(
'
.main-footer
'
).
outerHeight
();
var
windowHeight
=
$
(
window
).
height
();
...
...
@@ -284,11 +284,13 @@ function _init() {
}
},
fixSidebar
:
function
()
{
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
'
);
$
(
'
.sidebar
'
).
slimScroll
({
destroy
:
true
}).
height
(
'
auto
'
);
}
return
;
}
else
if
(
typeof
$
.
fn
.
slimScroll
===
'
undefined
'
&&
console
)
{
...
...
@@ -298,7 +300,9 @@ function _init() {
if
(
$
.
AdminLTE
.
options
.
sidebarSlimScroll
)
{
if
(
typeof
$
.
fn
.
slimScroll
!==
'
undefined
'
)
{
//Destroy if it exists
$
(
'
.sidebar
'
).
slimScroll
({
destroy
:
true
}).
height
(
'
auto
'
);
$
(
'
.sidebar
'
).
slimScroll
({
destroy
:
true
}).
height
(
'
auto
'
);
//Add slimscroll
$
(
'
.sidebar
'
).
slimscroll
({
height
:
(
$
(
window
).
height
()
-
$
(
'
.main-header
'
).
height
())
+
'
px
'
,
...
...
@@ -318,12 +322,12 @@ function _init() {
* @usage: $.AdminLTE.pushMenu("[data-toggle='offcanvas']")
*/
$
.
AdminLTE
.
pushMenu
=
{
activate
:
function
(
toggleBtn
)
{
activate
:
function
(
toggleBtn
)
{
//Get the screen sizes
var
screenSizes
=
$
.
AdminLTE
.
options
.
screenSizes
;
//Enable sidebar toggle
$
(
toggleBtn
).
on
(
'
click
'
,
function
(
e
)
{
$
(
toggleBtn
).
on
(
'
click
'
,
function
(
e
)
{
e
.
preventDefault
();
//Enable sidebar push menu
...
...
@@ -341,7 +345,7 @@ function _init() {
}
});
$
(
'
.content-wrapper
'
).
click
(
function
()
{
$
(
'
.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
'
);
...
...
@@ -355,17 +359,17 @@ function _init() {
}
},
expandOnHover
:
function
()
{
expandOnHover
:
function
()
{
var
_this
=
this
;
var
screenWidth
=
$
.
AdminLTE
.
options
.
screenSizes
.
sm
-
1
;
//Expand sidebar on hover
$
(
'
.main-sidebar
'
).
hover
(
function
()
{
$
(
'
.main-sidebar
'
).
hover
(
function
()
{
if
(
$
(
'
body
'
).
hasClass
(
'
sidebar-mini
'
)
&&
$
(
'
body
'
).
hasClass
(
'
sidebar-collapse
'
)
&&
$
(
window
).
width
()
>
screenWidth
)
{
_this
.
expand
();
}
},
function
()
{
},
function
()
{
if
(
$
(
'
body
'
).
hasClass
(
'
sidebar-mini
'
)
&&
$
(
'
body
'
).
hasClass
(
'
sidebar-expanded-on-hover
'
)
&&
$
(
window
).
width
()
>
screenWidth
)
{
...
...
@@ -373,10 +377,10 @@ function _init() {
}
});
},
expand
:
function
()
{
expand
:
function
()
{
$
(
'
body
'
).
removeClass
(
'
sidebar-collapse
'
).
addClass
(
'
sidebar-expanded-on-hover
'
);
},
collapse
:
function
()
{
collapse
:
function
()
{
if
(
$
(
'
body
'
).
hasClass
(
'
sidebar-expanded-on-hover
'
))
{
$
(
'
body
'
).
removeClass
(
'
sidebar-expanded-on-hover
'
).
addClass
(
'
sidebar-collapse
'
);
}
...
...
@@ -391,10 +395,10 @@ function _init() {
* @type Function
* @Usage: $.AdminLTE.tree('.sidebar')
*/
$
.
AdminLTE
.
tree
=
function
(
menu
)
{
$
.
AdminLTE
.
tree
=
function
(
menu
)
{
var
_this
=
this
;
var
animationSpeed
=
$
.
AdminLTE
.
options
.
animationSpeed
;
$
(
'
li a
'
,
$
(
menu
)).
on
(
'
click
'
,
function
(
e
)
{
$
(
'
li a
'
,
$
(
menu
)).
on
(
'
click
'
,
function
(
e
)
{
//Get the clicked link and the next element
var
$this
=
$
(
this
);
var
checkElement
=
$this
.
next
();
...
...
@@ -402,7 +406,7 @@ function _init() {
//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
.
slideUp
(
animationSpeed
,
function
()
{
checkElement
.
removeClass
(
'
menu-open
'
);
//Fix the layout in case the sidebar stretches over the height of the window
//_this.layout.fix();
...
...
@@ -421,7 +425,7 @@ function _init() {
var
liParent
=
$this
.
parent
(
'
li
'
);
//Open the target menu and add the menu-open class
checkElement
.
slideDown
(
animationSpeed
,
function
()
{
checkElement
.
slideDown
(
animationSpeed
,
function
()
{
//Add the class active to the parent li
checkElement
.
addClass
(
'
menu-open
'
);
parent
.
find
(
'
li.active
'
).
removeClass
(
'
active
'
);
...
...
@@ -446,7 +450,7 @@ function _init() {
*/
$
.
AdminLTE
.
controlSidebar
=
{
//instantiate the object
activate
:
function
()
{
activate
:
function
()
{
//Get the object
var
_this
=
this
;
//Update options
...
...
@@ -457,7 +461,7 @@ function _init() {
var
btn
=
$
(
o
.
toggleBtnSelector
);
//Listen to the click event
btn
.
on
(
'
click
'
,
function
(
e
)
{
btn
.
on
(
'
click
'
,
function
(
e
)
{
e
.
preventDefault
();
//If the sidebar is not open
if
(
!
sidebar
.
hasClass
(
'
control-sidebar-open
'
)
&&
!
$
(
'
body
'
).
hasClass
(
'
control-sidebar-open
'
))
{
...
...
@@ -483,7 +487,7 @@ function _init() {
}
},
//Open the control sidebar
open
:
function
(
sidebar
,
slide
)
{
open
:
function
(
sidebar
,
slide
)
{
// var _this = this;
//Slide over content
if
(
slide
)
{
...
...
@@ -495,19 +499,19 @@ function _init() {
}
},
//Close the control sidebar
close
:
function
(
sidebar
,
slide
)
{
close
:
function
(
sidebar
,
slide
)
{
if
(
slide
)
{
sidebar
.
removeClass
(
'
control-sidebar-open
'
);
}
else
{
$
(
'
body
'
).
removeClass
(
'
control-sidebar-open
'
);
}
},
_fix
:
function
(
sidebar
)
{
_fix
:
function
(
sidebar
)
{
var
_this
=
this
;
if
(
$
(
'
body
'
).
hasClass
(
'
layout-boxed
'
))
{
sidebar
.
css
(
'
position
'
,
'
absolute
'
);
sidebar
.
height
(
$
(
'
.wrapper
'
).
height
());
$
(
window
).
resize
(
function
()
{
$
(
window
).
resize
(
function
()
{
_this
.
_fix
(
sidebar
);
});
}
else
{
...
...
@@ -517,7 +521,7 @@ function _init() {
});
}
},
_fixForFixed
:
function
(
sidebar
)
{
_fixForFixed
:
function
(
sidebar
)
{
sidebar
.
css
({
'
position
'
:
'
fixed
'
,
'
max-height
'
:
'
100%
'
,
...
...
@@ -525,7 +529,7 @@ function _init() {
'
padding-bottom
'
:
'
50px
'
});
},
_fixForContent
:
function
(
sidebar
)
{
_fixForContent
:
function
(
sidebar
)
{
$
(
'
.content-wrapper, .right-side
'
).
css
(
'
min-height
'
,
sidebar
.
height
());
}
};
...
...
@@ -543,24 +547,24 @@ function _init() {
selectors
:
$
.
AdminLTE
.
options
.
boxWidgetOptions
.
boxWidgetSelectors
,
icons
:
$
.
AdminLTE
.
options
.
boxWidgetOptions
.
boxWidgetIcons
,
animationSpeed
:
$
.
AdminLTE
.
options
.
animationSpeed
,
activate
:
function
(
_box
)
{
activate
:
function
(
_box
)
{
var
_this
=
this
;
if
(
!
_box
)
{
if
(
!
_box
)
{
_box
=
document
;
// activate all boxes per default
}
//Listen for collapse event triggers
$
(
_box
).
find
(
_this
.
selectors
.
collapse
).
on
(
'
click
'
,
function
(
e
)
{
$
(
_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
)
{
$
(
_box
).
find
(
_this
.
selectors
.
remove
).
on
(
'
click
'
,
function
(
e
)
{
e
.
preventDefault
();
_this
.
remove
(
$
(
this
));
});
},
collapse
:
function
(
element
)
{
collapse
:
function
(
element
)
{
var
_this
=
this
;
//Find the box parent
var
box
=
element
.
parents
(
'
.box
'
).
first
();
...
...
@@ -572,7 +576,7 @@ function _init() {
.
removeClass
(
_this
.
icons
.
collapse
)
.
addClass
(
_this
.
icons
.
open
);
//Hide the content
boxContent
.
slideUp
(
_this
.
animationSpeed
,
function
()
{
boxContent
.
slideUp
(
_this
.
animationSpeed
,
function
()
{
box
.
addClass
(
'
collapsed-box
'
);
});
}
else
{
...
...
@@ -581,12 +585,12 @@ function _init() {
.
removeClass
(
_this
.
icons
.
open
)
.
addClass
(
_this
.
icons
.
collapse
);
//Show the content
boxContent
.
slideDown
(
_this
.
animationSpeed
,
function
()
{
boxContent
.
slideDown
(
_this
.
animationSpeed
,
function
()
{
box
.
removeClass
(
'
collapsed-box
'
);
});
}
},
remove
:
function
(
element
)
{
remove
:
function
(
element
)
{
//Find the box parent
var
box
=
element
.
parents
(
'
.box
'
).
first
();
box
.
slideUp
(
this
.
animationSpeed
);
...
...
@@ -609,9 +613,9 @@ function _init() {
* @type plugin
* @usage $('#box-widget').boxRefresh( options );
*/
(
function
(
$
)
{
(
function
(
$
)
{
$
.
fn
.
boxRefresh
=
function
(
options
)
{
$
.
fn
.
boxRefresh
=
function
(
options
)
{
// Render options
var
settings
=
$
.
extend
({
...
...
@@ -620,17 +624,15 @@ function _init() {
//File source to be loaded (e.g: ajax/src.php)
source
:
''
,
//Callbacks
onLoadStart
:
function
(
box
)
{
},
//Right after the button has been clicked
onLoadDone
:
function
(
box
)
{
}
//When the source has been loaded
onLoadStart
:
function
(
box
)
{},
//Right after the button has been clicked
onLoadDone
:
function
(
box
)
{}
//When the source has been loaded
},
options
);
//The overlay
var
overlay
=
$
(
'
<div class="overlay"><div class="fa fa-refresh fa-spin"></div></div>
'
);
return
this
.
each
(
function
()
{
return
this
.
each
(
function
()
{
//if a source is specified
if
(
settings
.
source
===
''
)
{
if
(
console
)
{
...
...
@@ -644,13 +646,13 @@ function _init() {
var
rBtn
=
box
.
find
(
settings
.
trigger
).
first
();
//On trigger click
rBtn
.
on
(
'
click
'
,
function
(
e
)
{
rBtn
.
on
(
'
click
'
,
function
(
e
)
{
e
.
preventDefault
();
//Add loading overlay
start
(
box
);
//Perform ajax call
box
.
find
(
'
.box-body
'
).
load
(
settings
.
source
,
function
()
{
box
.
find
(
'
.box-body
'
).
load
(
settings
.
source
,
function
()
{
done
(
box
);
});
});
...
...
@@ -683,9 +685,9 @@ function _init() {
* @type plugin
* @usage $('#box-widget').activateBox();
*/
(
function
(
$
)
{
(
function
(
$
)
{
$
.
fn
.
activateBox
=
function
()
{
$
.
fn
.
activateBox
=
function
()
{
$
.
AdminLTE
.
boxWidget
.
activate
(
this
);
};
...
...
@@ -699,35 +701,33 @@ function _init() {
* @type plugin
* @usage $('#todo-widget').todolist( options );
*/
(
function
(
$
)
{
(
function
(
$
)
{
$
.
fn
.
todolist
=
function
(
options
)
{
$
.
fn
.
todolist
=
function
(
options
)
{
// Render options
var
settings
=
$
.
extend
({
//When the user checks the input
onCheck
:
function
(
ele
)
{
},
onCheck
:
function
(
ele
)
{},
//When the user unchecks the input
onUncheck
:
function
(
ele
)
{
}
onUncheck
:
function
(
ele
)
{}
},
options
);
return
this
.
each
(
function
()
{
return
this
.
each
(
function
()
{
if
(
typeof
$
.
fn
.
iCheck
!==
'
undefined
'
)
{
$
(
'
input
'
,
this
).
on
(
'
ifChecked
'
,
function
(
event
)
{
$
(
'
input
'
,
this
).
on
(
'
ifChecked
'
,
function
(
event
)
{
var
ele
=
$
(
this
).
parents
(
'
li
'
).
first
();
ele
.
toggleClass
(
'
done
'
);
settings
.
onCheck
.
call
(
ele
);
});
$
(
'
input
'
,
this
).
on
(
'
ifUnchecked
'
,
function
(
event
)
{
$
(
'
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
)
{
$
(
'
input
'
,
this
).
on
(
'
change
'
,
function
(
event
)
{
var
ele
=
$
(
this
).
parents
(
'
li
'
).
first
();
ele
.
toggleClass
(
'
done
'
);
settings
.
onCheck
.
call
(
ele
);
...
...
@@ -744,6 +744,7 @@ function _init() {
*/
Vue
.
component
(
'
flash
'
,
require
(
'
../components/backend/Flash.vue
'
));
Vue
.
component
(
'
export-component
'
,
require
(
'
../components/backend/Export.vue
'
));
const
app
=
new
Vue
({
el
:
'
#app
'
...
...
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,24 +5,24 @@
</
template
>
<
script
>
export
default
{
props
:
[
'
message
'
,
'
type
'
],
export
default
{
props
:
[
"
message
"
,
"
type
"
],
data
()
{
return
{
body
:
''
,
typeClass
:
''
,
body
:
""
,
typeClass
:
""
,
show
:
false
}
};
},
created
()
{
var
context
=
this
;
if
(
this
.
message
&&
this
.
type
)
{
if
(
this
.
message
&&
this
.
type
)
{
this
.
flash
(
this
.
message
,
this
.
type
);
}
window
.
events
.
$on
(
'
flash
'
,
function
(
message
,
type
)
{
window
.
events
.
$on
(
"
flash
"
,
function
(
message
,
type
)
{
context
.
flash
(
message
,
type
);
});
},
...
...
@@ -42,5 +42,5 @@
},
3000
);
}
}
}
};
</
script
>
resources/views/backend/access/includes/partials/permission-header-buttons.blade.php
View file @
f2cd486f
<!--Action Button-->
@if(Active::checkUriPattern('admin/access/permission'))
<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>
<export-component></export-component>
@endif
<!--Action Button-->
<div
class=
"btn-group"
>
...
...
resources/views/backend/blogcategories/partials/blogcategories-header-buttons.blade.php
View file @
f2cd486f
<!--Action Button-->
@if(Active::checkUriPattern('admin/blogCategories'))
<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>
<export-component></export-component>
@endif
<!--Action Button-->
<div
class=
"btn-group"
>
...
...
resources/views/backend/blogs/partials/blogs-header-buttons.blade.php
View file @
f2cd486f
<!--Action Button-->
@if(Active::checkUriPattern('admin/blogs'))
<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>
<export-component></export-component>
@endif
<!--Action Button-->
<div
class=
"btn-group"
>
...
...
resources/views/backend/blogtags/partials/blogtags-header-buttons.blade.php
View file @
f2cd486f
<!--Action Button-->
@if(Active::checkUriPattern('admin/blogTags'))
<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>
<export-component></export-component>
@endif
<!--Action Button-->
<div
class=
"btn-group"
>
...
...
resources/views/backend/faqs/index.blade.php
View file @
f2cd486f
...
...
@@ -12,7 +12,7 @@
<h3 class="
box
-
title
">{{ trans('labels.backend.faqs.management') }}</h3>
<div class="
box
-
tools
pull
-
right
">
@include('backend.
include
s.partials.faqs-header-buttons')
@include('backend.
faq
s.partials.faqs-header-buttons')
</div>
</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-->
@if(Active::checkUriPattern('admin/faqs'))
<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>
@endif
@if(Active::checkUriPattern('admin/faqs'))
<export-component></export-component>
@endif
<!--Action Button-->
<div
class=
"btn-group"
>
<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-->
@if(Active::checkUriPattern('admin/menus'))
<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>
@endif
@if(Active::checkUriPattern('admin/menus'))
<export-component></export-component>
@endif
<!--Action Button-->
<div
class=
"btn-group"
>
<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-->
@if(Active::checkUriPattern('admin/pages'))
<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>
@endif
@if(Active::checkUriPattern('admin/pages'))
<export-component></export-component>
@endif
<!--Action Button-->
<div
class=
"btn-group"
>
<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