Commit 1f1772aa by Rinto

new

parent 9d54eaf3
......@@ -11,15 +11,12 @@
<div class="login-logo">
<a href="{{ url('/welcome') }}"><b>Booking Driver</b>IS</a>
</div><!-- /.login-logo -->
@if (count($errors) > 0)
<div class="alert alert-danger">
<strong>Terjadi Kesalahan!</strong> Username atau Password Salah<br>
</div>
@endif
<div class="login-box-body">
<p class="login-box-msg"> {{ trans('adminlte_lang::message.siginsession') }} </p>
<form action="{{ url('/login') }}" method="post">
<input type="hidden" name="_token" value="{{ csrf_token() }}">
......@@ -31,31 +28,22 @@
<input type="password" class="form-control" placeholder="{{ trans('adminlte_lang::message.password') }}" name="password"/>
<span class="glyphicon glyphicon-lock form-control-feedback"></span>
</div>
<div class="row">
<div class="col-xs-8">
<div class="checkbox icheck">
<label>
<a href="{{ url('/register') }}" class="text-center">{{ trans('adminlte_lang::message.registermember') }}</a>
<!--
<input type="checkbox" name="remember"> {{ trans('adminlte_lang::message.remember') }}
-->
<a href="{{ url('/register') }}" class="text-center">{{ trans('adminlte_lang::message.registermember') }}</a>
<!-- <input type="checkbox" name="remember"> {{ trans('adminlte_lang::message.remember') }}-->
</label>
</div>
</div>
<!-- /.col -->
<div class="col-xs-4">
<button type="submit" class="btn btn-primary btn-block btn-flat">{{ trans('adminlte_lang::message.buttonsign') }}</button>
</div><!-- /.col -->
</div>
</form>
<!-- Forgot Password
<a href="{{ url('/password/reset') }}">{{ trans('adminlte_lang::message.forgotpassword') }}</a><br>
-->
<!-- Forgot Password <a href="{{ url('/password/reset') }}">{{ trans('adminlte_lang::message.forgotpassword') }}</a><br>-->
</div><!-- /.login-box-body -->
</div><!-- /.login-box -->
</div>
......
......@@ -7,7 +7,7 @@
@section('contentheader_title')
<ol class="breadcrumb"><li><a href="/"><i class="fa fa-home"></i> Home</a></li>
<li class="active"><i class="fa fa-bus"></i> Kendaraan</li>
<li class="active"><i class="fa fa-bus"></i> Detail Kendaraan</li>
<li class="active"><i class="fa fa-eye"></i> Detail Kendaraan</li>
</ol><!-- breadcrumbs -->
@endsection
......@@ -15,60 +15,66 @@
<div class="container-fluid spark-screen">
<div class="container">
<div class="col-md-8 col-md-offset-2">
<div class="panel-body">
<img src="{{asset('image/'.$bus->gambar)}}" style="height: 155px; width: 150px;">
<form class="form-horizontal" action="{{ url('') }}" method="POST">
{!! csrf_field() !!}
<div class="form-group{{ $errors->has('nama_bus') ? ' has-error' : '' }}">
<label for="title" class="col-md-4 control-label">Nama Kendaraan</label>
<div class="col-md-6">
<input type="text" class="form-control" name="nama_bus" value="{{ $bus->nama_bus}}" readonly>
@if ($errors->has('nama_bus'))
<span class="help-block">
<strong>{{ $errors->first('nama_bus') }}</strong>
</span>
@endif
</div>
<div class="col-md-6">
<!-- Box Comment -->
<div class="box box-widget">
<div class="box-header with-border">
<div class="user-block">
<img src="{{asset('image/'.$bus->gambar)}}" style="display: block;margin-left: auto;margin-right: auto;">
<span class="username">{{ $bus->nama_bus}}</span>
</div>
<div class="form-group{{ $errors->has('jenis_bus') ? ' has-error' : '' }}">
<label for="title" class="col-md-4 control-label">Jenis Kendaraan</label>
<div class="col-md-6">
<input type="text" class="form-control" name="jenis_bus" value="{{ $bus->jenis_bus}}" readonly>
@if ($errors->has('jenis_bus'))
<span class="help-block">
<strong>{{ $errors->first('jenis_bus') }}</strong>
</span>
@endif
</div>
<!-- /.user-block -->
<div class="box-tools">
<button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i></button>
</div>
<div class="form-group{{ $errors->has('plat_bus') ? ' has-error' : '' }}">
<label for="title" class="col-md-4 control-label">Plat Kendaraan</label>
<div class="col-md-6">
<input type="text" class="form-control" name="plat_bus" value="{{ $bus->plat_bus}}" readonly>
@if ($errors->has('plat_bus'))
<span class="help-block">
<strong>{{ $errors->first('jenis') }}</strong>
</span>
@endif
<!-- /.box-tools -->
</div>
<!-- /.box-header -->
<div class="box-body">
<div class="col-md-9">
<div class="nav-tabs-custom">
<ul class="nav nav-tabs">
<li class="active"><a href="#gambar1" data-toggle="tab" aria-expanded="true">Gambar Kendaraan</a></li>
</ul>
<div class="tab-content">
<div class="tab-pane active" id="gambar1">
<img style="display: block;margin-left: auto;margin-right: auto;" src="{{asset('image/'.$bus->gambar)}}">
</div>
<!-- /.tab-pane -->
</div>
<!-- /.tab-content -->
</div>
<!-- /.nav-tabs-custom -->
</div>
<div class="form-group{{ $errors->has('deskripsi') ? ' has-error' : '' }}">
<label for="title" class="col-md-4 control-label">Deskripsi Kendaraan</label>
<div class="col-md-6">
<input type="text" class="form-control" name="deskripsi" value="{{ $bus->deskripsi}}" readonly>
@if ($errors->has('deskripsi'))
<span class="help-block">
<strong>{{ $errors->first('deskripsi') }}</strong>
</span>
@endif
</div>
<!-- /.box-footer -->
<div class="box-footer">
<form action="" method="post">
<input name="_token" value="AKcKGHPCbCtWwxrSy6CaJSecjjXYfMdJNnGQC4NM" type="hidden">
<div class="form-group has-feedback">
<label class="col-md-4 control-label">Nama Kendaraan</label>
<input class="form-control" name="nama_bus" value="{{ $bus->nama_bus}}" readonly="" type="text">
</div>
</div>
</form>
<div class="form-group has-feedback">
<label class="col-md-4 control-label">Jenis Kendaraan</label>
<input class="form-control" name="jenis_bus" value="{{ $bus->jenis_bus}}" readonly="" type="text">
</div>
<div class="form-group has-feedback">
<label class="col-md-4 control-label">Plat Kendaraan</label>
<input class="form-control" name="plat_bus" value="{{ $bus->plat_bus}}" readonly="" type="text">
</div>
<div class="form-group has-feedback">
<label class="col-md-4 control-label">Deskripsi</label>
<textarea class="form-control" placeholder="Berikan deskripsi disini" rows="3" name="deskripsi" readonly="">{{ $bus->deskripsi}}</textarea>
</div>
<div class="form-group has-feedback">
<a href="{{url('bus/ubahbus',$bus->id)}}" class="btn btn-success"><i class="fa fa-edit"></i> Ubah Data</a>
</div>
</form><br>
</div>
<!-- /.box-footer -->
</div>
<!-- /.box -->
</div>
</div>
......
......@@ -6,12 +6,13 @@
@section('contentheader_title')
<ol class="breadcrumb"><li><a href="/"><i class="fa fa-home"></i> Home</a></li>
<li class="active"><i class="fa fa-bus"></i>Kendaraan</li>
<li class="active"><i class="fa fa-bus"></i> Kendaraan</li>
</ol><!-- breadcrumbs -->
@endsection
@section('main-content')
<div class="container-fluid spark-screen">
@if(session()->has('message'))
<div class="alert alert-info">
{{session()->get('message')}}
......
@extends('adminlte::layouts.app')
@section('htmlheader_title')
Detail
@endsection
@section('contentheader_title')
<ol class="breadcrumb"><li><a href="/"><i class="fa fa-home"></i> Home</a></li>
<li class="active"><i class="fa fa-bus"></i> Kendaraan</li>
<li class="active"><i class="fa fa-eye"></i> Ubah Data</li>
</ol><!-- breadcrumbs -->
@endsection
@section('main-content')
<div class="container-fluid spark-screen">
<div class="container">
<div class="col-md-6">
<!-- Box Comment -->
<div class="box box-widget">
<div class="box-header with-border">
<div class="user-block">
<img src="{{asset('image/'.$bus->gambar)}}" style="display: block;margin-left: auto;margin-right: auto;">
<span class="username">{{ $bus->nama_bus}}</span>
</div>
<!-- /.user-block -->
<div class="box-tools">
<button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i></button>
</div>
<!-- /.box-tools -->
</div>
<!-- /.box-header -->
<div class="box-body">
<div class="col-md-9">
<div class="nav-tabs-custom">
<ul class="nav nav-tabs">
<li class="active"><a href="#gambar1" data-toggle="tab" aria-expanded="true">Gambar Kendaraan</a></li>
</ul>
<div class="tab-content">
<div class="tab-pane active" id="gambar1">
<img style="display: block;margin-left: auto;margin-right: auto;" src="{{asset('image/'.$bus->gambar)}}">
</div>
<!-- /.tab-pane -->
</div>
<!-- /.tab-content -->
</div>
<!-- /.nav-tabs-custom -->
</div>
</div>
<!-- /.box-footer -->
<div class="box-footer">
<form action="{{ url('busupdate', $bus->id) }}" method="POST" enctype="multipart/form-data">
{{ csrf_field() }}
<div class="form-group has-feedback">
<input class="form-control" name="gambar" value="{{ $bus->gambar}}" readonly>
</div>
<div class="form-group has-feedback">
<label class="col-md-4 control-label">ID Kendaraan</label>
<input class="form-control" name="id" value="{{ $bus->id}}" type="text"readonly>
</div>
<div class="form-group has-feedback">
<label class="col-md-4 control-label">Nama Kendaraan</label>
<input class="form-control" name="nama_bus" value="{{ $bus->nama_bus}}" required="" type="text">
</div>
<div class="form-group has-feedback">
<label class="col-md-4 control-label">Jenis Kendaraan</label>
<input class="form-control" name="jenis_bus" value="{{ $bus->jenis_bus}}" required="" type="text">
</div>
<div class="form-group has-feedback">
<label class="col-md-4 control-label">Plat Kendaraan</label>
<input class="form-control" name="plat_bus" value="{{ $bus->plat_bus}}" required="" type="text">
</div>
<div class="form-group has-feedback">
<label class="col-md-4 control-label">Deskripsi</label>
<textarea class="form-control" placeholder="Berikan deskripsi disini" rows="3" name="deskripsi" required="">{{ $bus->deskripsi}}</textarea>
</div>
<button type="submit" class="btn btn-primary">
<i class="fa fa-save"></i> Simpan
</button>
</form><br>
</div>
<!-- /.box-footer -->
</div>
<!-- /.box -->
</div>
</div>
</div>
@endsection
......@@ -18,21 +18,40 @@
<div class="col-md-8 col-md-offset-2">
<div class="panel-body">
<form class="form-horizontal" action="{{ url('') }}" method="POST">
{!! csrf_field() !!}
<div class="col-md-9">
<div class="box box-widget">
<div class="box-header with-border">
<div class="user-block">
<span class="username">{{ $riwayat2->name}}</span>
</div>
<!-- /.user-block -->
</div>
<div class="login-box-body">
<div class="user-block">
<span class="username">{{ $riwayat2->status}}</span>
</div>
<!-- /.user-block -->
</div>
<!-- /.box-footer -->
<div class="box-footer">
<form class="form-horizontal" action="{{ url('') }}" method="POST">
{!! csrf_field() !!}
<div class="form-group{{ $errors->has('name') ? ' has-error' : '' }}">
<label for="title" class="col-md-4 control-label">Nama Pemesan</label>
<div class="col-md-6">
<input type="text" class="form-control" name="name" value="{{ $riwayat2->name}}" readonly>
@if ($errors->has('name'))
<span class="help-block">
<div class="form-group{{ $errors->has('name') ? ' has-error' : '' }}">
<label for="title" class="col-md-4 control-label">Nama Pemesan</label>
<div class="col-md-6">
<input type="text" class="form-control" name="name" value="{{ $riwayat2->name}}" readonly>
@if ($errors->has('name'))
<span class="help-block">
<strong>{{ $errors->first('name') }}</strong>
</span>
@endif
@endif
</div>
</div>
</form>
</div>
</div>
</form>
</div>
</div>
</div>
......
......@@ -44,7 +44,7 @@
<td>{{$riwaya2->alasan}}</td>
<td>{{$riwaya2->status}}</td>
<td colspan="2">
<a href="{{url('/history/details',$riwaya2->id)}}" class="btn btn-info"><i class="fa fa-eye"></i>Detail</a>
<a href="{{url('/history/details2',$riwaya2->id)}}" class="btn btn-info"><i class="fa fa-eye"></i>Detail</a>
</td>
</tr>
</form>
......
......@@ -17,11 +17,9 @@
<button class="close" type="button" data-dismiss="alert" aria-hidden="true">x</button>
<h4><i class="icon fa fa-check"></i> Notifikasi !</h4>
Terdapat Pemesanan Yang masuk
<tr>
<a href="{{url('k_klien/pemesanan')}}" class="btn btn-danger">Lihat</a>
</tr>
</div>
</div>
</div>
......
......@@ -6,8 +6,8 @@
@section('contentheader_title')
<ol class="breadcrumb"><li><a href="/"><i class="fa fa-home"></i> Home</a></li>
<li class="active"><i class="fa fa-bus"></i> Supir</li>
<li class="active"><i class="fa fa-bus"></i> Detail Supir</li>
<li class="active"><i class="fa fa-user"></i> Supir</li>
<li class="active"><i class="fa fa-eye"></i> Detail Supir</li>
</ol><!-- breadcrumbs -->
@endsection
......@@ -15,29 +15,61 @@
<div class="container-fluid spark-screen">
<div class="container">
<div class="col-md-8 col-md-offset-2">
<div class="panel-body">
<div class="col-md-6">
<form class="form-horizontal" action="{{ url('') }}" method="POST">
{!! csrf_field() !!}
<div class="form-group{{ $errors->has('nama_supir') ? ' has-error' : '' }}">
<label for="title" class="col-md-4 control-label">Nama Supir</label>
<div class="col-md-6">
<input type="text" class="form-control" name="nama_supir" value="{{ $supir->nama_supir}}" readonly>
@if ($errors->has('nama_supir'))
<span class="help-block">
<strong>{{ $errors->first('nama_supir') }}</strong>
</span>
@endif
</div>
<!-- Box Comment -->
<div class="box box-widget">
<div class="box-header with-border">
<div class="user-block">
<img src="{{asset('image/'.$supir->gambar)}}" style="display: block;margin-left: auto;margin-right: auto;">
<span class="username">{{ $supir->nama_supir}}</span>
<span class="username"></span>
</div>
<!-- /.user-block -->
<div class="box-tools">
<button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i></button>
</div>
</form>
<!-- /.box-tools -->
</div>
<!-- /.box-header -->
<div class="box-body">
<img style="display: block;margin-left: auto;margin-right: auto;" src="{{asset('image/'.$supir->gambar)}}">
</div>
<!-- /.box-footer -->
<div class="box-footer">
<a href="{{url('supir/tambah')}}" class="btn btn-danger">Tambah Supir</a>
<i fa-user-plus></i>
<form action="" method="post">
<div class="form-group has-feedback">
<label class="col-md-4 control-label">ID Supir</label>
<input class="form-control" name="id" value="{{ $supir->id}}" readonly="" type="text">
</div>
<div class="form-group has-feedback">
<label class="col-md-4 control-label">Nama Supir</label>
<input class="form-control" name="nama_supir" value="{{ $supir->nama_supir}}" readonly="" type="text">
</div>
<div class="form-group has-feedback">
<label class="col-md-4 control-label">Tempat/Tgl Lahir</label>
<input class="form-control" name="ttl" value="{{ $supir->ttl}}" readonly="" type="text">
</div>
<div class="form-group has-feedback">
<label class="col-md-4 control-label">Alamat</label>
<input class="form-control" name="alamat" value="{{ $supir->alamat}}" readonly="" type="text">
</div>
<div class="form-group has-feedback">
<label class="col-md-4 control-label">Jenis Kelamin</label>
<input class="form-control" name="jk" value="{{ $supir->jk}}" readonly="" type="text">
</div>
<div class="form-group has-feedback">
<label class="col-md-4 control-label">Agama</label>
<input class="form-control" name="agama" value="{{ $supir->agama}}" readonly="" type="text">
</div>
<div class="form-group has-feedback">
<a href="{{url('supir/ubahsupir',$supir->id)}}" class="btn btn-info"><i class="fa fa-edit"></i> Ubah Data</a>
</div>
</form><br>
</div>
<!-- /.box-footer -->
</div>
<!-- /.box -->
</div>
</div>
......
......@@ -6,7 +6,7 @@
@section('contentheader_title')
<ol class="breadcrumb"><li><a href="/"><i class="fa fa-home"></i> Home</a></li>
<li class="active"><i class="fa fa-bus"></i> Supir</li>
<li class="active"><i class="fa fa-user"></i> Supir</li>
</ol><!-- breadcrumbs -->
@endsection
......
......@@ -6,8 +6,8 @@
@section('contentheader_title')
<ol class="breadcrumb"><li><a href="/"><i class="fa fa-home"></i> Home</a></li>
<li class="active"><i class="fa fa-bus"></i> User</li>
<li class="active"><i class="fa fa-bus"></i> Detail User</li>
<li class="active"><i class="fa fa-user"></i> User</li>
<li class="active"><i class="fa fa-eye"></i> Detail User</li>
</ol><!-- breadcrumbs -->
@endsection
......@@ -21,7 +21,7 @@
<!-- Profile Image -->
<div class="box box-primary">
<div class="box-body box-profile">
<img class="profile-user-img img-responsive img-circle" src="../../dist/img/avatar.png" alt="User Profil">
<img src="/PA21617D4TI04/public/img/photo1.png" class="profile-user-img img-responsive img-circle" alt="User Image"/>
<h3 class="profile-username text-center">{{ $user->name}}</h3>
......
......@@ -12,6 +12,16 @@
@section('main-content')
<div class="container-fluid spark-screen">
<script type="text/javascript">
$(document).ready(function () {
$(".datepicker").datepicker({
autoclose: true,
format: 'yyyy-mm-dd',
language: 'id'
});
});
</script>
<div class="box box-default">
@if(session()->has('message'))
<div class="alert alert-info">
......@@ -89,8 +99,8 @@
</div>
<div class="form-group{{ $errors->has('berangkat') ? ' has-error' : '' }}">
<label for="title" class="col-md-4 control-label">Berangkat </label>
<div class="col-md-6">
<div class="input-group date">
......@@ -100,7 +110,7 @@
<input class="form-control pull-right" name="berangkat" id="datepicker" type="text">
</div>
<!-- /.input group -->
@if ($errors->has('berangkat'))
<span class="help-block">
<strong>{{ $errors->first('berangkat') }}</strong>
......@@ -110,8 +120,8 @@
</div>
<div class="form-group{{ $errors->has('kembali') ? ' has-error' : '' }}">
<label for="title" class="col-md-4 control-label">Kembali </label>
<div class="col-md-6">
<div class="input-group date">
......@@ -121,7 +131,7 @@
<input class="form-control pull-right" name="kembali" id="datepicker" type="text">
</div>
<!-- /.input group -->
@if ($errors->has('kembali'))
<span class="help-block">
<strong>{{ $errors->first('kembali') }}</strong>
......
......@@ -24,7 +24,7 @@
<div class="form-group{{ $errors->has('name') ? ' has-error' : '' }}">
<label for="title" class="col-md-4 control-label">Nama Pemesan</label>
<div class="col-md-6">
<input type="text" class="form-control" name="name" value="{{ $riwayat->name}}" readonly>
<input type="text" class="form-control" name="name" value="{{ $riwayats->name}}" readonly>
@if ($errors->has('name'))
<span class="help-block">
<strong>{{ $errors->first('name') }}</strong>
......
......@@ -32,7 +32,7 @@
<td>{{$riwaya->alasan}}</td>
<td>{{$riwaya->status}}</td>
<td colspan="2">
<a href="{{url('/klien/riwayat/details',$riwaya->id)}}" class="btn btn-info"><i class="fa fa-eye"></i> Detail</a>
<a href="{{url('/riwayat/details',$riwaya->id)}}" class="btn btn-info"><i class="fa fa-eye"></i> Detail</a>
</td>
</tr>
</form>
......@@ -44,7 +44,7 @@
<td>{{$riwaya2->berangkat}}</td>
<td>{{$riwaya2->status}}</td>
<td colspan="2">
<a href="{{url('/klien/riwayat/details2',$riwaya2->id)}}" class="btn btn-info"><i class="fa fa-eye"></i> Detail</a>
<a href="{{url('/riwayat/details2',$riwaya2->id)}}" class="btn btn-info"><i class="fa fa-eye"></i> Detail</a>
</td>
</tr>
</form>
......
......@@ -28,15 +28,15 @@
<!-- Menu Toggle Button -->
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<!-- The user image in the navbar-->
<img src="/UD_Antoni_Start/public/image/164928.jpg" class="user-image" alt="User Image"/>
<img src="/PA21617D4TI04/public/img/photo1.png" class="user-image" alt="User Image"/>
<!-- hidden-xs hides the username on small devices so only the image appears. -->
<span class="hidden-xs">{{ Auth::user()->name }}</span>
</a>
<ul class="dropdown-menu">
<!-- The user image in the menu -->
<li class="user-header">
<img src="/UD_Antoni_Start/public/image/164928.jpg" class="img-circle" alt="User Image" />
</li>
<div class="user-header">
<img src="/PA21617D4TI04/public/img/photo1.png" class="profile-user-img img-responsive img-circle" alt="User Image"/>
</div>
<!-- Menu Footer-->
<li class="user-footer">
......
......@@ -7,8 +7,8 @@
<!-- Sidebar user panel (optional) -->
@if (! Auth::guest())
<div class="user-panel">
<div class="pull-left image">
<img src=" " class="img-circle" alt="User Image" />
<div class="fa-pull-left image">
<img src="/PA21617D4TI04/public/img/photo1.png" class="img-circle" alt="User Image"/>
</div>
<div class="pull-left info">
<p>{{ Auth::user()->name }}</p>
......@@ -22,7 +22,6 @@
<!-- Sidebar Menu -->
<ul class="sidebar-menu">
<li class="header">{{ trans('adminlte_lang::message.header') }}</li>
@if(Auth::user()->status=="k_klien")
<li class="header">MAIN NAVIGATION</li>
......
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