Commit 26f71e3c by Palti Sinaga

palti

parent 42efb72e
......@@ -1113,6 +1113,7 @@ img {
}
.img-circle {
border-radius: 50%;
}
hr {
margin-top: 20px;
......
......@@ -4,92 +4,6 @@
License: Creative Commons Attribution 3.0 Unported
License URL: http://creativecommons.org/licenses/by/3.0/
--*/
#myImg {
border-radius: 5px;
cursor: pointer;
transition: 0.3s;
}
#myImg:hover {opacity: 0.7;}
/* The Modal (background) */
.modal {
display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 1; /* Sit on top */
padding-top: 100px; /* Location of the box */
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
overflow: auto; /* Enable scroll if needed */
background-color: rgb(0,0,0); /* Fallback color */
background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}
/* Modal Content (Image) */
.modal-content {
margin: auto;
display: block;
width: 80%;
max-width: 700px;
}
/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
margin: auto;
display: block;
width: 80%;
max-width: 700px;
text-align: center;
color: #ccc;
padding: 10px 0;
height: 150px;
}
/* Add Animation - Zoom in the Modal */
.modal-content, #caption {
-webkit-animation-name: zoom;
-webkit-animation-duration: 0.6s;
animation-name: zoom;
animation-duration: 0.6s;
}
@-webkit-keyframes zoom {
from {-webkit-transform:scale(0)}
to {-webkit-transform:scale(1)}
}
@keyframes zoom {
from {transform:scale(0)}
to {transform:scale(1)}
}
/* The Close Button */
.close {
position: absolute;
top: 15px;
right: 35px;
color: #f1f1f1;
font-size: 40px;
font-weight: bold;
transition: 0.3s;
}
.close:hover,
.close:focus {
color: #bbb;
text-decoration: none;
cursor: pointer;
}
/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
.modal-content {
width: 100%;
}
}
/*-- Reset-Code --*/
......@@ -843,13 +757,15 @@ ul.callbacks_tabs li {
-moz-background-size: cover;
-o-background-size: cover;
color: #FFF;
position: absolute;
width: 100%;
}
.footer2 {
/*--w3layouts--*/
/*--agileits--*/
padding: 50px 0 50px;
background: url("../img/3190_pantai-bul-bul.jpg");
background: url("../img/bulbul.jpg");
background-repeat: no-repeat;
background-position: center;
background-size: cover;
......
......@@ -25,18 +25,7 @@
@endif
</div>
<div class="box-body">
<div class="col-md-4 col-sm-6 col-xs-12">
<div class="info-box bg-yellow">
<span class="info-box-icon "><i class="glyphicon glyphicon glyphicon-list-alt"></i></span>
<div class="info-box-content">
<span class="info-box-text">Daftar Booked</span>
<span class="info-box-number">{{$count}}</span>
</div>
<!-- /.info-box-content -->
</div>
<!-- /.info-box -->
</div>
<br>
<table class="table table-striped">
<tr>
......
......@@ -20,18 +20,8 @@
@endif
</div>
<div class="box-body">
<div class="col-md-4 col-sm-6 col-xs-12">
<div class="info-box bg-yellow">
<span class="info-box-icon"><i class="glyphicon glyphicon-modal-window"></i></span>
<div class="info-box-content">
<span class="info-box-text">List Pengajuan Fasilitas</span>
<span class="info-box-number">{{$count}}</span>
</div>
<!-- /.info-box-content -->
</div>
<!-- /.info-box -->
</div>
<!-- <div class="col-md-4 col-sm-6 col-xs-12">
</div> -->
<br>
<table class="table table-striped">
<tr>
......
......@@ -20,19 +20,7 @@
@endif
</div>
<div class="box-body">
<div class="col-md-4 col-sm-6 col-xs-12">
<div class="info-box bg-yellow">
<span class="info-box-icon "><i class="glyphicon glyphicon glyphicon-home"></i></span>
<div class="info-box-content">
<span class="info-box-text">List Pengajuan Homestay</span>
<span class="info-box-number">{{$count}}</span>
</div>
<!-- /.info-box-content -->
</div>
<!-- /.info-box -->
<br>
</div>
<table class="table table-striped">
<tr>
<th>Pengaju</th>
......
......@@ -7,7 +7,7 @@
@section('main-content')
<div class="box box-primary">
<div class="box-header with-border">
<h3 class="box-title"> REQUEST FASILITAS </h3>
<h3 class="box-title"> UPDATE HOMESTAY </h3>
@if (count($errors) > 0)
<div class="alert alert-danger">
<strong>Whoops!</strong> {{ trans('adminlte_lang::message.someproblems') }}<br><br>
......
......@@ -26,15 +26,7 @@
</div>
<div class="box-body">
<div class="col-md-4 col-sm-6 col-xs-12">
<div class="info-box bg-yellow">
<span class="info-box-icon "><i class="glyphicon glyphicon glyphicon-list-alt"></i></span>
<div class="info-box-content">
<span class="info-box-text">Daftar Pesanan</span>
<span class="info-box-number">{{$count}}</span>
</div>
<!-- /.info-box-content -->
</div>
<!-- /.info-box -->
</div>
<br>
......
......@@ -33,15 +33,13 @@
</div>
<div class="box-body">
<div class="col-md-4 col-sm-6 col-xs-12">
<div class="info-box bg-yellow">
<!-- <div class="info-box bg-yellow">
<span class="info-box-icon"><i class="glyphicon glyphicon glyphicon-bed"></i></span>
<div class="info-box-content">
<span class="info-box-text">List Room</span>
<span class="info-box-number">{{$count}}</span>
</div>
<!-- /.info-box-content -->
</div>
<!-- /.info-box -->
</div> -->
</div>
<br>
<table class="table table-striped">
......@@ -60,20 +58,23 @@
<td>@if($a->gambar == null)
<img alt="Belum ada foto">
@else
<a href="/img/{{$a->gambar}}" data-lightbox="roadtrip"><img src="/img/{{$a->gambar}}" style="max-height: 150px"></a>
@endif
</td>
<td>
<a href="{{url('editRoom/'.$a->id)}}" class="btn btn-primary"><i class="glyphicon glyphicon-edit"></i></a>
</td>
<td>
<form action="{{url('room/'.$a->id)}}" method="POST">
<a href="{{url('editRoom/'.$a->id)}}" class="btn btn-primary"><i class="glyphicon glyphicon-edit"></i> Edit Kamar</a>
<form action="{{url('room/'.$a->id)}}" method="POST">
{{csrf_field()}}
<input type="hidden" name="_method" value="DELETE">
<button type="submit" class="btn btn-danger"><i class="glyphicon glyphicon-trash"></i></button>
<br>
<button type="submit" class="btn btn-danger"><i class="glyphicon glyphicon-trash"></i>Hapus Kamar</button>
</form>
</td>
<td>
</td>
</tr>
@endforeach
</table>
......
......@@ -27,15 +27,7 @@
</div>
<div class="box-body">
<div class="col-md-4 col-sm-6 col-xs-12">
<div class="info-box bg-yellow">
<span class="info-box-icon "><i class="glyphicon glyphicon glyphicon-list-alt"></i></span>
<div class="info-box-content">
<span class="info-box-text">Daftar Feedback</span>
<span class="info-box-number"></span>
</div>
<!-- /.info-box-content -->
</div>
<!-- /.info-box -->
</div>
<br>
......
......@@ -11,12 +11,12 @@
<div class="col-md-10 col-md-offset-1">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-heading">Your Profil</h3>
<h3 class="panel-heading">Profil Anda</h3>
</div>
<div class="panel-body">
<div class="row">
<div class="col-md-3 col-lg-3" align="center">
<img alt="User Pic" src="img/{{$data->foto}}" class="img-circle img-responsive">
<img alt="User Pic" src="img/{{$data->foto}}" style="width: 200px; border-radius:10%;">
</div>
<div class="col-md-9 col-lg-8">
<table class="table table-user-information">
......@@ -51,11 +51,11 @@
</div>
<div class="panel-footer">
<a href="{{url('profiledit/'.$data->id)}}" data-original-title="Edit this user" data-toggle="tooltio" type="button" class="btn btn-sm btn-warning">
<i class="glyphicon glyphicon-edit"></i>
<span class="glyphicon glyphicon-edit"></span> Edit Profil
</a>
</div>
</div>
@endsection
</div>
</div>
</div>
\ No newline at end of file
</div>
......@@ -26,28 +26,6 @@
</div>
@endif
<form action="{{url('profileupdate/'.$data->id)}}" method="post" enctype="multipart/form-data">
<input type="hidden" name="_method" value="PUT">
{{csrf_field()}}
<label>Nama</label>
<input type="text" name="nama" value="{{$data->nama}}" id="nama" class="form-control">
<label>Alamat</label>
<input type="text" name="alamat" value="{{$data->alamat}}" id="alamat" class="form-control">
<label>Pekerjaan</label>
<input type="text" name="pekerjaan" value="{{$data->pekerjaan}}" id="pekerjaan" class="form-control">
<label>Nomor Telepon</label>
<input type="text" name="noTelepon" value="{{$data->no_telepon}}" id="noTelepon" class="form-control">
<label>Nomor Rekening</label>
<input type="text" name="noRekening" value="{{$data->no_rekening}}" id="noRekening" class="form-control">
<label>Foto</label>
<input type="file" name="picture" id="picture" class="form-control"><br>
<div class="form-group" align="right">
<input type="submit" class="btn btn-primary" value="simpan">
</div>
</form>
</div>
</div>
<form action="{{url('profileupdate/'.$data->id)}}" method="post" enctype="multipart/form-data">
<input type="hidden" name="_method" value="PUT">
{{csrf_field()}}
......@@ -58,20 +36,40 @@
<label>Pekerjaan</label>
<input type="text" name="pekerjaan" value="{{$data->pekerjaan}}" id="pekerjaan" class="form-control">
<label>Nomor Telepon</label>
<input type="text" name="noTelepon" value="{{$data->noTelepon}}" id="noTelepon" class="form-control">
<input type="text" name="noTelepon" value="{{$data->no_telepon}}" id="noTelepon" class="form-control">
<label>Nomor Rekening</label>
<input type="text" name="noRekening" value="{{$data->noRekening}}" id="noRekening" class="form-control">
<input type="text" name="noRekening" value="{{$data->no_rekening}}" id="noRekening" class="form-control">
<label>Foto</label>
<input type="file" name="picture" id="picture" class="form-control"><br>
<input type="file" name="picture" id="picture"><br>
<div class="form-group" align="right">
<input type="submit" class="btn btn-primary" value="simpan">
</div>
</form>
</div>
</div>
<!-- <form action="{{url('profileupdate/'.$data->id)}}" method="post" enctype="multipart/form-data">
<input type="hidden" name="_method" value="PUT">
{{csrf_field()}}
<label>Nama</label>
<input type="text" name="nama" value="{{$data->nama}}" id="nama" class="form-control">
<label>Alamat</label>
<input type="text" name="alamat" value="{{$data->alamat}}" id="alamat" class="form-control">
<label>Pekerjaan</label>
<input type="text" name="pekerjaan" value="{{$data->pekerjaan}}" id="pekerjaan" class="form-control">
<label>Nomor Telepon</label>
<input type="text" name="noTelepon" value="{{$data->noTelepon}}" id="noTelepon" class="form-control">
<label>Nomor Rekening</label>
<input type="text" name="noRekening" value="{{$data->noRekening}}" id="noRekening" class="form-control">
<label>Foto</label>
<input type="file" name="picture" id="picture" class="form-control"><br>
<div class="form-group" align="right">
<input type="submit" class="btn btn-primary" value="simpan"> -->
</div>
</div>
</form>
</div>
</div>
@endsection
......@@ -101,8 +101,7 @@
<button class="close" type="button" data-dismiss="modal">×</button>
<h3 class="modal-title">Heading</h3>
</div>
<div class="modal-body">
</div>
<div class="modal-body"></div>
<div class="modal-footer">
<button class="btn btn-default" data-dismiss="modal">Close</button>
</div>
......
......@@ -59,45 +59,6 @@
<!-- //Tooltip-Content -->
<!-- Date-Picker-JavaScript -->
<script src="{{asset('js/jquery-ui.js')}}"></script>
<script>
document.getElementById('book').onclick = function(){
swal("Good job!", "You clicked the button!", "success");};
</script>
<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>
</div>
</div>
......
......@@ -40,7 +40,7 @@
<li><a href="{{url('daftarKamar')}}"><i class='fa fa-list'></i> <span>Daftar Kamar</span></a></li>
<li><a href="{{url('pengajuanHomestay')}}"><i class='fa fa-external-link-square'></i> <span> Pengajuan Homestay </span></a></li>
<li><a href="{{url('listFeedback')}}"><i class='fa fa-list'></i> <span> Feedback </span></a></li>
<li><a href="{{url('updateHomestay')}}"><i class='fa fa-list'></i> <span>Update Homestay</span></a></li>
<li><a href="{{url('updateHomestay')}}"><i class='fa fa-edit'></i> <span>Update Homestay</span></a></li>
<li><a href="{{url('listPengajuan')}}"><i class='fa fa-list'></i> <span>List Pengajuan Homestay</span></a></li>
</ul>
</li>
......
<!-- Footer -->
<div class="footer agileits w3layouts">
<div class="container">
<div class="col-md-4 agileits w3layouts footer-grids">
<div class="col-md-10 footer-grid agileits w3layouts footer-grid-1 ">
<p>
......@@ -28,13 +29,14 @@
<div class="col-md-12 footer-grid agileits w3layouts footer-grid-3 ">
<ul class="agileits w3layouts">
<p style="font-size: 20px; color: white;margin-bottom: 10px"> Contact Us </p>
<p><span class="glyphicon agileits w3layouts glyphicon-map-marker" aria-hidden="true"></span> Pematang Siantar Balige No.2 Toba Samosir</p>
<p><span class="glyphicon agileits w3layouts glyphicon-envelope" aria-hidden="true"></span> paltigcsinaga@gmail.com</p>
<p><span class="glyphicon agileits w3layouts glyphicon-phone" aria-hidden="true"></span> +6282174161231</p>
<li><p><span class="glyphicon agileits w3layouts glyphicon-map-marker" aria-hidden="true"></span> Pematang Siantar Balige No.2 Toba Samosir</p></li>
<li><p><span class="glyphicon agileits w3layouts glyphicon-envelope" aria-hidden="true"></span> paltigcsinaga@gmail.com</p></li>
<li><p><span class="glyphicon agileits w3layouts glyphicon-phone" aria-hidden="true"></span> +6282174161231</p></li>
</ul>
</div>
<div class="clearfix"></div>
</div>
</div>
</div>
<!-- //Footer -->
......@@ -14,7 +14,7 @@
</div>
<div id="navbar" class="navbar-collapse agileits w3layouts navbar-right collapse">
<ul class="nav agileits w3layouts navbar-nav">
<li class="active"><a href="{{ url('/') }}">HOME</a></li>
<li class="active"><a href="{{ url('/') }}">BERANDA</a></li>
<li><a href="{{ url('/#2') }}">DAFTAR HOMESTAY</a></li>
<li><a href="{{ url('/#3') }}">LOKASI</a></li>
<!-- <li><a href="gallery.html">PROFILE</a></li> -->
......@@ -76,7 +76,7 @@
@endif
</li>
@endif
</ul>
</ul>
</div>
......
......@@ -46,18 +46,8 @@ $(function () {
<!-- //Slider-JavaScript -->
<!-- Slide-To-Top JavaScript (No-Need-To-Change) -->
<script type="text/javascript">
$(document).ready(function() {
var defaults = {
containerID: 'toTop', // fading element id
containerHoverID: 'toTopHover', // fading element hover id
scrollSpeed: 100,
easingType: 'linear'
};
$().UItoTop({ easingType: 'easeOutQuart' });
});
</script>
<a href="#" id="toTop" class="agileits w3layouts" style="display: block;"> <span id="toTopHover" style="opacity: 0;"> </span></a>
<!-- //Slide-To-Top JavaScript -->
<!-- Smooth-Scrolling-JavaScript -->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment