Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
sibiling
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
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
Syaifur
sibiling
Commits
ccc2f943
Commit
ccc2f943
authored
Oct 23, 2024
by
syaifurplus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove button import guru and import siswa
parent
0cfe942f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
12 deletions
+10
-12
index.blade.php
resources/views/admin/siswa/siswa/index.blade.php
+6
-7
index.blade.php
resources/views/admin/stakeholder/guru/index.blade.php
+4
-5
No files found.
resources/views/admin/siswa/siswa/index.blade.php
View file @
ccc2f943
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
<li class="
breadcrumb
-
item
active
">List</li>
<li class="
breadcrumb
-
item
active
">List</li>
@endcomponent
@endcomponent
<div class="
container
-
fluid
">
<div class="
container
-
fluid
">
<div class="
row
">
<div class="
row
">
<div class="
col
-
sm
-
12
">
<div class="
col
-
sm
-
12
">
...
@@ -69,7 +69,6 @@
...
@@ -69,7 +69,6 @@
<option value="">Pilih Kelas Terlebih Dahulu</option>
<option value="">Pilih Kelas Terlebih Dahulu</option>
</select>
</select>
<a href="
{{
url
(
$url
)
}}
/
create
" class="
btn
btn
-
sm
btn
-
primary
float
-
end
m
-
4
" id="
linkTambahSiswa
">Tambah Siswa</a>
<a href="
{{
url
(
$url
)
}}
/
create
" class="
btn
btn
-
sm
btn
-
primary
float
-
end
m
-
4
" id="
linkTambahSiswa
">Tambah Siswa</a>
<a href="
{{
url
(
$urlKelas
)
}}
" class="
btn
btn
-
sm
btn
-
primary
float
-
end
m
-
4
" id="
linkImportSiswa
">Import Siswa</a>
</div>
</div>
</div>
</div>
<div class="
row
">
<div class="
row
">
...
@@ -85,7 +84,7 @@
...
@@ -85,7 +84,7 @@
</thead>
</thead>
<tbody>
<tbody>
{{-- fitur di laravel --}}
{{-- fitur di laravel --}}
</tbody>
</tbody>
</table>
</table>
</div>
</div>
...
@@ -102,7 +101,7 @@
...
@@ -102,7 +101,7 @@
<script src="
{{
asset
(
'assets/js/datatable/datatables/datatable.custom.js'
)
}}
"></script>
<script src="
{{
asset
(
'assets/js/datatable/datatables/datatable.custom.js'
)
}}
"></script>
<script src="
{{
asset
(
'assets/js/select2/select2.full.min.js'
)
}}
"></script>
<script src="
{{
asset
(
'assets/js/select2/select2.full.min.js'
)
}}
"></script>
<script src="
{{
asset
(
'assets/js/select2/select2-custom.js'
)
}}
"></script>
<script src="
{{
asset
(
'assets/js/select2/select2-custom.js'
)
}}
"></script>
<script>
<script>
$("
#isi-tabel").DataTable(); // tambahin ini ki
$("
#isi-tabel").DataTable(); // tambahin ini ki
...
@@ -141,10 +140,10 @@
...
@@ -141,10 +140,10 @@
<
script
>
<
script
>
$
(
'#linkTambahSiswa'
)
.
hide
();
$
(
'#linkTambahSiswa'
)
.
hide
();
$
(
'#linkImportSiswa'
)
.
hide
();
$
(
'#linkImportSiswa'
)
.
hide
();
$
(
'#select-kodekelas'
)
.
on
(
'change'
,
function
()
{
$
(
'#select-kodekelas'
)
.
on
(
'change'
,
function
()
{
$
(
"#isi-tabel"
)
.
DataTable
()
.
clear
()
.
destroy
();
// tambahin ini ki
$
(
"#isi-tabel"
)
.
DataTable
()
.
clear
()
.
destroy
();
// tambahin ini ki
$
(
'#tabel-jquery'
)
.
show
();
$
(
'#tabel-jquery'
)
.
show
();
var
idPKKode
=
$
(
'#select-kodekelas'
)
.
val
();
var
idPKKode
=
$
(
'#select-kodekelas'
)
.
val
();
// console.log(idPKKode);
// console.log(idPKKode);
...
@@ -162,7 +161,7 @@
...
@@ -162,7 +161,7 @@
$
(
'#linkTambahSiswa'
)
.
attr
(
'href'
,
"{{ url(
$url
) }}/create"
);
$
(
'#linkTambahSiswa'
)
.
attr
(
'href'
,
"{{ url(
$url
) }}/create"
);
$
(
'#linkImportSiswa'
)
.
attr
(
'href'
,
"{{ url(
$urlKelas
) }}"
);
$
(
'#linkImportSiswa'
)
.
attr
(
'href'
,
"{{ url(
$urlKelas
) }}"
);
}
}
$
(
"#isi-tabel"
)
.
DataTable
({
$
(
"#isi-tabel"
)
.
DataTable
({
// $("#tabel-jquery")({
// $("#tabel-jquery")({
language
:
{
// tambahin ini ki
language
:
{
// tambahin ini ki
...
...
resources/views/admin/stakeholder/guru/index.blade.php
View file @
ccc2f943
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
<li class="
breadcrumb
-
item
active
">List</li>
<li class="
breadcrumb
-
item
active
">List</li>
@endcomponent
@endcomponent
<div class="
container
-
fluid
">
<div class="
container
-
fluid
">
<div class="
row
">
<div class="
row
">
<div class="
col
-
sm
-
12
">
<div class="
col
-
sm
-
12
">
...
@@ -38,7 +38,6 @@
...
@@ -38,7 +38,6 @@
<h5 class="
card
-
title
">{{
$page
}}</h5>
<h5 class="
card
-
title
">{{
$page
}}</h5>
</div>
</div>
<div class="
col
-
lg
-
6
">
<div class="
col
-
lg
-
6
">
<a href="
{{
url
(
'admin/import/guru'
)
}}
/
create
" class="
btn
btn
-
sm
btn
-
secondary
float
-
end
">Import Guru</a>
<a href="
{{
url
(
$url
)
}}
/
create
" class="
btn
btn
-
sm
btn
-
primary
float
-
end
">Tambah Guru</a>
<a href="
{{
url
(
$url
)
}}
/
create
" class="
btn
btn
-
sm
btn
-
primary
float
-
end
">Tambah Guru</a>
</div>
</div>
</div>
</div>
...
@@ -67,7 +66,7 @@
...
@@ -67,7 +66,7 @@
<td>{{
$p->nama
}}</td>
<td>{{
$p->nama
}}</td>
<td>{{
$p->mapel
->nama }}</td>
<td>{{
$p->mapel
->nama }}</td>
<td>
<td>
@if (
$p->status
== 1)
@if (
$p->status
== 1)
<span class="
outline
alert
alert
-
primary
">Aktif</span>
<span class="
outline
alert
alert
-
primary
">Aktif</span>
@elseif(
$p->status
== 0)
@elseif(
$p->status
== 0)
...
@@ -118,7 +117,7 @@
...
@@ -118,7 +117,7 @@
<td>{{
$p->nama
}}</td>
<td>{{
$p->nama
}}</td>
<td>{{
$p->mapel
->nama }}</td>
<td>{{
$p->mapel
->nama }}</td>
<td>
<td>
@if (
$p->status
== 1)
@if (
$p->status
== 1)
<span class="
outline
alert
alert
-
primary
">Aktif</span>
<span class="
outline
alert
alert
-
primary
">Aktif</span>
@elseif(
$p->status
== 0)
@elseif(
$p->status
== 0)
...
@@ -146,7 +145,7 @@
...
@@ -146,7 +145,7 @@
<script>
<script>
$(function() {
$(function() {
$("
#isi-tabel").DataTable(); // tambahin ini ki
$("
#isi-tabel").DataTable(); // tambahin ini ki
let
baseUrl
=
'{{ url('') }}'
;
let
baseUrl
=
'{{ url('') }}'
;
let
idSekolah
=
"{{ session()->get('idsekolah') }}"
;
let
idSekolah
=
"{{ session()->get('idsekolah') }}"
;
$
(
'#tabel-jquery'
)
.
hide
();
$
(
'#tabel-jquery'
)
.
hide
();
...
...
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