Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
webprofile-jwg2024
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Siti Aisah
webprofile-jwg2024
Commits
141e008d
Commit
141e008d
authored
Mar 15, 2023
by
Bagus Pambudi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
datatable new
parent
d76f4c3f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
39 deletions
+1
-39
resources/views/webprofile/front/jollyany/download.blade.php
+1
-9
resources/views/webprofile/front/jollyany/master.blade.php
+0
-30
No files found.
resources/views/webprofile/front/jollyany/download.blade.php
View file @
141e008d
...
...
@@ -4,7 +4,7 @@
<!--
<
link
rel
=
"stylesheet"
href
=
"https://cdn.datatables.net/1.10.24/css/jquery.dataTables.min.css"
>
<
link
rel
=
"stylesheet"
href
=
"https://cdn.datatables.net/1.10.24/css/dataTables.bootstrap4.min.css"
>
-->
<
link
rel
=
"stylesheet"
href
=
"{!! asset('backend/js/datatables.net-bs/css/dataTables.bootstrap.min.css') !!}"
>
{{
--
<
link
rel
=
"stylesheet"
href
=
"{!! asset('backend/js/datatables.net-bs/css/dataTables.bootstrap.min.css') !!}"
>
--
}}
<
style
>
...
...
@@ -82,15 +82,7 @@ tr.group:hover {
@endsection
@section('scripts')
<script src="
{
!!
asset
(
'backend/js/datatables.net/js/jquery.dataTables.min.js'
)
!!
}
"></script>
<script src="
{
!!
asset
(
'backend/js/datatables.net-bs/js/dataTables.bootstrap.min.js'
)
!!
}
"></script>
<!-- <script src="
{
!!
asset
(
'backend/js/datatables.net-bs/js/dataTables.bootstrap.min.js'
)
!!
}
"></script> -->
<!-- <script src="
{{
url
(
'backend/assets/plugins/jquery-datatable/buttons/dataTables.buttons.min.js'
)
}}
"></script>
<script src="
{{
url
(
'backend/assets/plugins/jquery-datatable/buttons/buttons.bootstrap4.min.js'
)
}}
"></script>
<script src="
{{
url
(
'backend/assets/plugins/jquery-datatable/buttons/buttons.colVis.min.js'
)
}}
"></script>
<script src="
{{
url
(
'backend/assets/plugins/jquery-datatable/buttons/buttons.html5.min.js'
)
}}
"></script>
<script src="
{{
url
(
'backend/assets/plugins/jquery-datatable/buttons/buttons.print.min.js'
)
}}
"></script> -->
<script>
// var url = "
{{
route
(
'download'
)
}}
";
...
...
resources/views/webprofile/front/jollyany/master.blade.php
View file @
141e008d
...
...
@@ -318,36 +318,6 @@ height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<script src="{{ url('backend/assets/plugins/jquery-datatable/buttons/buttons.html5.min.js') }}"></script>
<script src="{{ url('backend/assets/plugins/jquery-datatable/buttons/buttons.print.min.js') }}"></script> -->
<script>
$
(
document
).
ready
(
function
()
{
var
groupColumn
=
2
;
var
table
=
$
(
'.data-table'
).
DataTable
({
"columnDefs"
:
[
{
"visible"
:
false
,
"targets"
:
groupColumn
}
],
"order"
:
[[
groupColumn
,
'asc'
]],
"displayLength"
:
25
,
"drawCallback"
:
function
(
settings
)
{
var
api
=
this
.
api
();
var
rows
=
api
.
rows
(
{
page
:
'current'
}
).
nodes
();
var
last
=
null
;
api
.
column
(
groupColumn
,
{
page
:
'current'
}
).
data
().
each
(
function
(
group
,
i
)
{
if
(
last
!==
group
)
{
$
(
rows
).
eq
(
i
).
before
(
'<tr class="group"><td colspan="5">'
+
group
+
'</td></tr>'
);
last
=
group
;
}
}
);
}
}
);
}
);
</script>
@yield('scripts')
...
...
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