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
318ab22a
Commit
318ab22a
authored
May 13, 2017
by
Palti Sinaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
script
div calender
parent
502e3d38
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
83 deletions
+19
-83
Homestay.blade.php
...es/views/vendor/adminlte/layouts/pages/Homestay.blade.php
+13
-67
mainheader.blade.php
...s/vendor/adminlte/layouts/partialweb/mainheader.blade.php
+1
-14
scripts.blade.php
...iews/vendor/adminlte/layouts/partialweb/scripts.blade.php
+5
-2
No files found.
resources/views/vendor/adminlte/layouts/pages/Homestay.blade.php
View file @
318ab22a
...
...
@@ -15,30 +15,26 @@
<form action="
{{
url
(
'book'
)}}
" method="
post
">
<input type="
hidden
" name="
_token
" value="
{{
csrf_token
()
}}
">
<input type="
hidden
" name="
id
" value="
{{
$data
->
id
}}
">
<div class="
col
-
md
-
3
col
-
sm
-
3
agileits
w3layouts
contact
-
grid
contact
-
grid
-
2
wow
slideInLeft
">
<input class="
date
agileits
w3layouts
" id="
datepicker1
" name="
tanggal
" type="
text
" value="
Tanggal
Check
in
" onfocus="
this
.
value
=
''
;
" onblur="
if
(
this
.
value
==
''
)
{
this
.
value
=
''
;}
" required="">
<input class="
date
agileits
w3layouts
" id="
datepicker1
" type="
text
" value="
Tanggal
Check
in
" onfocus="
this
.
value
=
''
;
" onblur="
if
(
this
.
value
==
''
)
{
this
.
value
=
''
;}
" required="">
</div>
<div class="
col
-
md
-
3
col
-
sm
-
3
agileits
w3layouts
contact
-
grid
contact
-
grid
-
2
wow
slideInLeft
">
<input class="
date
agileits
w3layouts
" id="
datepicker2
" type="
text
" value="
Tanggal
out
" onfocus="
this
.
value
=
''
;
" onblur="
if
(
this
.
value
==
''
)
{
this
.
value
=
''
;}
" required="">
</div>
<div class="
col
-
md
-
2
col
-
sm
-
2
agileits
w3layouts
contact
-
grid
contact
-
grid
-
2
wow
slideInLeft
">
<input type="
text
" class="
text
wow
agileits
w3layouts
slideInLeft
" name="
jumlah_hari
" placeholder="
Lama
Menginap
" required="" style="
background
-
color
:
white
;
color
:
black
">
</div>
<div class="
col
-
md
-
3
col
-
sm
-
3
agileits
w3layouts
contact
-
grid
contact
-
grid
-
2
wow
slideInLeft
">
<div class="
col
-
md
-
2
col
-
sm
-
2
agileits
w3layouts
contact
-
grid
contact
-
grid
-
2
wow
slideInLeft
">
<input type="
text
" class="
text
wow
agileits
w3layouts
slideInLeft
" name="
jumlah_kamar
" placeholder="
Jumlah
Kamar
" required="" style="
background
-
color
:
white
;
color
:
black
">
</div>
<div class="
col
-
md
-
3
col
-
sm
-
3
agileits
w3layouts
contact
-
grid
contact
-
grid
-
2
wow
slideInLeft
" style="
margin
-
top
:
10
px
;
">
<button class="
btn
btn
-
success
" >BOOK NOW</button>
<div class="
col
-
md
-
3
col
-
sm
-
3
agileits
w3layouts
contact
-
grid
contact
-
grid
-
2
wow
slideInLeft
">
<a href="
{{
url
(
'history'
)}}
" id="
book
" >
<div class="
col
-
md
-
2
col
-
sm
-
2
agileits
w3layouts
contact
-
grid
contact
-
grid
-
2
wow
slideInLeft
">
<a href="" id="
book
" >
<input type="
button
" class="
more_btn
wow
agileits
w3layouts
slideInLeft
" value="
Book
Now
">
</a>
<input type="
submit
" class="
more_btn
wow
agileits
w3layouts
slideInLeft
" value="
Book
Now
">
</div>
</form>
</div>
...
...
@@ -119,14 +115,6 @@
<h2 style="
margin
-
bottom
:
10
px
;
"> Kritik dan Saran</h2>
<form action="
#" method="post" style="margin-bottom: 25px;">
<
h2
style
=
"margin-bottom: 10px;"
>
Kritik
dan
Saran
</
h2
>
<
form
action
=
"#"
method
=
"post"
style
=
"margin-bottom: 25px;"
>
<
h2
style
=
"margin-bottom: 10px;"
>
Kritik
dan
Saran
</
h2
>
<
form
action
=
"#"
method
=
"post"
style
=
"margin-bottom: 25px;"
>
<
h2
style
=
"margin-bottom: 10px;"
>
Kritik
dan
Saran
</
h2
>
<
form
action
=
"#"
method
=
"post"
style
=
"margin-bottom: 25px;"
>
<
input
type
=
"text"
class
="
text
wow
agileits
w3layouts
slideInLeft
" name="
Name
" placeholder="
Name
" required="">
<input type="
text
" class="
text
wow
agileits
w3layouts
slideInLeft
" name="
Email
" placeholder="
Email
" required="">
...
...
@@ -144,49 +132,7 @@
<script>
$('#myModal').modal('');
</script>
<script>
document.getElementById('book').onclick = function(){
swal("
Good
job
!
", "
You
clicked
the
button
!
", "
success
");};
</script>
@endsection
</div>
</div>
<script>
document.querySelector(' ').onclick = function(){
swal("
Good
job
!
", "
You
clicked
the
button
!
", "
success
");};
</script>
<script>
document.querySelector('').onclick = function(){
swal({
title:"
Are
you
sure
?
",
text: "
You
will
not
be
able
to
recover
this
imaginary
file
!
",
type: "
warning
",
showCancelButton: true,
confirmButtonColor: '#DD6B55',
confirmButtonText: 'Yes, delete it!',
cancelButtonText: "
No
,
cancel
plx
!
",
closeOnConfirm: false,
closeOnCancel: false
},
function(isConfirm){
if (isConfirm){
swal("
Deleted
!
", "
Your
imaginary
file
has
been
deleted
!
", "
success
");
} else {
swal("
Cancelled
", "
Your
imaginary
file
is
safe
:
)
", "
error
");
}
});
};
</script>
</script>
@endsection
<!-- Date-Picker-JavaScript -->
<script src="
{{
asset
(
'js/jquery-ui.js'
)}}
"></script>
@endsection
resources/views/vendor/adminlte/layouts/partialweb/mainheader.blade.php
View file @
318ab22a
...
...
@@ -36,18 +36,6 @@
@endif
</a>
<ul
class=
"dropdown-menu"
>
<!-- The user image in the menu -->
<li
class=
"user-header"
>
{{--
<img
src=
"{{ Gravatar::get($user->email) }}"
class=
"img-circle"
alt=
"User Image"
/>
--}}
<p>
<img
src=
"img/{{ Auth::user()->foto }}"
class=
"img-circle"
alt=
"User Image"
/>
<!-- {{ Auth::user()->name }} -->
<!-- <small>{{ trans('adminlte_lang::message.login') }} </small> -->
</p>
</li>
<!-- Menu Body -->
@if(Auth::user()->role=="Customer")
<ul
class=
"dropdown-menu"
>
<!-- The user image in the menu -->
...
...
@@ -55,8 +43,7 @@
{{--
<img
src=
"{{ Gravatar::get($user->email) }}"
class=
"img-circle"
alt=
"User Image"
/>
--}}
<p>
<img
src=
"img/{{ Auth::user()->foto }}"
class=
"img-circle"
alt=
"User Image"
/>
{{ Auth::user()->name }}
<small>
{{ trans('adminlte_lang::message.login') }}
</small>
</p>
</li>
<!-- Menu Body -->
...
...
resources/views/vendor/adminlte/layouts/partialweb/scripts.blade.php
View file @
318ab22a
...
...
@@ -2,6 +2,7 @@
<!-- Default-JavaScript -->
<script
type=
"text/javascript"
src=
"{{asset('js/jquery-2.1.4.min.js')}}"
></script>
<script
type=
"text/javascript"
src=
"{{asset('js/jquery-ui.js')}}"
></script>
<!-- Bootstrap-JavaScript -->
<script
type=
"text/javascript"
src=
"{{asset('js/bootstrap.min.js')}}"
></script>
<!-- Sweealert-JavaScript -->
...
...
@@ -77,7 +78,8 @@
<!-- //Booking-Popup-Box-JavaScript -->
<!-- Date-Picker-JavaScript -->
<script>
<script
src=
"{{asset('js/jquery-ui.js')}}"
></script>
<script>
$
(
'#datepicker2'
).
datepicker
({
dateFormat
:
"dd-M-yy"
});
...
...
@@ -95,6 +97,6 @@
}
});
</script>
<!-- //new date picker -->
<!-- //Custom-JavaScript-File-Links -->
\ No newline at end of file
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