Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
pa2d4ti06
Project
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Juliper
pa2d4ti06
Commits
5267bf39
Commit
5267bf39
authored
Jun 14, 2017
by
Palti Sinaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
asdasd
parent
9b59c97d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
74 additions
and
8 deletions
+74
-8
detailreqFasilitas.blade.php
...endor/adminlte/layouts/admin/detailreqFasilitas.blade.php
+44
-8
confirmdelete.blade.php
...ews/vendor/adminlte/layouts/pages/confirmdelete.blade.php
+30
-0
No files found.
resources/views/vendor/adminlte/layouts/admin/detailreqFasilitas.blade.php
View file @
5267bf39
...
@@ -6,6 +6,9 @@
...
@@ -6,6 +6,9 @@
@
section
(
'main-content'
)
@
section
(
'main-content'
)
<
div
class
="
box
box
-
info
">
<
div
class
="
box
box
-
info
">
<div class="
box
-
header
with
-
border
">
<div class="
box
-
header
with
-
border
">
<h3 class="
box
-
title
"> DETAIL PEMESANAN </h3>
<h3 class="
box
-
title
"> DETAIL PEMESANAN </h3>
@if(Session::has('alert-success'))
@if(Session::has('alert-success'))
...
@@ -24,7 +27,11 @@
...
@@ -24,7 +27,11 @@
</div>
</div>
@endif
@endif
</div>
</div>
<div class="
col
-
md
-
10
box
-
body
">
<div class="
col
-
md
-
10
box
-
body
">
@include('adminlte::layouts.pages.confirmdelete')
<table class="
table
table
-
user
-
information
">
<table class="
table
table
-
user
-
information
">
<tr>
<tr>
<th>Nama Pengaju</th>
<th>Nama Pengaju</th>
...
@@ -46,9 +53,10 @@
...
@@ -46,9 +53,10 @@
<td>: </td>
<td>: </td>
<td>
<td>
@if(
$data->status
==1)
@if(
$data->status
==1)
Di Terima
<span class="
label
label
-
success
">Di Terima </span>
@elseif(
$data->status
==2)
@elseif(
$data->status
==2)
Ditolak
<span class="
label
label
-
danger
">Ditolak </span>
@endif
@endif
</td>
</td>
</tr>
</tr>
...
@@ -73,26 +81,36 @@
...
@@ -73,26 +81,36 @@
</div>
</div>
</form>
</form>
</tr>
</tr>
<tr>
<tr>@if(
$data->status
==1)
@elseif(
$data->status
==2)
@elseif(
$data->status
==0)
<th>Aksi</th>
<th>Aksi</th>
<td> </td>
<td> </td>
@if(
$data->status
==1)
@elseif(
$data->status
==2)
@elseif(
$data->status
==0)
<td>
<td>
<form action="
{{
url
(
'requestFasilitas/'
.
$data
->
id
)}}
" method="
post
">
<form action="
{{
url
(
'requestFasilitas/'
.
$data
->
id
)}}
" method="
post
">
{
{csrf_field()}
}
{
{csrf_field()}
}
<input type="
hidden
" name="
_method
" value="
PUT
">
<input type="
hidden
" name="
_method
" value="
PUT
">
<button type="
submit
" class="
btn
btn
-
info
"><i class="
fa
fa
-
check
"> Terima</i></button>
<button type="
submit
" class="
btn
btn
-
info
"><i class="
fa
fa
-
check
"> Terima</i></button>
<button type="
submit
" class="
btn
btn
-
danger
"><i class="
fa
fa
-
close
"> Tolak</i></button>
</form>
<!--
{
{url('requestFasilitass/'.$data->id)}
}
-->
<form action="" method="
post
" style="
display
:
inline
">
{
{csrf_field()}
}
<input type="
hidden
" name="
_method
" value="
PUT
">
<button type="
submit
" class="
btn
btn
-
danger
" data-toggle="
modal
" data-target="
#confirmDelete"
data
-
title
=
"Delete User"
data
-
message
=
"Are you sure you want to delete this user ?"
>
<
i
class
="
fa
fa
-
close
" > Tolak</i>
</button>
</form>
</form>
</td>
</td>
@endif
@endif
</tr>
</tr>
</table><br>
</table><br>
</div>
</div>
<div class="
box
-
footer
">
<div class="
box
-
footer
">
<form action="
{{
url
(
'printFasilitas/'
.
$data
->
id
)}}
" enctype="
multipart
/
form
-
data
">
<form action="
{{
url
(
'printFasilitas/'
.
$data
->
id
)}}
" enctype="
multipart
/
form
-
data
">
<div class="
form
-
group
" align="
right
">
<div class="
form
-
group
" align="
right
">
...
@@ -103,4 +121,22 @@
...
@@ -103,4 +121,22 @@
</div>
</div>
<!-- <script>
$("
.
delete
").on("
submit
", function(){
return confirm("
Do
you
want
to
delete
this
item
?
");
});
</script> -->
<!-- <script type="
text
/
javascript
">
$('table[data-form="
deleteForm
"]').on('click', '.form-delete', function(e){
e.preventDefault();
var
$form
=$(this);
$('#confirm').modal({ backdrop: 'static', keyboard: false })
.on('click', '#delete-btn', function(){
$form
.submit();
});
});
</script> -->
@endsection
@endsection
resources/views/vendor/adminlte/layouts/pages/confirmdelete.blade.php
0 → 100644
View file @
5267bf39
<!-- Modal Dialog -->
<div
class=
"modal fade"
id=
"confirmDelete"
role=
"dialog"
aria-labelledby=
"confirmDeleteLabel"
aria-hidden=
"true"
>
<div
class=
"modal-dialog"
>
<div
class=
"modal-content"
>
<div
class=
"modal-header"
>
<button
type=
"button"
class=
"close"
data-dismiss=
"modal"
aria-hidden=
"true"
>
×
</button>
<h4
class=
"modal-title"
>
Delete Parmanently
</h4>
</div>
<div
class=
"modal-body"
>
<p>
Are you sure about this ?
</p>
</div>
<div
class=
"modal-footer"
>
<button
type=
"button"
class=
"btn btn-default"
data-dismiss=
"modal"
>
Cancel
</button>
<button
type=
"button"
class=
"btn btn-danger"
id=
"confirm"
>
Delete
</button>
</div>
</div>
</div>
</div>
<!-- Dialog show event handler -->
<!-- <script type="text/javascript">
$('table[data-form="deleteForm"]').on('click', '.form-delete', function(e){
e.preventDefault();
var $form=$(this);
$('#confirm').modal({ backdrop: 'static', keyboard: false })
.on('click', '#delete-btn', function(){
$form.submit();
});
});
</script> -->
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