Commit 71ac3c12 by rizky

routing, blade

parent f8696d96
......@@ -5,6 +5,7 @@ namespace App\Http\Controllers;
use Validator;
use Illuminate\Http\Request;
use Sentinel;
use App\User;
class RegistrationController extends Controller
{
......@@ -15,6 +16,11 @@ class RegistrationController extends Controller
public function postRegister(Request $request)
{
$this->validate($request, [
'first_name' => 'required|max:255',
'last_name' => 'required|max:255',
'password' => 'confirmed|required|min:6',
]);
$user = Sentinel::registerAndActivate($request->all());
......@@ -22,17 +28,7 @@ class RegistrationController extends Controller
$role->users()->attach($user);
return redirect('/login');
}
return redirect('/login')->with('alert-success', 'Akun anda telah terdaftar. Silahkan login.');
protected function validator(array $data)
{
return Validator::make($data, [
'first_name' => 'required|max:255',
'name' => 'required|max:255',
'last_name' => 'required|max:255',
'email' => 'required|email|max:255|unique:users',
'password' => 'required|min:6|confirmed',
]);
}
}
......@@ -4,17 +4,19 @@
<body class="login">
<div>
<a class="hiddenanchor" id="signup"></a>
<a class="hiddenanchor" id="signin"></a>
<div class="login_wrapper">
<div class="animate form login_form">
<section class="login_content">
<form action="/login" method="POST">
<form action="{{url('/login')}}" method="POST">
{{csrf_field()}}
<h1>Login Form</h1>
@if(Session::has('alert-success'))
<div class="alert alert-success">
{{ Session::get('alert-success') }}
</div>
@endif
@if (session('error'))
<div class="alert alert-danger">
{{ session('error') }}
......@@ -38,62 +40,15 @@
<div class="separator">
<p class="change_link">New to site?
<a href="#signup" class="to_register"> Create Account </a>
</p>
<div class="clearfix"></div>
<br />
<div>
<a href="/"><h1><i class="fa fa-paw"></i> TB Silalahi Center</h1></a>
<p>©2017 All Rights Reserved. Privacy and Terms</p>
</div>
</div>
</form>
</section>
</div>
<div id="register" class="animate form registration_form">
<section class="login_content">
<form action="/register" method="POST">
{{csrf_field()}}
<h1>Create Account</h1>
<div>
<input type="text" name="first_name" class="form-control" placeholder="First Name" required="" />
</div>
<div>
<input type="text" name="last_name" class="form-control" placeholder="Last Name" required="" />
</div>
<div>
<input type="email" name="email" class="form-control" placeholder="example@example.com" required="" />
</div>
<div>
<input type="password" name="password" class="form-control" placeholder="Password" required="" />
</div>
<div>
<input type="password" name="password_confirmation" class="form-control" placeholder="Password Confirmation" required="" />
</div>
<div class="form-group">
<input type="submit" value="Register" class="btn btn-success pull-right" >
</div>
<div class="clearfix"></div>
<div class="separator">
<p class="change_link">Already a member ?
<a href="#signin" class="to_register"> Log in </a>
<a href="{{url('/register')}}" class="to_register"> Create Account </a>
</p>
<div class="clearfix"></div>
<br />
<div>
<a href="/"><h1><i class="fa fa-paw"></i> TB Silalahi Center</h1></a>
<p>©2017 All Rights Reserved. Privacy and Terms</p>
<a href="{{url('/')}}"><h1><i class="fa fa-paw"></i> TB Silalahi Center</h1></a>
<p>Copyright © 2017 - All Rights Reserved. Privacy and Terms</p>
</div>
</div>
</form>
......
......@@ -3,11 +3,22 @@
<body class="login">
<div>
<div class="login_wrapper">
{{--<div id="register" class="animate form registration_form">--}}
<section class="login_content">
<form action="/register" method="POST">
{{csrf_field()}}
<form action="{{url('/register')}}" method="POST">
<h1>Create Account</h1>
@if (count($errors)>0)
<div class="alert alert-danger">
<ul>
@foreach($errors->all() as $error)
<li>
{{$error}}
</li>
@endforeach
</ul>
</div>
@endif
{{csrf_field()}}
<div>
<input type="text" name="first_name" class="form-control" placeholder="First Name" required="" />
</div>
......@@ -20,11 +31,11 @@
<input type="email" name="email" class="form-control" placeholder="email@email.com" required="" />
</div>
<div>
<input type="password" name="password" class="form-control" placeholder="Password" required="" />
<input type="password" name="password" class="form-control" placeholder="Password" required="required">
</div>
<div>
<input type="password" name="password_confirmation" class="form-control" placeholder="Password Confirmation" required="" />
<input type="password" name="password_confirmation" class="form-control" placeholder="Password Confirmation" required="required">
</div>
<div class="form-group">
......@@ -35,21 +46,20 @@
<div class="separator">
<p class="change_link">Already a member ?
<a href="/login" class="to_register"> Log in </a>
<a href="{{url('/register')}}" class="to_register"> Log in </a>
</p>
<div class="clearfix"></div>
<br />
<div>
<a href="/"><h1><i class="fa fa-paw"></i> TB Silalahi Center</h1></a>
<p>©2017 All Rights Reserved. Privacy and Terms</p>
<a href="{{url('/')}}"><h1><i class="fa fa-paw"></i> TB Silalahi Center</h1></a>
<p>Copyright © 2017 - All Rights Reserved. Privacy and Terms</p>
</div>
</div>
</form>
</section>
</div>
{{--</div>--}}
</div>
</body>
@endsection
......
@if(Sentinel::check())
@extends('layouts.master-customer')
@section('content')
<!-- page content -->
<div class="right_col" role="main">
<h4> <a href="/customer" class="fa fa-home"> Home</a> </h4>
<!-- page content -->
<div class="right_col" role="main">
<div class="">
<div class="row top_tiles">
<div class="animated flipInY col-lg-3 col-md-3 col-sm-6 col-xs-12">
<div class="tile-stats">
<div class="icon"><i class="fa fa-caret-square-o-right"></i></div>
<div class="count">179</div>
<h3>New Sign ups</h3>
<p>Lorem ipsum psdea itgum rixt.</p>
<div class="page-title">
<div class="title_left">
<h4> <a href="{{url('/customer')}}" class="fa fa-home"> Home</a> </h4>
</div>
</div>
<div class="clearfix"></div>
<div class="row">
<div class="col-md-12">
<div class="x_panel">
<div class="x_title">
<h2>Media Gallery </h2>
<div class="clearfix"></div>
</div>
<div class="x_content">
<div class="row">
<div class="col-md-55">
<div class="thumbnail">
<div class="image view view-first">
<img style="width: 100%; display: block;" src="img/portfolio/thumbnails/1.jpg" alt="image" />
</div>
<div class="caption">
<p>Tank</p>
</div>
</div>
</div>
<div class="col-md-55">
<div class="thumbnail">
<div class="image view view-first">
<img style="width: 100%; display: block;" src="img/portfolio/thumbnails/2.jpg" alt="image" />
</div>
<div class="caption">
<p>Rambu</p>
</div>
</div>
</div>
<div class="col-md-55">
<div class="thumbnail">
<div class="image view view-first">
<img style="width: 100%; display: block;" src="img/portfolio/thumbnails/3.jpg" alt="image" />
</div>
<div class="caption">
<p>Patung</p>
</div>
<div class="animated flipInY col-lg-3 col-md-3 col-sm-6 col-xs-12">
<div class="tile-stats">
<div class="icon"><i class="fa fa-comments-o"></i></div>
<div class="count">179</div>
<h3>New Sign ups</h3>
<p>Lorem ipsum psdea itgum rixt.</p>
</div>
</div>
<div class="animated flipInY col-lg-3 col-md-3 col-sm-6 col-xs-12">
<div class="tile-stats">
<div class="icon"><i class="fa fa-sort-amount-desc"></i></div>
<div class="count">179</div>
<h3>New Sign ups</h3>
<p>Lorem ipsum psdea itgum rixt.</p>
<div class="col-md-55">
<div class="thumbnail">
<div class="image view view-first">
<img style="width: 100%; display: block;" src="img/portfolio/thumbnails/4.jpg" alt="image" />
</div>
<div class="caption">
<p>Buli-buli Batak</p>
</div>
<div class="animated flipInY col-lg-3 col-md-3 col-sm-6 col-xs-12">
<div class="tile-stats">
<div class="icon"><i class="fa fa-check-square-o"></i></div>
<div class="count">179</div>
<h3>New Sign ups</h3>
<p>Lorem ipsum psdea itgum rixt.</p>
</div>
</div>
<div class="col-md-55">
<div class="thumbnail">
<div class="image view view-first">
<img style="width: 100%; display: block;" src="img/portfolio/thumbnails/5.jpg" alt="image" />
</div>
<div class="caption">
<p>Becak BSA Siantar</p>
</div>
</div>
</div>
<div class="col-md-55">
<div class="thumbnail">
<div class="image view view-first">
<img style="width: 100%; display: block;" src="img/portfolio/thumbnails/6.jpg" alt="image" />
</div>
<div class="caption">
<p>Koleksi</p>
</div>
</div>
</div>
<div class="col-md-55">
<div class="thumbnail">
<div class="image view view-first">
<img style="width: 100%; display: block;" src="img/portfolio/thumbnails/7.jpg" alt="image" />
</div>
<div class="caption">
<p>Rumah Adat</p>
</div>
</div>
</div>
<div class="col-md-55">
<div class="thumbnail">
<div class="image view view-first">
<img style="width: 100%; display: block;" src="img/portfolio/thumbnails/8.jpg" alt="image" />
</div>
<div class="caption">
<p>The Battle of Sisingamangaraja XII</p>
</div>
</div>
</div>
<div class="col-md-55">
<div class="thumbnail">
<div class="image view view-first">
<img style="width: 100%; display: block;" src="img/portfolio/thumbnails/9.jpg" alt="image" />
</div>
<div class="caption">
<p>Patung Sisingamangaraja XII</p>
</div>
</div>
</div>
<div class="col-md-55">
<div class="thumbnail">
<div class="image view view-first">
<img style="width: 100%; display: block;" src="img/portfolio/thumbnails/10.jpg" alt="image" />
</div>
<div class="caption">
<p>Industri Ulos</p>
</div>
</div>
</div>
<div class="col-md-55">
<div class="thumbnail">
<div class="image view view-first">
<img style="width: 100%; display: block;" src="img/portfolio/thumbnails/11.jpg" alt="image" />
</div>
<div class="caption">
<p>Koleksi Senjata Api</p>
</div>
</div>
</div>
<div class="col-md-55">
<div class="thumbnail">
<div class="image view view-first">
<img style="width: 100%; display: block;" src="img/portfolio/thumbnails/12.jpg" alt="image" />
</div>
<div class="caption">
<p>Layout ruangan pribadi TB Silalahi</p>
</div>
</div>
</div>
<div class="col-md-55">
<div class="thumbnail">
<div class="image view view-first">
<img style="width: 100%; display: block;" src="img/portfolio/thumbnails/13.jpg" alt="image" />
</div>
<div class="caption">
<p>Topeng Batak</p>
</div>
</div>
</div>
<div class="col-md-55">
<div class="thumbnail">
<div class="image view view-first">
<img style="width: 100%; display: block;" src="img/portfolio/thumbnails/14.jpg" alt="image" />
</div>
<div class="caption">
<p>Podang Raja</p>
</div>
</div>
</div>
<div class="col-md-55">
<div class="thumbnail">
<div class="image view view-first">
<img style="width: 100%; display: block;" src="img/portfolio/thumbnails/15.jpg" alt="image" />
</div>
<div class="caption">
<p>Koleksi jam dan arloji</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- /page content -->
</div>
<!-- /page content -->
@endsection
@endif
\ No newline at end of file
......@@ -7,7 +7,7 @@
<div class="">
<div class="page-title">
<div class="title_left">
<h4> <a href="/customer" class="fa fa-home"> Home</a> / <a href="/feedback"> Feedback</a> </h4>
<h4> <a href="{{url('/customer')}}" class="fa fa-home"> Home</a> / <a href="{{url('/feedback')}}"> Feedback</a> </h4>
</div>
</div>
<div class="clearfix"></div>
......@@ -85,6 +85,7 @@
</div>
</div>
</form>
</form>
</div>
</div>
</div>
......
@extends('layouts.master-admin')
@section('content')
<div class="container body">
<div class="main_container">
<div class="col-md-3 left_col">
<div class="left_col scroll-view">
<div class="navbar nav_title" style="border: 0;">
<a href="/staff" class="site_title"><i class="fa fa-paw"></i> <span>TBS Center</span></a>
</div>
<div class="clearfix"></div>
<!-- menu profile quick info -->
<div class="profile clearfix">
<div class="profile_pic">
<img src="images/img.jpg" alt="..." class="img-circle profile_img">
</div>
<div class="profile_info">
<span>Welcome,</span>
<h2>Staff</h2>
</div>
</div>
<!-- /menu profile quick info -->
<br />
<!-- sidebar menu -->
<div id="sidebar-menu" class="main_menu_side hidden-print main_menu">
<div class="menu_section">
<h3>General</h3>
<ul class="nav side-menu">
<li><a href="/staff"><i class="fa fa-home"></i> Home </a>
</li>
<li><a><i class="fa fa-table"></i> Orders & Transaction <span class="fa fa-chevron-down"></span></a>
<ul class="nav child_menu">
<li><a href="">Data Pemesanan Tiket</a></li>
<li><a href="">Data Tiket dikonfirmasi</a></li>
</ul>
</li>
<li><a><i class="fa fa-edit"></i> Ticket <span class="fa fa-chevron-down"></span></a>
<ul class="nav child_menu">
<li><a href=""> CRUD Tiket</a></li>
</ul>
</li>
<li><a><i class="fa fa-bar-chart-o"></i> Pengunjung <span class="fa fa-chevron-down"></span></a>
<ul class="nav child_menu">
<li><a href="#">Input Data Pengunjung</a></li>
</ul>
</li>
</ul>
</div>
</div>
<!-- /sidebar menu -->
<!-- /menu footer buttons -->
<div class="sidebar-footer hidden-small">
<a data-toggle="tooltip" data-placement="top" title="Settings">
<span class="glyphicon glyphicon-cog" aria-hidden="true"></span>
</a>
<a data-toggle="tooltip" data-placement="top" title="FullScreen">
<span class="glyphicon glyphicon-fullscreen" aria-hidden="true"></span>
</a>
<a data-toggle="tooltip" data-placement="top" title="Lock">
<span class="glyphicon glyphicon-eye-close" aria-hidden="true"></span>
</a>
<a data-toggle="tooltip" data-placement="top" title="Logout" href="#">
<span class="glyphicon glyphicon-off" aria-hidden="true"></span>
</a>
</div>
<!-- /menu footer buttons -->
</div>
</div>
<!-- top navigation -->
<div class="top_nav">
<div class="nav_menu">
<nav>
<div class="nav toggle">
<a id="menu_toggle"><i class="fa fa-bars"></i></a>
</div>
<ul class="nav navbar-nav navbar-right">
<li class="">
<a href="javascript:;" class="user-profile dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
<img src="images/img.jpg" alt="">John Doe
<span class=" fa fa-angle-down"></span>
</a>
<ul class="dropdown-menu dropdown-usermenu pull-right">
<li><a href="javascript:;"> Profile</a></li>
<li>
<a href="javascript:;">
<span class="badge bg-red pull-right">50%</span>
<span>Settings</span>
</a>
</li>
<li><a href="javascript:;">Help</a></li>
<li>
<form action="/logout" method="POST" id="logout-form">
{{ csrf_field() }}
<a href="#" onclick="document.getElementById('logout-form').submit()"><i class="fa fa-sign-out fa-fw"></i>Logout</a>
</form>
</li>
</ul>
</li>
</ul>
</nav>
</div>
</div>
<!-- /top navigation -->
<!-- page content -->
<div class="right_col" role="main">
<div class="">
<div class="page-title">
<div class="title_left">
<h3>Tables <small>Some examples to get you started</small></h3>
</div>
<div class="title_right">
<div class="col-md-5 col-sm-5 col-xs-12 form-group pull-right top_search">
<div class="input-group">
<input type="text" class="form-control" placeholder="Search for...">
<span class="input-group-btn">
<button class="btn btn-default" type="button">Go!</button>
</span>
</div>
</div>
</div>
</div>
<div class="clearfix"></div>
<div class="row">
<div class="col-md-12 col-sm-12 col-xs-12">
<div class="x_panel">
<div class="x_title">
<h2>Hover rows <small>Try hovering over the rows</small></h2>
<ul class="nav navbar-right panel_toolbox">
<li><a class="collapse-link"><i class="fa fa-chevron-up"></i></a>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false"><i class="fa fa-wrench"></i></a>
</li>
</ul>
<div class="clearfix"></div>
</div>
<div class="x_content">
<table class="table table-hover">
<thead>
<tr>
<th>#</th>
<th>Name</th>
<th>Price</th>
<th>Image</th>
<th>Action</th>
</tr>
</thead>
<tbody>
<?php $no=1; ?>
@foreach($tickets as $ticket)
<tr>
<td>{{$no++}}</td>
<td>{{$ticket->name}}</td>
<td>{{$ticket->price}}</td>
<td><img src="{{ asset('image/'. $ticket->images) }}" style="height: 150px; width: 200px; "> </td>
<td>
<form method="POST" action="{{ route('ticket.store', $ticket->id) }}" accept-charset="UTF-8">
<a href="{{url('/ticket/beli',$ticket->id)}}" class="btn btn-primary" onclick="return confirm('Continue Order??')">Order</a>
</form>
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- /page content -->
<!-- footer content -->
<footer>
<div class="pull-right">
Copyright @ TB Silalahi Center 2017
</div>
<div class="clearfix"></div>
</footer>
<!-- /footer content -->
</div>
</div>
@endsection
\ No newline at end of file
......@@ -6,7 +6,7 @@
<div class="">
<div class="page-title">
<div class="title_left">
<h4><a href="/customer" class="fa fa-home"> Home</a> / <a href="#"> Beli</a></h4>
<h4><a href="{{url('/customer')}}" class="fa fa-home"> Home</a> / <a href="#"> Beli</a></h4>
</div>
</div>
......@@ -15,7 +15,7 @@
<div class="col-md-12 col-sm-12 col-xs-12">
<div class="x_panel">
<div class="x_title">
<h2>Hover rows <small>Try hovering over the rows</small></h2>
<h2>Jumlah Pesanan</h2>
<ul class="nav navbar-right panel_toolbox">
<li><a class="collapse-link"><i class="fa fa-chevron-up"></i></a>
</li>
......@@ -36,12 +36,12 @@
<input type="text" value="{{$tickets->id}}" class="form-control" name="id_ticket" readonly>
<label class="col-md-4 control-label">Nama Ticket</label>
<input type="text" value="{{$tickets->name}}" class="form-control" name="nama" readonly>
<label class="col-md-4 control-label">Harga</label>
<label class="col-md-4 control-label">Harga (IDR)</label>
<input type="number" value="{{$tickets->price}}" class="form-control" name="harga" readonly>
<label class="col-md-4 control-label">Jumlah</label>
<input type="number" onkeyup="Harga(this.value)" min="1" class="form-control" name="jumlah" required>
<label class="col-md-4 control-label">Total Harga (Rp)</label><br>
<span class="form-control" id="total"></span><br>
<input type="number" onkeyup="Harga(this.value)" min="1" class="form-control" name="jumlah" placeholder="masukkan jumlah tiket yang ingin dipesan" required>
<label class="col-md-4 control-label">Total Harga (IDR)</label><br>
<span class="form-control" id="total" readonly></span><br>
<button type="submit" class="btn btn-primary" onclick="return confirm('Continue Order??')">Order</button>
</form>
<script>function Harga(str)
......
......@@ -7,7 +7,7 @@
<div class="">
<div class="page-title">
<div class="title_left">
<h4> <a href="/customer" class="fa fa-home"> Home</a> / <a href="/data_konfirmasi"> Data Pemesanan Dikonfirmasi</a> </h4>
<h4> <a href="{{url('/customer')}}" class="fa fa-home"> Home</a> / <a href="{{url('/data_konfirmasi')}}"> Data Pemesanan Dikonfirmasi</a> </h4>
</div>
</div>
......
......@@ -6,7 +6,7 @@
<div class="">
<div class="page-title">
<div class="title_left">
<h4> <a href="/customer" class="fa fa-home"> Home</a> / <a href="/data_order"> Data Pemesanan Tiket</a> </h4>
<h4> <a href="{{url('/customer')}}" class="fa fa-home"> Home</a> / <a href="{{url('/data_order')}}"> Data Pemesanan Tiket</a> </h4>
</div>
</div>
......
......@@ -8,13 +8,15 @@
<div class="">
<div class="page-title">
<div class="title_left">
<h4> <a href="/customer" class="fa fa-home"> Home</a> / <a href="/ticket"> Ticket</a> </h4>
<h4> <a href="{{url('/customer')}}" class="fa fa-home"> Home</a> / <a href="{{url('/ticket')}}"> Order Ticket</a> </h4>
</div>
</div>
<div class="clearfix"></div>
<div class="row">
<div class="col-md-12 col-sm-12 col-xs-12">
<div class="x_panel">
<div class="x_title">
......@@ -22,48 +24,74 @@
<div class="clearfix"></div>
</div>
<div class="x_content">
@if(Session::has('alert-success'))
<div class="alert alert-success">
{{ Session::get('alert-success') }}
</div>
@endif
{{--<a href="{{route('ticket.create')}}" class="btn btn-info pull-right">Add New Menu</a><br><br>--}}
<table class="table table-hover">
<thead>
<tr>
<th>#</th>
<th></th>
<th>Price</th>
<th></th>
<th>Action</th>
</tr>
</thead>
<tbody>
<?php $no=1; ?>
@foreach($tickets as $ticket)
<tr>
<td>{{$no++}}</td>
<td>{{$ticket->name}}</td>
<td>Rp{{$ticket->price}},-</td>
<td><img src="{{ asset('image/'. $ticket->images) }}" style="height: 150px; width: 200px; "> </td>
{{--<td>--}}
{{--<form method="POST" action="{{ route('ticket.destroy', $ticket->id) }}" accept-charset="UTF-8">--}}
{{--<input name="_method" type="hidden" value="Delete">--}}
{{--<input name="_token" type="hidden" value="{{ csrf_token() }}">--}}
{{--<a href="{{route('ticket.edit', $ticket->id)}}" class="btn btn-primary">Edit</a>--}}
{{--<input type="submit" class="btn btn-danger" onclick="return confirm('Continue To Delete?');" value="Delete">--}}
{{--</form>--}}
{{--</td>--}}
<td>
<!-- price element -->
<div class="col-md-4 col-sm-6 col-xs-12" style="align-content: center">
<div class="pricing ui-ribbon-container">
<div class="ui-ribbon-wrapper">
</div>
<div class="title">
</div>
<div class="x_content">
</div>
</div>
</div>
<!-- price element -->
<!-- price element -->
<div class="col-md-4 col-sm-6 col-xs-12" style="align-content: center">
<div class="pricing ui-ribbon-container">
<div class="ui-ribbon-wrapper">
<div class="ui-ribbon">
Available
</div>
</div>
@foreach($tickets as $ticket)
<div class="title">
<h2>{{$ticket->name}}</h2>
<h1>IDR{{$ticket->price}}</h1>
<span>Once</span>
</div>
<div class="x_content">
<div class="">
<div class="pricing_features">
<ul class="list-unstyled text-left">
<img src="{{ asset('image/'. $ticket->images) }}" style="height: 100%; width: 100%; ">
<li><i class="fa fa-check text-success"></i> One day enjoy<strong> in museum</strong></li>
</ul>
</div>
</div>
<div class="pricing_footer">
<form method="POST" action="{{ route('ticket.store', $ticket->id) }}" accept-charset="UTF-8">
<a href="{{url('/ticket/beli',$ticket->id)}}" class="btn btn-primary" >Order</a>
<a href="{{url('/ticket/beli',$ticket->id)}}" class="btn btn-primary btn-block" >Order Now</a>
</form>
</td>
</tr>
</div>
</div>
@endforeach
</tbody>
</table>
</div>
</div>
<!-- price element -->
<!-- price element -->
<div class="col-md-4 col-sm-6 col-xs-12" style="align-content: center">
<div class="pricing ui-ribbon-container">
<div class="ui-ribbon-wrapper">
</div>
<div class="title">
</div>
<div class="x_content">
</div>
</div>
</div>
<!-- price element -->
{{--<a href="{{route('ticket.create')}}" class="btn btn-info pull-right">Add New Menu</a><br><br>--}}
</div>
</div>
</div>
......
......@@ -5,7 +5,7 @@
<div class="">
<div class="page-title">
<div class="title_left">
<h4> <a href="/customer" class="fa fa-home"> Home</a> / <a href="#"> Upload</a> </h4>
<h4> <a href="{{url('/customer')}}" class="fa fa-home"> Home</a> / <a href="#"> Upload</a> </h4>
</div>
</div>
......
......@@ -12,18 +12,18 @@
<title>TB Silalahi Center</title>
<!-- Bootstrap Core CSS -->
<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link href="{{asset('vendor/bootstrap/css/bootstrap.min.css')}}" rel="stylesheet">
<!-- Custom Fonts -->
<link href="vendor/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<link href='https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Merriweather:400,300,300italic,400italic,700,700italic,900,900italic' rel='stylesheet' type='text/css'>
<link href="{{asset('vendor/font-awesome/css/font-awesome.min.css')}}" rel="stylesheet" type="text/css">
<link href="{{asset('https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800')}}" rel='stylesheet' type='text/css'>
<link href={{asset('https://fonts.googleapis.com/css?family=Merriweather:400,300,300italic,400italic,700,700italic,900,900italic')}} rel='stylesheet' type='text/css'>
<!-- Plugin CSS -->
<link href="vendor/magnific-popup/magnific-popup.css" rel="stylesheet">
<link href="{{asset('vendor/magnific-popup/magnific-popup.css')}}" rel="stylesheet">
<!-- Theme CSS -->
<link href="css/creative.min.css" rel="stylesheet">
<link href="{{asset('css/creative.min.css')}}" rel="stylesheet">
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
......@@ -51,10 +51,10 @@
<ul class="nav navbar-nav navbar-right">
<li>
<a class="page-scroll" href="/login">Login</a>
<a class="page-scroll" href="{{url('/login')}}">Login</a>
</li>
<li>
<a class="page-scroll" href="/register">Register</a>
<a class="page-scroll" href="{{url('/register')}}">Register</a>
</li>
</ul>
</div>
......@@ -68,8 +68,7 @@
<div class="header-content-inner">
<h1 id="homeHeading"> Sistem Informasi Pemesanan Tiket Museum TB Silalahi Center</h1>
<hr>
<p>Sistem pemesanan tiket Museum TB Silalahi Center!<br> Pesan tiket sekarang untuk menikmati Museum Batak
dan Museum Pribadi TB Silalahi Center</p>
<p>Sistem pemesanan tiket Museum TB Silalahi Center!<br> Kini hadir dalam bentuk komputerisasi sehingga memudahkan Customer untuk memesan tiket secara online.</p>
<a href="#about" class="btn btn-primary btn-xl page-scroll">Find Out More</a>
</div>
</div>
......@@ -81,8 +80,8 @@
<div class="col-lg-8 col-lg-offset-2 text-center">
<h2 class="section-heading">Layanan Pemesanan Tiket</h2>
<hr class="light">
<p class="text-faded">Start Bootstrap has everything you need to get your new website up and running in no time! All of the templates and themes on Start Bootstrap are open source, free to download, and easy to use. No strings attached!</p>
{{--<a href="#" class="page-scroll btn btn-default btn-xl sr-button">Pesan Sekarang</a>--}}
<p class="text-faded">Daftarkan akun anda sekarang, pesan, dan nikmati layanan museum TB Silalahi Center</p>
{{--<a href="/login" class="page-scroll btn btn-default btn-xl sr-button">Login</a>--}}
</div>
</div>
</div>
......@@ -101,30 +100,30 @@
<div class="row">
<div class="col-lg-3 col-md-6 text-center">
<div class="service-box">
<i class="fa fa-4x fa-diamond text-primary sr-icons"></i>
<h3>Sturdy Templates</h3>
<p class="text-muted">Our templates are updated regularly so they don't break.</p>
<i class="fa fa-4x fa-user text-primary sr-icons"></i>
<h3>Create Account</h3>
<p class="text-muted">Daftar dan miliki akun dari menu <strong><a href="/register">Register</a></strong></p>
</div>
</div>
<div class="col-lg-3 col-md-6 text-center">
<div class="service-box">
<i class="fa fa-4x fa-paper-plane text-primary sr-icons"></i>
<h3>Ready to Ship</h3>
<p class="text-muted">You can use this theme as is, or you can make changes!</p>
<i class="fa fa-4x fa-book text-primary sr-icons"></i>
<h3>Order Ticket</h3>
<p class="text-muted">Pesan tiket untuk mendapatkan tiket melalui aplikasi</p>
</div>
</div>
<div class="col-lg-3 col-md-6 text-center">
<div class="service-box">
<i class="fa fa-4x fa-newspaper-o text-primary sr-icons"></i>
<h3>Up to Date</h3>
<p class="text-muted">We update dependencies to keep things fresh.</p>
<i class="fa fa-4x fa-map-marker text-primary sr-icons"></i>
<h3>Come and Visit Us</h3>
<p class="text-muted">Datang dan kunjungi museum di Jalan TB Silalahi, Pagar Batu </p>
</div>
</div>
<div class="col-lg-3 col-md-6 text-center">
<div class="service-box">
<i class="fa fa-4x fa-heart text-primary sr-icons"></i>
<h3>Made with Love</h3>
<p class="text-muted">You have to make your websites with love these days!</p>
<h3>Serve with Love</h3>
<p class="text-muted">Layanan dengan kasih</p>
</div>
</div>
</div>
......@@ -135,7 +134,7 @@
<div class="container-fluid">
<div class="row no-gutter popup-gallery">
<div class="col-lg-4 col-sm-6">
<a href="img/portfolio/fullsize/1.jpg" class="portfolio-box">
<a href="img/portfolio/thumbnails/.jpg" class="portfolio-box">
<img src="img/portfolio/thumbnails/1.jpg" class="img-responsive" alt="">
<div class="portfolio-box-caption">
<div class="portfolio-box-caption-content">
......@@ -150,7 +149,7 @@
</a>
</div>
<div class="col-lg-4 col-sm-6">
<a href="img/portfolio/fullsize/2.jpg" class="portfolio-box">
<a href="img/portfolio/thumbnails/2.jpg" class="portfolio-box">
<img src="img/portfolio/thumbnails/2.jpg" class="img-responsive" alt="">
<div class="portfolio-box-caption">
<div class="portfolio-box-caption-content">
......@@ -165,7 +164,7 @@
</a>
</div>
<div class="col-lg-4 col-sm-6">
<a href="img/portfolio/fullsize/3.jpg" class="portfolio-box">
<a href="img/portfolio/thumbnails/3.jpg" class="portfolio-box">
<img src="img/portfolio/thumbnails/3.jpg" class="img-responsive" alt="">
<div class="portfolio-box-caption">
<div class="portfolio-box-caption-content">
......@@ -180,7 +179,7 @@
</a>
</div>
<div class="col-lg-4 col-sm-6">
<a href="img/portfolio/fullsize/4.jpg" class="portfolio-box">
<a href="img/portfolio/thumbnails/4.jpg" class="portfolio-box">
<img src="img/portfolio/thumbnails/4.jpg" class="img-responsive" alt="">
<div class="portfolio-box-caption">
<div class="portfolio-box-caption-content">
......@@ -195,7 +194,7 @@
</a>
</div>
<div class="col-lg-4 col-sm-6">
<a href="img/portfolio/fullsize/5.jpg" class="portfolio-box">
<a href="img/portfolio/thumbnails/5.jpg" class="portfolio-box">
<img src="img/portfolio/thumbnails/5.jpg" class="img-responsive" alt="">
<div class="portfolio-box-caption">
<div class="portfolio-box-caption-content">
......@@ -210,7 +209,7 @@
</a>
</div>
<div class="col-lg-4 col-sm-6">
<a href="img/portfolio/fullsize/6.jpg" class="portfolio-box">
<a href="img/portfolio/thumbnails/6.jpg" class="portfolio-box">
<img src="img/portfolio/thumbnails/6.jpg" class="img-responsive" alt="">
<div class="portfolio-box-caption">
<div class="portfolio-box-caption-content">
......@@ -225,7 +224,7 @@
</a>
</div>
<div class="col-lg-4 col-sm-6">
<a href="img/portfolio/fullsize/7.jpg" class="portfolio-box">
<a href="img/portfolio/thumbnails/7.jpg" class="portfolio-box">
<img src="img/portfolio/thumbnails/7.jpg" class="img-responsive" alt="">
<div class="portfolio-box-caption">
<div class="portfolio-box-caption-content">
......@@ -240,7 +239,7 @@
</a>
</div>
<div class="col-lg-4 col-sm-6">
<a href="img/portfolio/fullsize/8.jpg" class="portfolio-box">
<a href="img/portfolio/thumbnails/8.jpg" class="portfolio-box">
<img src="img/portfolio/thumbnails/8.jpg" class="img-responsive" alt="">
<div class="portfolio-box-caption">
<div class="portfolio-box-caption-content">
......@@ -255,7 +254,7 @@
</a>
</div>
<div class="col-lg-4 col-sm-6">
<a href="img/portfolio/fullsize/9.jpg" class="portfolio-box">
<a href="img/portfolio/thumbnails/9.jpg" class="portfolio-box">
<img src="img/portfolio/thumbnails/9.jpg" class="img-responsive" alt="">
<div class="portfolio-box-caption">
<div class="portfolio-box-caption-content">
......@@ -270,7 +269,7 @@
</a>
</div>
<div class="col-lg-4 col-sm-6">
<a href="img/portfolio/fullsize/10.jpg" class="portfolio-box">
<a href="img/portfolio/thumbnails/10.jpg" class="portfolio-box">
<img src="img/portfolio/thumbnails/10.jpg" class="img-responsive" alt="">
<div class="portfolio-box-caption">
<div class="portfolio-box-caption-content">
......@@ -285,7 +284,7 @@
</a>
</div>
<div class="col-lg-4 col-sm-6">
<a href="img/portfolio/fullsize/11.jpg" class="portfolio-box">
<a href="img/portfolio/thumbnails/11.jpg" class="portfolio-box">
<img src="img/portfolio/thumbnails/11.jpg" class="img-responsive" alt="">
<div class="portfolio-box-caption">
<div class="portfolio-box-caption-content">
......@@ -300,7 +299,7 @@
</a>
</div>
<div class="col-lg-4 col-sm-6">
<a href="img/portfolio/fullsize/12.jpg" class="portfolio-box">
<a href="img/portfolio/thumbnails/12.jpg" class="portfolio-box">
<img src="img/portfolio/thumbnails/12.jpg" class="img-responsive" alt="">
<div class="portfolio-box-caption">
<div class="portfolio-box-caption-content">
......@@ -318,48 +317,51 @@
</div>
</section>
<aside class="bg-dark">
<div class="container text-center">
<div class="call-to-action">
<h2>Museum Batak TB Silalahi Center Balige</h2>
{{--<a href="#" class="btn btn-default btn-xl sr-button">Visit now</a>--}}
</div>
</div>
</aside>
<section id="contact">
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 text-center">
<h2 class="section-heading">Let's Get In Touch!</h2>
<hr class="primary">
<p>Ready to start your next project with us? That's great! Give us a call or send us an email and we will get back to you as soon as possible!</p>
<p>Hubungi dan kunjungi kami melalui informasi di bawah ini </p>
</div>
<div class="col-lg-4 col-lg-offset-2 text-center">
<div class="col-lg-2 col-lg-offset-2 text-center">
<i class="fa fa-phone fa-3x sr-contact"></i>
<p>123-456-6789</p>
</div>
<div class="col-lg-4 text-center">
<div class="col-lg-3 text-center">
<i class="fa fa-envelope-o fa-3x sr-contact"></i>
<p><a href="/feedback">feedback@startbootstrap.com</a></p>
<p><a href="#">museumtbsc@gmail.com</a></p>
</div>
<div class="col-lg-3 text-center">
<i class="fa fa-map-marker fa-3x sr-contact"></i>
<p>Jalan TB Silalahi, Pagar Batu, Balige, Toba Samosir</p>
</div>
</div>
</div>
</section>
<aside class="bg-dark">
<div class="container text-center">
<p>Copyright 2017 Museum TB Silalahi Center</p>
</div>
</aside>
<!-- jQuery -->
<script src="vendor/jquery/jquery.min.js"></script>
<script src="{{asset('vendor/jquery/jquery.min.js')}}"></script>
<!-- Bootstrap Core JavaScript -->
<script src="vendor/bootstrap/js/bootstrap.min.js"></script>
<script src="{{asset('vendor/bootstrap/js/bootstrap.min.js')}}"></script>
<!-- Plugin JavaScript -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js"></script>
<script src="vendor/scrollreveal/scrollreveal.min.js"></script>
<script src="vendor/magnific-popup/jquery.magnific-popup.min.js"></script>
<script src="{{asset('https://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js')}}"></script>
<script src="{{asset('vendor/scrollreveal/scrollreveal.min.js')}}"></script>
<script src="{{asset('vendor/magnific-popup/jquery.magnific-popup.min.js')}}"></script>
<!-- Theme JavaScript -->
<script src="js/creative.min.js"></script>
<script src="{{asset('js/creative.min.js')}}"></script>
</body>
......
......@@ -37,7 +37,7 @@
<div class="col-md-3 left_col">
<div class="left_col scroll-view">
<div class="navbar nav_title" style="border: 0;">
<a href="/customer" class="site_title"><i class="fa fa-paw"></i> <span>TBS Center</span></a>
<a href="{{url('/customer')}}" class="site_title"><i class="fa fa-paw"></i> <span>TBS Center</span></a>
</div>
<div class="clearfix"></div>
......@@ -66,19 +66,18 @@
<li><a><i class="fa fa-table"></i> Order Tiket <span class="fa fa-chevron-down"></span></a>
<ul class="nav child_menu">
<li><a href="/ticket">Pesan Tiket</a></li>
<li><a href="/data_order">Data Pemesanan</a></li>
<li><a href="/data_konfirmasi">Data Pemesanan Dikonfirmasi</a></li>
<li><a href="{{url('/ticket')}}">Pesan Tiket</a></li>
<li><a href="{{url('/data_order')}}">Data Pemesanan</a></li>
<li><a href="{{url('/data_konfirmasi')}}">Data Pemesanan Dikonfirmasi</a></li>
</ul>
</li>
<li><a><i class="fa fa-comments-o"></i> Feedback <span class="fa fa-chevron-down"></span></a>
<ul class="nav child_menu">
<li><a href="/feedback"> Give Feedback</a></li>
<li><a href="{{url('/feedback')}}"> Give Feedback</a></li>
</ul>
</li>
</ul>
</div>
</div>
......@@ -122,7 +121,7 @@
<a href="#" class="fa fa-lock"> Change Password</a>
</li>
<li>
<form action="/logout" method="POST" id="logout-form">
<form action="{{url('/logout')}}" method="POST" id="logout-form">
{{ csrf_field() }}
<a href="#" onclick="document.getElementById('logout-form').submit()"><i class="fa fa-sign-out fa-fw"></i>Logout</a>
{{--<a href="login.html"><i class="fa fa-sign-out pull-right"></i> Log Out</a></li>--}}</form>
......@@ -140,7 +139,7 @@
<!-- footer content -->
<footer>
<div class="pull-right">
Copyright @ TB Silalahi Center 2017
Copyright © 2017 - TB Silalahi Center
</div>
<div class="clearfix"></div>
</footer>
......
......@@ -37,7 +37,7 @@
<div class="col-md-3 left_col">
<div class="left_col scroll-view">
<div class="navbar nav_title" style="border: 0;">
<a href="/manager" class="site_title"><i class="fa fa-paw"></i> <span>TBS Center</span></a>
<a href="{{url('/manager')}}" class="site_title"><i class="fa fa-paw"></i> <span>TBS Center</span></a>
</div>
<div class="clearfix"></div>
......@@ -61,19 +61,19 @@
<div class="menu_section">
<h3>General</h3>
<ul class="nav side-menu">
<li><a href="/manager"><i class="fa fa-home"></i> Home </a>
<li><a href="{{url('/manager')}}"><i class="fa fa-home"></i> Home </a>
</li>
<li><a><i class="fa fa-table"></i> Laporan <span class="fa fa-chevron-down"></span></a>
<ul class="nav child_menu">
<li><a href="/penjualan">Data Penjualan Tiket</a></li>
<li><a href="/viewpengunjung">Daftar Pengunjung</a></li>
<li><a href="{{url('/penjualan')}}">Data Penjualan Tiket</a></li>
<li><a href="{{url('/viewpengunjung')}}">Daftar Pengunjung</a></li>
</ul>
</li>
<li><a><i class="fa fa-edit"></i> Feedback <span class="fa fa-chevron-down"></span></a>
<ul class="nav child_menu">
<li><a href="/viewfeedback">Daftar Feedback</a></li>
<li><a href="{{url('/viewfeedback')}}">Daftar Feedback</a></li>
</ul>
</li>
......@@ -118,7 +118,7 @@
<ul class="dropdown-menu dropdown-usermenu pull-right">
<li><a href="#" class="fa fa-lock"> Change Password</a></li>
<li>
<form action="/logout" method="POST" id="logout-form">
<form action="{{url('/logout')}}" method="POST" id="logout-form">
{{ csrf_field() }}
<a href="#" onclick="document.getElementById('logout-form').submit()"><i class="fa fa-sign-out fa-fw"></i>Logout</a>
{{--<a href="login.html"><i class="fa fa-sign-out pull-right"></i> Log Out</a></li>--}}</form>
......@@ -136,7 +136,7 @@
<!-- footer content -->
<footer>
<div class="pull-right">
Copyright @ TB Silalahi Center 2017
Copyright © 2017 - TB Silalahi Center
</div>
<div class="clearfix"></div>
</footer>
......
......@@ -37,7 +37,7 @@
<div class="col-md-3 left_col">
<div class="left_col scroll-view">
<div class="navbar nav_title" style="border: 0;">
<a href="/staff" class="site_title"><i class="fa fa-paw"></i> <span>TBS Center</span></a>
<a href="{{url('/staff')}}" class="site_title"><i class="fa fa-paw"></i> <span>TBS Center</span></a>
</div>
<div class="clearfix"></div>
......@@ -61,25 +61,25 @@
<div class="menu_section">
<h3>General</h3>
<ul class="nav side-menu">
<li><a href="/staff"><i class="fa fa-home"></i> Home </a>
<li><a href="{{url('/staff')}}"><i class="fa fa-home"></i> Home </a>
</li>
<li><a><i class="fa fa-table"></i> Orders & Transaction <span class="fa fa-chevron-down"></span></a>
<ul class="nav child_menu">
<li><a href="/pemesanan">Data Pemesanan Tiket</a></li>
<li><a href="/data_transaksi">Data Tiket dikonfirmasi</a></li>
<li><a href="{{url('/pemesanan')}}">Data Pemesanan Tiket</a></li>
<li><a href="{{url('/data_transaksi')}}">Data Tiket dikonfirmasi</a></li>
</ul>
</li>
<li><a><i class="fa fa-bar-chart-o"></i> Pengunjung <span class="fa fa-chevron-down"></span></a>
<ul class="nav child_menu">
<li><a href="/pengunjung">Input Data Pengunjung</a></li>
<li><a href="{{url('/pengunjung')}}">Input Data Pengunjung</a></li>
</ul>
</li>
<li><a><i class="fa fa-user"></i> Member <span class="fa fa-chevron-down"></span></a>
<ul class="nav child_menu">
<li><a href="/member">View Member</a></li>
<li><a href="{{url('/member')}}">View Member</a></li>
</ul>
</li>
</ul>
......@@ -123,7 +123,7 @@
<ul class="dropdown-menu dropdown-usermenu pull-right">
<li><a href="" class="fa fa-lock"> Change Password</a></li>
<li>
<form action="/logout" method="POST" id="logout-form">
<form action="{{url('/logout')}}" method="POST" id="logout-form">
{{ csrf_field() }}
<a href="#" onclick="document.getElementById('logout-form').submit()"><i class="fa fa-sign-out fa-fw"></i>Logout</a>
{{--<a href="login.html"><i class="fa fa-sign-out pull-right"></i> Log Out</a></li>--}}</form>
......@@ -141,7 +141,7 @@
<!-- footer content -->
<footer>
<div class="pull-right">
Copyright @ TB Silalahi Center 2017
Copyright © 2017 - TB Silalahi Center
</div>
<div class="clearfix"></div>
</footer>
......
......@@ -11,33 +11,20 @@
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
<!--
<li>
<a class="page-scroll" href="#about">About</a>
</li>
<li>
<a class="page-scroll" href="#services">Services</a>
</li>
<li>
<a class="page-scroll" href="#portfolio">Portfolio</a>
</li>
<li>
<a class="page-scroll" href="#contact">Contact</a>
</li>
-->
@if(Sentinel::check())
<li role="presentation">
<form action="/logout" method="POST" id="logout-form">
<form action="{{url('/logout')}}" method="POST" id="logout-form">
{{ csrf_field() }}
<a href="#" onclick="document.getElementById('logout-form').submit()">Logout</a>
</form>
</li>
@else
<li>
<a class="page-scroll" href="/login">Login</a>
<a class="page-scroll" href="{{url('/login')}}">Login</a>
</li>
<li role="presentation">
<a class="page-scroll" href="/register">Register</a>
<a class="page-scroll" href="{{url('/register')}}">Register</a>
</li>
@endif
......@@ -47,28 +34,3 @@
</div>
<!-- /.container-fluid -->
</nav>
\ No newline at end of file
{{--<!-- <div class="header clearfix">--}}
{{--<nav>--}}
{{--<ul class="nav nav-pills pull-right">--}}
{{--@if(Sentinel::check())--}}
{{--<li role="presentation">--}}
{{--<form action="/logout" method="POST" id="logout-form">--}}
{{--{{ csrf_field() }}--}}
{{--<a href="#" onclick="document.getElementById('logout-form').submit()">Logout</a>--}}
{{--</form>--}}
{{--</li>--}}
{{--@else--}}
{{--<li role="presentation"><a href="/login">Login</a></li>--}}
{{--<li role="presentation"><a href="/register">Register</a></li>--}}
{{--@endif--}}
{{--</ul>--}}
{{--</nav>--}}
{{--<h3 class="text-muted">--}}
{{--@if(Sentinel::check())--}}
{{--Hello, {{Sentinel::getUser()->first_name }}--}}
{{--@else--}}
{{--Authentication--}}
{{--@endif--}}
{{--</h3>--}}
{{--</div> -->--}}
\ No newline at end of file
......@@ -7,7 +7,7 @@
<div class="">
<div class="page-title">
<div class="title_left">
<h4> <a href="/manager" class="fa fa-home"> Home</a> / <a href="/viewfeedback"> Feedback</a> </h4>
<h4> <a href="{{url('/manager')}}" class="fa fa-home"> Home</a> / <a href="{{url('/viewfeedback')}}"> Feedback</a> </h4>
</div>
</div>
......
......@@ -7,7 +7,7 @@
<div class="">
<div class="page-title">
<div class="title_left">
<h4> <a href="/manager" class="fa fa-home"> Home</a> / <a href="/penjualan">Data Penjualan Tiket</a> </h4>
<h4> <a href="{{url('/manager')}}" class="fa fa-home"> Home</a> / <a href="{{url('/penjualan')}}">Data Penjualan Tiket</a> </h4>
</div>
</div>
......
......@@ -5,7 +5,7 @@
<!-- page content -->
<div class="right_col" role="main">
<div class="">
<h4> <a href="/manager" class="fa fa-home"> Home</a> </h4>
<h4> <a href="{{url('/manager')}}" class="fa fa-home"> Home</a> </h4>
<div class="row top_tiles">
<div class="animated flipInY col-lg-3 col-md-3 col-sm-6 col-xs-12">
......
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<title>TB Silalahi Center</title>
<!-- Bootstrap Core CSS -->
<link href="../vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<!-- MetisMenu CSS -->
<link href="../vendor/metisMenu/metisMenu.min.css" rel="stylesheet">
<!-- DataTables CSS -->
<link href="../vendor/datatables-plugins/dataTables.bootstrap.css" rel="stylesheet">
<!-- DataTables Responsive CSS -->
<link href="../vendor/datatables-responsive/dataTables.responsive.css" rel="stylesheet">
<!-- Custom CSS -->
<link href="../dist/css/sb-admin-2.css" rel="stylesheet">
<!-- Custom Fonts -->
<link href="../vendor/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div id="wrapper">
<!-- Navigation -->
<nav class="navbar navbar-default navbar-static-top" role="navigation" style="margin-bottom: 0">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/admin">TB Silalahi Center</a>
</div>
<!-- /.navbar-header -->
<ul class="nav navbar-top-links navbar-right">
<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#">
<i class="fa fa-user fa-fw"></i> <i class="fa fa-caret-down"></i>
</a>
<ul class="dropdown-menu dropdown-user">
<li><a href="#"><i class="fa fa-user fa-fw"></i> User Profile</a>
</li>
<li><a href="#"><i class="fa fa-gear fa-fw"></i> Settings</a>
</li>
<li class="divider"></li>
<li><a href="/logout"><i class="fa fa-sign-out fa-fw"></i> Logout</a>
<form action="/logout" method="POST" id="logout-form">
{{ csrf_field() }}
<a href="#" onclick="document.getElementById('logout-form').submit()">Logout</a>
</form>
</li>
</ul>
<!-- /.dropdown-user -->
</li>
<!-- /.dropdown -->
</ul>
<!-- /.navbar-top-links -->
<div class="navbar-default sidebar" role="navigation">
<div class="sidebar-nav navbar-collapse">
<ul class="nav" id="side-menu">
<li class="sidebar-search">
<div class="input-group custom-search-form">
<input type="text" class="form-control" placeholder="Search...">
<span class="input-group-btn">
<button class="btn btn-default" type="button">
<i class="fa fa-search"></i>
</button>
</span>
</div>
<!-- /input-group -->
</li>
<li>
<a href="/manager"><i class="fa fa-dashboard fa-fw"></i> Dashboard</a>
</li>
<li>
<a href="/pegawai"><i class="fa fa-table fa-fw"></i> Data Pegawai</a>
</li>
<li>
<a href="#"><i class="fa fa-edit fa-fw"></i> Form Feedback</a>
</li>
<li>
<a href="#"><i class="fa fa-bar-chart-o fa-fw"></i> Laporan<span class="fa arrow"></span></a>
<ul class="nav nav-second-level">
<li>
<a href="#">Statistik Pengunjung</a>
</li>
<li>
<a href="#">Laporan Pengunjung</a>
</li>
</ul>
<!-- /.nav-second-level -->
</li>
</ul>
</div>
<!-- /.sidebar-collapse -->
</div>
<!-- /.navbar-static-side -->
</nav>
<div id="page-wrapper">
<div class="row">
<div class="col-lg-12">
<h1 class="page-header">Data Pegawai</h1>
</div>
<!-- /.col-lg-12 -->
</div>
<!-- /.row -->
<div class="row">
<div class="col-lg-12">
<div class="panel panel-default">
<div class="panel-heading">
Daftar data pegawai TB Silalahi Center
</div>
<!-- /.panel-heading -->
<div class="panel-body">
<div class="col-md-12 col-md-offset-0">
@if (Session::has('pesan_sukses'))
<div class="alert alert-success">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
{{ Session::get('pesan_sukses') }}
</div>
@elseif (Session::has('pesan_gagal'))
<div class="alert alert-danger">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
{{ Session::get('pesan_gagal') }}
</div>
@endif
<table width="100%" class="table table-striped table-bordered table-hover" id="dataTables-example">
<thead>
<?php $count = 1; ?>
<tr>
<th>No</th>
<th>Nama</th>
<th>Pekerjaan(s)</th>
<th>Nomor telepon</th>
</tr>
</thead>
<tbody>
@foreach($karyawans as $karyawans)
<tr>
<td>{!! $count++ !!}</td>
<td>{!! $karyawans->nama !!}</td>
<td>{!! $karyawans->pekerjaan !!}</td>
<td>{!! $karyawans->notlp !!}</td>
</tr>
@endforeach
</tbody>
</table>
<!-- /.table-responsive -->
</div>
<!-- /.panel-body -->
</div>
<!-- /.panel -->
</div>
<!-- /.col-lg-12 -->
</div>
<!-- /.row -->
</div>
<!-- /#wrapper -->
<!-- jQuery -->
<script src="../vendor/jquery/jquery.min.js"></script>
<!-- Bootstrap Core JavaScript -->
<script src="../vendor/bootstrap/js/bootstrap.min.js"></script>
<!-- Metis Menu Plugin JavaScript -->
<script src="../vendor/metisMenu/metisMenu.min.js"></script>
<!-- DataTables JavaScript -->
<script src="../vendor/datatables/js/jquery.dataTables.min.js"></script>
<script src="../vendor/datatables-plugins/dataTables.bootstrap.min.js"></script>
<script src="../vendor/datatables-responsive/dataTables.responsive.js"></script>
<!-- Custom Theme JavaScript -->
<script src="../dist/js/sb-admin-2.js"></script>
<!-- Page-Level Demo Scripts - Tables - Use for reference -->
<script>
$(document).ready(function() {
$('#dataTables-example').DataTable({
responsive: true
});
});
</script>
</div>
</div>
</body>
......@@ -7,7 +7,7 @@
<div class="">
<div class="page-title">
<div class="title_left">
<h4> <a href="/manager" class="fa fa-home"> Home</a> / <a href="/viewpengunjung">Daftar Pengunjung</a> </h4>
<h4> <a href="{{url('/manager')}}" class="fa fa-home"> Home</a> / <a href="{{url('/viewpengunjung')}}">Daftar Pengunjung</a> </h4>
</div>
</div>
......
......@@ -7,7 +7,7 @@
<div class="">
<div class="page-title">
<div class="title_left">
<h4> <a href="/staff" class="fa fa-home"> Home</a> / <a href="/member"> Member</a> </h4>
<h4> <a href="{{url('/staff')}}" class="fa fa-home"> Home</a> / <a href="{{url('/member')}}"> Member</a> </h4>
</div>
</div>
......
......@@ -7,7 +7,7 @@
<div class="">
<div class="page-title">
<div class="title_left">
<h4> <a href="/staff" class="fa fa-home"> Home</a> / <a href="/pemesanan"> Pemesanan</a> </h4>
<h4> <a href="{{url('/staff')}}" class="fa fa-home"> Home</a> / <a href="{{url('/pemesanan')}}"> Pemesanan</a> </h4>
</div>
</div>
......
......@@ -6,7 +6,7 @@
<div class="">
<div class="page-title">
<div class="title_left">
<h4> <a href="/staff" class="fa fa-home"> Home</a> / <a href="/data_transaksi">Data Transaksi</a> </h4>
<h4> <a href="{{url('/staff')}}" class="fa fa-home"> Home</a> / <a href="{{url('/data_transaksi')}}">Data Transaksi</a> </h4>
</div>
</div>
......
<?php
/**
* Created by PhpStorm.
* User: totapetro
* Date: 5/20/2017
* Time: 2:13 PM
*/
\ No newline at end of file
......@@ -6,7 +6,7 @@
<div class="">
<div class="page-title">
<div class="title_left">
<h4> <a href="/staff" class="fa fa-home"> Home</a> / <a href="/pengunjung">Data Pengunjung </a> </h4>
<h4> <a href="{{url('/staff')}}" class="fa fa-home"> Home</a> / <a href="{{url('/pengunjung')}}">Data Pengunjung </a> </h4>
</div>
</div>
......@@ -48,7 +48,7 @@
</div>
</div>
<div class="form-group{{ah $errors->has('juml') ? ' has-error' : '' }}">
<div class="form-group{{ $errors->has('jumlah') ? ' has-error' : '' }}">
<label class="control-label col-md-3 col-sm-3 col-xs-12" for="first-name">Jumlah Tiket<span class="required">*</span>
</label>
<div class="col-md-6 col-sm-6 col-xs-12">
......
@if(Sentinel::check())
@extends('layouts.master-customer')
@extends('layouts.master-staff')
@section('content')
<!-- page content -->
<div class="right_col" role="main">
<div class="">
<div class="page-title">
<div class="title_left">
<h4> <a href="/customer" class="fa fa-home"> Home</a> </h4>
<h4> <a href="{{url('/staff')}}" class="fa fa-home"> Home</a> </h4>
</div>
</div>
<div class="clearfix"></div>
<div class="row">
<div class="col-md-12 col-sm-12 col-xs-12">
......@@ -30,7 +27,21 @@
<p style="font-size: 15pt">Home : halaman awal sistem</p>
</li>
<li>
<p style="font-size: 15pt">Order Tiket</p>
<p style="font-size: 15pt">Orders and Transaction</p>
<ul>
<li>
<p style="font-size: 15pt">Data Pemesanan Tiket</p>
</li>
<li>
<p style="font-size: 15pt">Data Tiket Dikonfirmasi</p>
</li>
</ul>
</li>
<li>
<p style="font-size: 15pt">Pengunjung</p>
</li>
<li>
<p style="font-size: 15pt">Member</p>
</li>
</ul>
</li>
......
@extends('layouts.master-admin')
@section('content')
<div class="container body">
<div class="main_container">
<div class="col-md-3 left_col">
<div class="left_col scroll-view">
<div class="navbar nav_title" style="border: 0;">
<a href="/staff" class="site_title"><i class="fa fa-paw"></i> <span>TBS Center</span></a>
</div>
<div class="clearfix"></div>
<!-- menu profile quick info -->
<div class="profile clearfix">
<div class="profile_pic">
<img src="images/img.jpg" alt="..." class="img-circle profile_img">
</div>
<div class="profile_info">
<span>Welcome,</span>
<h2>Staff</h2>
</div>
</div>
<!-- /menu profile quick info -->
<br />
<!-- sidebar menu -->
<div id="sidebar-menu" class="main_menu_side hidden-print main_menu">
<div class="menu_section">
<h3>General</h3>
<ul class="nav side-menu">
<li><a href="/staff"><i class="fa fa-home"></i> Home </a>
</li>
<li><a><i class="fa fa-table"></i> Orders & Transaction <span class="fa fa-chevron-down"></span></a>
<ul class="nav child_menu">
<li><a href="">Data Pemesanan Tiket</a></li>
<li><a href="">Data Tiket dikonfirmasi</a></li>
</ul>
</li>
<li><a><i class="fa fa-edit"></i> Ticket <span class="fa fa-chevron-down"></span></a>
<ul class="nav child_menu">
<li><a href=""> CRUD Tiket</a></li>
</ul>
</li>
<li><a><i class="fa fa-bar-chart-o"></i> Pengunjung <span class="fa fa-chevron-down"></span></a>
<ul class="nav child_menu">
<li><a href="#">Input Data Pengunjung</a></li>
</ul>
</li>
</ul>
</div>
</div>
<!-- /sidebar menu -->
<!-- /menu footer buttons -->
<div class="sidebar-footer hidden-small">
<a data-toggle="tooltip" data-placement="top" title="Settings">
<span class="glyphicon glyphicon-cog" aria-hidden="true"></span>
</a>
<a data-toggle="tooltip" data-placement="top" title="FullScreen">
<span class="glyphicon glyphicon-fullscreen" aria-hidden="true"></span>
</a>
<a data-toggle="tooltip" data-placement="top" title="Lock">
<span class="glyphicon glyphicon-eye-close" aria-hidden="true"></span>
</a>
<a data-toggle="tooltip" data-placement="top" title="Logout" href="#">
<span class="glyphicon glyphicon-off" aria-hidden="true"></span>
</a>
</div>
<!-- /menu footer buttons -->
</div>
</div>
<!-- top navigation -->
<div class="top_nav">
<div class="nav_menu">
<nav>
<div class="nav toggle">
<a id="menu_toggle"><i class="fa fa-bars"></i></a>
</div>
<ul class="nav navbar-nav navbar-right">
<li class="">
<a href="javascript:;" class="user-profile dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
<img src="images/img.jpg" alt="">John Doe
<span class=" fa fa-angle-down"></span>
</a>
<ul class="dropdown-menu dropdown-usermenu pull-right">
<li><a href="javascript:;"> Profile</a></li>
<li>
<a href="javascript:;">
<span class="badge bg-red pull-right">50%</span>
<span>Settings</span>
</a>
</li>
<li><a href="javascript:;">Help</a></li>
<li>
<form action="/logout" method="POST" id="logout-form">
{{ csrf_field() }}
<a href="#" onclick="document.getElementById('logout-form').submit()"><i class="fa fa-sign-out fa-fw"></i>Logout</a>
{{--<a href="login.html"><i class="fa fa-sign-out pull-right"></i> Log Out</a></li>--}}</form>
</li>
</ul>
</li>
</ul>
</nav>
</div>
</div>
<!-- /top navigation -->
<!-- page content -->
<div class="right_col" role="main">
<div class="">
<div class="page-title">
<div class="title_left">
<h3>Tables <small>Some examples to get you started</small></h3>
</div>
<div class="title_right">
<div class="col-md-5 col-sm-5 col-xs-12 form-group pull-right top_search">
<div class="input-group">
<input type="text" class="form-control" placeholder="Search for...">
<span class="input-group-btn">
<button class="btn btn-default" type="button">Go!</button>
</span>
</div>
</div>
</div>
</div>
<div class="clearfix"></div>
<div class="row">
<div class="col-md-12 col-sm-12 col-xs-12">
<div class="x_panel">
<div class="x_title">
<h2>Hover rows <small>Try hovering over the rows</small></h2>
<ul class="nav navbar-right panel_toolbox">
<li><a class="collapse-link"><i class="fa fa-chevron-up"></i></a>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false"><i class="fa fa-wrench"></i></a>
</li>
</ul>
<div class="clearfix"></div>
</div>
<div class="x_content">
<form action="{{route('ticket.store')}}" method="post" enctype="multipart/form-data">
{{csrf_field()}}
<div class="form-group{{ $errors->has('name') ? ' has-error' : '' }}">
<input type="text" name="name" class="form-control" placeholder="Name">
{!! $errors->first('name', '<p class="help-block">:message</p>') !!}
</div>
<div class="form-group{{ $errors->has('price') ? ' has-error' : '' }}">
<input type="text" name="price" class="form-control" placeholder="Price">
{!! $errors->first('price', '<p class="help-block">:message</p>') !!}
</div>
<div class="form-group{{ $errors->has('images') ? ' has-error' : '' }}">
<input type="file" id="inputimages" name="images" class="form-control">
{!! $errors->first('images', '<p class="help-block">:message</p>') !!}
</div>
<div class="form-group">
<input type="submit" class="btn btn-primary" value="Add">
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- /page content -->
<!-- footer content -->
<footer>
<div class="pull-right">
Copyright @ TB Silalahi Center 2017
</div>
<div class="clearfix"></div>
</footer>
<!-- /footer content -->
</div>
</div>
@endsection
@extends('layouts.master-admin')
@section('content')
<div class="container body">
<div class="main_container">
<div class="col-md-3 left_col">
<div class="left_col scroll-view">
<div class="navbar nav_title" style="border: 0;">
<a href="/staff" class="site_title"><i class="fa fa-paw"></i> <span>TBS Center</span></a>
</div>
<div class="clearfix"></div>
<!-- menu profile quick info -->
<div class="profile clearfix">
<div class="profile_pic">
<img src="images/img.jpg" alt="..." class="img-circle profile_img">
</div>
<div class="profile_info">
<span>Welcome,</span>
<h2>Staff</h2>
</div>
</div>
<!-- /menu profile quick info -->
<br />
<!-- sidebar menu -->
<div id="sidebar-menu" class="main_menu_side hidden-print main_menu">
<div class="menu_section">
<h3>General</h3>
<ul class="nav side-menu">
<li><a href="/staff"><i class="fa fa-home"></i> Home </a>
</li>
<li><a><i class="fa fa-table"></i> Orders & Transaction <span class="fa fa-chevron-down"></span></a>
<ul class="nav child_menu">
<li><a href="">Data Pemesanan Tiket</a></li>
<li><a href="">Data Tiket dikonfirmasi</a></li>
</ul>
</li>
<li><a><i class="fa fa-edit"></i> Ticket <span class="fa fa-chevron-down"></span></a>
<ul class="nav child_menu">
<li><a href=""> CRUD Tiket</a></li>
</ul>
</li>
<li><a><i class="fa fa-bar-chart-o"></i> Pengunjung <span class="fa fa-chevron-down"></span></a>
<ul class="nav child_menu">
<li><a href="#">Input Data Pengunjung</a></li>
</ul>
</li>
</ul>
</div>
</div>
<!-- /sidebar menu -->
<!-- /menu footer buttons -->
<div class="sidebar-footer hidden-small">
<a data-toggle="tooltip" data-placement="top" title="Settings">
<span class="glyphicon glyphicon-cog" aria-hidden="true"></span>
</a>
<a data-toggle="tooltip" data-placement="top" title="FullScreen">
<span class="glyphicon glyphicon-fullscreen" aria-hidden="true"></span>
</a>
<a data-toggle="tooltip" data-placement="top" title="Lock">
<span class="glyphicon glyphicon-eye-close" aria-hidden="true"></span>
</a>
<a data-toggle="tooltip" data-placement="top" title="Logout" href="#">
<span class="glyphicon glyphicon-off" aria-hidden="true"></span>
</a>
</div>
<!-- /menu footer buttons -->
</div>
</div>
<!-- top navigation -->
<div class="top_nav">
<div class="nav_menu">
<nav>
<div class="nav toggle">
<a id="menu_toggle"><i class="fa fa-bars"></i></a>
</div>
<ul class="nav navbar-nav navbar-right">
<li class="">
<a href="javascript:;" class="user-profile dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
<img src="images/img.jpg" alt="">John Doe
<span class=" fa fa-angle-down"></span>
</a>
<ul class="dropdown-menu dropdown-usermenu pull-right">
<li><a href="javascript:;"> Profile</a></li>
<li>
<a href="javascript:;">
<span class="badge bg-red pull-right">50%</span>
<span>Settings</span>
</a>
</li>
<li><a href="javascript:;">Help</a></li>
<li>
<form action="/logout" method="POST" id="logout-form">
{{ csrf_field() }}
<a href="#" onclick="document.getElementById('logout-form').submit()"><i class="fa fa-sign-out fa-fw"></i>Logout</a>
{{--<a href="login.html"><i class="fa fa-sign-out pull-right"></i> Log Out</a></li>--}}</form>
</li>
</ul>
</li>
</ul>
</nav>
</div>
</div>
<!-- /top navigation -->
<!-- page content -->
<div class="right_col" role="main">
<div class="">
<div class="page-title">
<div class="title_left">
<h3>Tables <small>Some examples to get you started</small></h3>
</div>
<div class="title_right">
<div class="col-md-5 col-sm-5 col-xs-12 form-group pull-right top_search">
<div class="input-group">
<input type="text" class="form-control" placeholder="Search for...">
<span class="input-group-btn">
<button class="btn btn-default" type="button">Go!</button>
</span>
</div>
</div>
</div>
</div>
<div class="clearfix"></div>
<div class="row">
<div class="col-md-12 col-sm-12 col-xs-12">
<div class="x_panel">
<div class="x_title">
<h2>Hover rows <small>Try hovering over the rows</small></h2>
<ul class="nav navbar-right panel_toolbox">
<li><a class="collapse-link"><i class="fa fa-chevron-up"></i></a>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false"><i class="fa fa-wrench"></i></a>
</li>
</ul>
<div class="clearfix"></div>
</div>
<div class="x_content">
<form action="{{route('ticket.update', $tickets->id)}}" method="post" enctype="multipart/form-data">
<input name="_method" type="hidden" value="PATCH">
{{csrf_field()}}
<div class="form-group{{ $errors->has('name') ? ' has-error' : '' }}">
<input type="text" name="name" class="form-control" placeholder="Name" value="{{$tickets->name}}">
{!! $errors->first('name', '<p class="help-block">:message</p>') !!}
</div>
<div class="form-group{{ $errors->has('price') ? ' has-error' : '' }}">
<input type="text" name="price" class="form-control" placeholder="Price" value="{{$tickets->price}}">
{!! $errors->first('price', '<p class="help-block">:message</p>') !!}
</div>
<div class="form-group{{ $errors->has('images') ? ' has-error' : '' }}">
<input type="file" id="inputimages" name="images" class="form-control">
{!! $errors->first('images', '<p class="help-block">:message</p>') !!}
</div>
<div class="form-group">
<input type="submit" class="btn btn-primary" value="Save">
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- /page content -->
<!-- footer content -->
<footer>
<div class="pull-right">
Copyright @ TB Silalahi Center 2017
</div>
<div class="clearfix"></div>
</footer>
<!-- /footer content -->
</div>
</div>
@endsection
\ No newline at end of file
@extends('layouts.master-admin')
@section('content')
<div class="container body">
<div class="main_container">
<div class="col-md-3 left_col">
<div class="left_col scroll-view">
<div class="navbar nav_title" style="border: 0;">
<a href="/staff" class="site_title"><i class="fa fa-paw"></i> <span>TBS Center</span></a>
</div>
<div class="clearfix"></div>
<!-- menu profile quick info -->
<div class="profile clearfix">
<div class="profile_pic">
<img src="images/img.jpg" alt="..." class="img-circle profile_img">
</div>
<div class="profile_info">
<span>Welcome,</span>
<h2>Staff</h2>
</div>
</div>
<!-- /menu profile quick info -->
<br />
<!-- sidebar menu -->
<div id="sidebar-menu" class="main_menu_side hidden-print main_menu">
<div class="menu_section">
<h3>General</h3>
<ul class="nav side-menu">
<li><a href="/staff"><i class="fa fa-home"></i> Home </a>
</li>
<li><a><i class="fa fa-table"></i> Orders & Transaction <span class="fa fa-chevron-down"></span></a>
<ul class="nav child_menu">
<li><a href="">Data Pemesanan Tiket</a></li>
<li><a href="">Data Tiket dikonfirmasi</a></li>
</ul>
</li>
<li><a><i class="fa fa-edit"></i> Ticket <span class="fa fa-chevron-down"></span></a>
<ul class="nav child_menu">
<li><a href=""> CRUD Tiket</a></li>
</ul>
</li>
<li><a><i class="fa fa-bar-chart-o"></i> Pengunjung <span class="fa fa-chevron-down"></span></a>
<ul class="nav child_menu">
<li><a href="#">Input Data Pengunjung</a></li>
</ul>
</li>
</ul>
</div>
</div>
<!-- /sidebar menu -->
<!-- /menu footer buttons -->
<div class="sidebar-footer hidden-small">
<a data-toggle="tooltip" data-placement="top" title="Settings">
<span class="glyphicon glyphicon-cog" aria-hidden="true"></span>
</a>
<a data-toggle="tooltip" data-placement="top" title="FullScreen">
<span class="glyphicon glyphicon-fullscreen" aria-hidden="true"></span>
</a>
<a data-toggle="tooltip" data-placement="top" title="Lock">
<span class="glyphicon glyphicon-eye-close" aria-hidden="true"></span>
</a>
<a data-toggle="tooltip" data-placement="top" title="Logout" href="#">
<span class="glyphicon glyphicon-off" aria-hidden="true"></span>
</a>
</div>
<!-- /menu footer buttons -->
</div>
</div>
<!-- top navigation -->
<div class="top_nav">
<div class="nav_menu">
<nav>
<div class="nav toggle">
<a id="menu_toggle"><i class="fa fa-bars"></i></a>
</div>
<ul class="nav navbar-nav navbar-right">
<li class="">
<a href="javascript:;" class="user-profile dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
<img src="images/img.jpg" alt="">John Doe
<span class=" fa fa-angle-down"></span>
</a>
<ul class="dropdown-menu dropdown-usermenu pull-right">
<li><a href="javascript:;"> Profile</a></li>
<li>
<a href="javascript:;">
<span class="badge bg-red pull-right">50%</span>
<span>Settings</span>
</a>
</li>
<li><a href="javascript:;">Help</a></li>
<li>
<form action="/logout" method="POST" id="logout-form">
{{ csrf_field() }}
<a href="#" onclick="document.getElementById('logout-form').submit()"><i class="fa fa-sign-out fa-fw"></i>Logout</a>
{{--<a href="login.html"><i class="fa fa-sign-out pull-right"></i> Log Out</a></li>--}}</form>
</li>
</ul>
</li>
</ul>
</nav>
</div>
</div>
<!-- /top navigation -->
<!-- page content -->
<div class="right_col" role="main">
<div class="">
<div class="page-title">
<div class="title_left">
<h3>Tables <small>Some examples to get you started</small></h3>
</div>
<div class="title_right">
<div class="col-md-5 col-sm-5 col-xs-12 form-group pull-right top_search">
<div class="input-group">
<input type="text" class="form-control" placeholder="Search for...">
<span class="input-group-btn">
<button class="btn btn-default" type="button">Go!</button>
</span>
</div>
</div>
</div>
</div>
<div class="clearfix"></div>
<div class="row">
<div class="col-md-12 col-sm-12 col-xs-12">
<div class="x_panel">
<div class="x_title">
<h2>Hover rows <small>Try hovering over the rows</small></h2>
<ul class="nav navbar-right panel_toolbox">
<li><a class="collapse-link"><i class="fa fa-chevron-up"></i></a>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false"><i class="fa fa-wrench"></i></a>
</li>
</ul>
<div class="clearfix"></div>
</div>
<div class="x_content">
@if(Session::has('alert-success'))
<div class="alert alert-success">
{{ Session::get('alert-success') }}
</div>
@endif
<a href="{{route('ticket.create')}}" class="btn btn-info pull-right">Add New Menu</a><br><br>
<table class="table table-hover">
<thead>
<tr>
<th>#</th>
<th>Ticket Category</th>
<th>Price</th>
<th>Image</th>
<th>Action</th>
</tr>
</thead>
<tbody>
<?php $no=1; ?>
@foreach($tickets as $ticket)
<tr>
<td>{{$no++}}</td>
<td>{{$ticket->name}}</td>
<td>{{$ticket->price}}</td>
<td><img src="{{ asset('image/'. $ticket->images) }}" style="height: 150px; width: 200px; "> </td>
<td>
<form method="POST" action="{{ route('ticket.destroy', $ticket->id) }}" accept-charset="UTF-8">
<input name="_method" type="hidden" value="Delete">
<input name="_token" type="hidden" value="{{ csrf_token() }}">
<a href="{{route('ticket.edit', $ticket->id)}}" class="btn btn-primary">Edit</a>
<input type="submit" class="btn btn-danger" onclick="return confirm('Continue To Delete?');" value="Delete">
</form>
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- /page content -->
<!-- footer content -->
<footer>
<div class="pull-right">
Copyright @ TB Silalahi Center 2017
</div>
<div class="clearfix"></div>
</footer>
<!-- /footer content -->
</div>
</div>
@endsection
\ No newline at end of file
<?php
Route::get('/', function () {
return view('index');
});
......
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