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
Expand all
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
This diff is collapsed.
Click to expand it.
resources/assets/js/backend/app.js
View file @
f2cd486f
This diff is collapsed.
Click to expand it.
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