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
2237d862
Commit
2237d862
authored
Jun 14, 2017
by
Juliper
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://gitlab.del.ac.id/juliper19/pa2d4ti06
parents
618b0176
2cdf67fa
Hide 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 @
2237d862
...
...
@@ -6,6 +6,9 @@
@
section
(
'main-content'
)
<
div
class
="
box
box
-
info
">
<div class="
box
-
header
with
-
border
">
<h3 class="
box
-
title
"> DETAIL PEMESANAN </h3>
@if(Session::has('alert-success'))
...
...
@@ -24,7 +27,11 @@
</div>
@endif
</div>
<div class="
col
-
md
-
10
box
-
body
">
@include('adminlte::layouts.pages.confirmdelete')
<table class="
table
table
-
user
-
information
">
<tr>
<th>Nama Pengaju</th>
...
...
@@ -46,9 +53,10 @@
<td>: </td>
<td>
@if(
$data->status
==1)
Di Terima
<span class="
label
label
-
success
">Di Terima </span>
@elseif(
$data->status
==2)
Ditolak
<span class="
label
label
-
danger
">Ditolak </span>
@endif
</td>
</tr>
...
...
@@ -73,26 +81,36 @@
</div>
</form>
</tr>
<tr>
<tr>@if(
$data->status
==1)
@elseif(
$data->status
==2)
@elseif(
$data->status
==0)
<th>Aksi</th>
<td> </td>
@if(
$data->status
==1)
@elseif(
$data->status
==2)
@elseif(
$data->status
==0)
<td>
<form action="
{{
url
(
'requestFasilitas/'
.
$data
->
id
)}}
" method="
post
">
{
{csrf_field()}
}
<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
-
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>
</td>
@endif
</tr>
</table><br>
</div>
<div class="
box
-
footer
">
<form action="
{{
url
(
'printFasilitas/'
.
$data
->
id
)}}
" enctype="
multipart
/
form
-
data
">
<div class="
form
-
group
" align="
right
">
...
...
@@ -103,4 +121,22 @@
</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
resources/views/vendor/adminlte/layouts/pages/confirmdelete.blade.php
0 → 100644
View file @
2237d862
<!-- 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