Commit 5ae1f0b2 by rizky

Percobaan ke 11

parent 2462cde1
...@@ -35,14 +35,14 @@ ...@@ -35,14 +35,14 @@
<div class="separator"> <div class="separator">
<p class="change_link">Already a member ? <p class="change_link">Already a member ?
<a href="/login" class="to_register"> Log in </a> <a href="{{url('/login')}}" class="to_register"> Log in </a>
</p> </p>
<div class="clearfix"></div> <div class="clearfix"></div>
<br /> <br />
<div> <div>
<a href="/"><h1><i class="fa fa-paw"></i> TB Silalahi Center</h1></a> <a href="{{url('/')}}"><h1><i class="fa fa-paw"></i> TB Silalahi Center</h1></a>
<p>©2017 All Rights Reserved. Privacy and Terms</p> <p>©2017 All Rights Reserved. Privacy and Terms</p>
</div> </div>
</div> </div>
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<div class=""> <div class="">
<div class="page-title"> <div class="page-title">
<div class="title_left"> <div class="title_left">
<h4> <a href="/staff" class="fa fa-home"> Home</a> </h4> <h4> <a href="{{url('/staff')}}" class="fa fa-home"> Home</a> </h4>
</div> </div>
</div> </div>
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<div class=""> <div class="">
<div class="page-title"> <div class="page-title">
<div class="title_left"> <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> </div>
<div class="clearfix"></div> <div class="clearfix"></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 @@ ...@@ -6,7 +6,7 @@
<div class=""> <div class="">
<div class="page-title"> <div class="page-title">
<div class="title_left"> <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>
</div> </div>
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<div class=""> <div class="">
<div class="page-title"> <div class="page-title">
<div class="title_left"> <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>
</div> </div>
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<div class=""> <div class="">
<div class="page-title"> <div class="page-title">
<div class="title_left"> <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>
</div> </div>
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<div class=""> <div class="">
<div class="page-title"> <div class="page-title">
<div class="title_left"> <div class="title_left">
<h4> <a href="/customer" class="fa fa-home"> Home</a> / <a href="/ticket"> Order 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> </div>
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<div class=""> <div class="">
<div class="page-title"> <div class="page-title">
<div class="title_left"> <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>
</div> </div>
......
...@@ -51,10 +51,10 @@ ...@@ -51,10 +51,10 @@
<ul class="nav navbar-nav navbar-right"> <ul class="nav navbar-nav navbar-right">
<li> <li>
<a class="page-scroll" href="/login">Login</a> <a class="page-scroll" href="{{ url('/login') }}">Login</a>
</li> </li>
<li> <li>
<a class="page-scroll" href="/register">Register</a> <a class="page-scroll" href="{{url('/register')}}">Register</a>
</li> </li>
</ul> </ul>
</div> </div>
...@@ -340,7 +340,7 @@ ...@@ -340,7 +340,7 @@
</div> </div>
<div class="col-lg-3 text-center"> <div class="col-lg-3 text-center">
<i class="fa fa-envelope-o fa-3x sr-contact"></i> <i class="fa fa-envelope-o fa-3x sr-contact"></i>
<p><a href="/feedback">museumtbsc@gmail.com</a></p> <p><a href="{{url('/feedback'}}">museumtbsc@gmail.com</a></p>
</div> </div>
<div class="col-lg-3 text-center"> <div class="col-lg-3 text-center">
<i class="fa fa-map-marker fa-3x sr-contact"></i> <i class="fa fa-map-marker fa-3x sr-contact"></i>
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
<div class="col-md-3 left_col"> <div class="col-md-3 left_col">
<div class="left_col scroll-view"> <div class="left_col scroll-view">
<div class="navbar nav_title" style="border: 0;"> <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>
<div class="clearfix"></div> <div class="clearfix"></div>
...@@ -61,21 +61,21 @@ ...@@ -61,21 +61,21 @@
<div class="menu_section"> <div class="menu_section">
<h3>General</h3> <h3>General</h3>
<ul class="nav side-menu"> <ul class="nav side-menu">
<li><a href="/customer"><i class="fa fa-home"></i> Home </a> <li><a href="{{url('/customer')}}"><i class="fa fa-home"></i> Home </a>
</li> </li>
<li><a><i class="fa fa-table"></i> Order Tiket <span class="fa fa-chevron-down"></span></a> <li><a><i class="fa fa-table"></i> Order Tiket <span class="fa fa-chevron-down"></span></a>
<ul class="nav child_menu"> <ul class="nav child_menu">
<li><a href="/ticket">Pesan Tiket</a></li> <li><a href="{{url('/ticket')}}">Pesan Tiket</a></li>
<li><a href="/data_order">Data Pemesanan</a></li> <li><a href="{{url('/data_order')}}">Data Pemesanan</a></li>
<li><a href="/data_konfirmasi">Data Pemesanan Dikonfirmasi</a></li> <li><a href="{{url('/data_konfirmasi')}}">Data Pemesanan Dikonfirmasi</a></li>
</ul> </ul>
</li> </li>
<li><a><i class="fa fa-comments-o"></i> Feedback <span class="fa fa-chevron-down"></span></a> <li><a><i class="fa fa-comments-o"></i> Feedback <span class="fa fa-chevron-down"></span></a>
<ul class="nav child_menu"> <ul class="nav child_menu">
<li><a href="/feedback"> Give Feedback</a></li> <li><a href="{{url('/feedback')}}"> Give Feedback</a></li>
</ul> </ul>
</li> </li>
...@@ -122,7 +122,7 @@ ...@@ -122,7 +122,7 @@
<a href="#" class="fa fa-lock"> Change Password</a> <a href="#" class="fa fa-lock"> Change Password</a>
</li> </li>
<li> <li>
<form action="/logout" method="POST" id="logout-form"> <form action="{{url('/logout')}}" method="POST" id="logout-form">
{{ csrf_field() }} {{ csrf_field() }}
<a href="#" onclick="document.getElementById('logout-form').submit()"><i class="fa fa-sign-out fa-fw"></i>Logout</a> <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> {{--<a href="login.html"><i class="fa fa-sign-out pull-right"></i> Log Out</a></li>--}}</form>
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
<div class="col-md-3 left_col"> <div class="col-md-3 left_col">
<div class="left_col scroll-view"> <div class="left_col scroll-view">
<div class="navbar nav_title" style="border: 0;"> <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>
<div class="clearfix"></div> <div class="clearfix"></div>
...@@ -61,19 +61,19 @@ ...@@ -61,19 +61,19 @@
<div class="menu_section"> <div class="menu_section">
<h3>General</h3> <h3>General</h3>
<ul class="nav side-menu"> <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>
<li><a><i class="fa fa-table"></i> Laporan <span class="fa fa-chevron-down"></span></a> <li><a><i class="fa fa-table"></i> Laporan <span class="fa fa-chevron-down"></span></a>
<ul class="nav child_menu"> <ul class="nav child_menu">
<li><a href="/penjualan">Data Penjualan Tiket</a></li> <li><a href="{{url('/penjualan')}}">Data Penjualan Tiket</a></li>
<li><a href="/viewpengunjung">Daftar Pengunjung</a></li> <li><a href="{{url('/viewpengunjung')}}">Daftar Pengunjung</a></li>
</ul> </ul>
</li> </li>
<li><a><i class="fa fa-edit"></i> Feedback <span class="fa fa-chevron-down"></span></a> <li><a><i class="fa fa-edit"></i> Feedback <span class="fa fa-chevron-down"></span></a>
<ul class="nav child_menu"> <ul class="nav child_menu">
<li><a href="/viewfeedback">Daftar Feedback</a></li> <li><a href="{{url('/viewfeedback')}}">Daftar Feedback</a></li>
</ul> </ul>
</li> </li>
...@@ -118,7 +118,7 @@ ...@@ -118,7 +118,7 @@
<ul class="dropdown-menu dropdown-usermenu pull-right"> <ul class="dropdown-menu dropdown-usermenu pull-right">
<li><a href="#" class="fa fa-lock"> Change Password</a></li> <li><a href="#" class="fa fa-lock"> Change Password</a></li>
<li> <li>
<form action="/logout" method="POST" id="logout-form"> <form action="{{url('/logout')}}" method="POST" id="logout-form">
{{ csrf_field() }} {{ csrf_field() }}
<a href="#" onclick="document.getElementById('logout-form').submit()"><i class="fa fa-sign-out fa-fw"></i>Logout</a> <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> {{--<a href="login.html"><i class="fa fa-sign-out pull-right"></i> Log Out</a></li>--}}</form>
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
<div class="col-md-3 left_col"> <div class="col-md-3 left_col">
<div class="left_col scroll-view"> <div class="left_col scroll-view">
<div class="navbar nav_title" style="border: 0;"> <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>
<div class="clearfix"></div> <div class="clearfix"></div>
...@@ -61,25 +61,25 @@ ...@@ -61,25 +61,25 @@
<div class="menu_section"> <div class="menu_section">
<h3>General</h3> <h3>General</h3>
<ul class="nav side-menu"> <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>
<li><a><i class="fa fa-table"></i> Orders & Transaction <span class="fa fa-chevron-down"></span></a> <li><a><i class="fa fa-table"></i> Orders & Transaction <span class="fa fa-chevron-down"></span></a>
<ul class="nav child_menu"> <ul class="nav child_menu">
<li><a href="/pemesanan">Data Pemesanan Tiket</a></li> <li><a href="{{url('/pemesanan')}}">Data Pemesanan Tiket</a></li>
<li><a href="/data_transaksi">Data Tiket dikonfirmasi</a></li> <li><a href="{{url('/data_transaksi')}}">Data Tiket dikonfirmasi</a></li>
</ul> </ul>
</li> </li>
<li><a><i class="fa fa-bar-chart-o"></i> Pengunjung <span class="fa fa-chevron-down"></span></a> <li><a><i class="fa fa-bar-chart-o"></i> Pengunjung <span class="fa fa-chevron-down"></span></a>
<ul class="nav child_menu"> <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> </ul>
</li> </li>
<li><a><i class="fa fa-user"></i> Member <span class="fa fa-chevron-down"></span></a> <li><a><i class="fa fa-user"></i> Member <span class="fa fa-chevron-down"></span></a>
<ul class="nav child_menu"> <ul class="nav child_menu">
<li><a href="/member">View Member</a></li> <li><a href="{{url('/member')}}">View Member</a></li>
</ul> </ul>
</li> </li>
</ul> </ul>
...@@ -123,7 +123,7 @@ ...@@ -123,7 +123,7 @@
<ul class="dropdown-menu dropdown-usermenu pull-right"> <ul class="dropdown-menu dropdown-usermenu pull-right">
<li><a href="" class="fa fa-lock"> Change Password</a></li> <li><a href="" class="fa fa-lock"> Change Password</a></li>
<li> <li>
<form action="/logout" method="POST" id="logout-form"> <form action="{{url('/logout')}}" method="POST" id="logout-form">
{{ csrf_field() }} {{ csrf_field() }}
<a href="#" onclick="document.getElementById('logout-form').submit()"><i class="fa fa-sign-out fa-fw"></i>Logout</a> <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> {{--<a href="login.html"><i class="fa fa-sign-out pull-right"></i> Log Out</a></li>--}}</form>
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<div class=""> <div class="">
<div class="page-title"> <div class="page-title">
<div class="title_left"> <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>
</div> </div>
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<div class=""> <div class="">
<div class="page-title"> <div class="page-title">
<div class="title_left"> <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>
</div> </div>
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<!-- page content --> <!-- page content -->
<div class="right_col" role="main"> <div class="right_col" role="main">
<div class=""> <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="row top_tiles">
<div class="animated flipInY col-lg-3 col-md-3 col-sm-6 col-xs-12"> <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 @@ ...@@ -7,7 +7,7 @@
<div class=""> <div class="">
<div class="page-title"> <div class="page-title">
<div class="title_left"> <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>
</div> </div>
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<div class=""> <div class="">
<div class="page-title"> <div class="page-title">
<div class="title_left"> <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>
</div> </div>
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<div class=""> <div class="">
<div class="page-title"> <div class="page-title">
<div class="title_left"> <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>
</div> </div>
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<div class=""> <div class="">
<div class="page-title"> <div class="page-title">
<div class="title_left"> <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>
</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 @@ ...@@ -6,7 +6,7 @@
<div class=""> <div class="">
<div class="page-title"> <div class="page-title">
<div class="title_left"> <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>
</div> </div>
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<div class=""> <div class="">
<div class="page-title"> <div class="page-title">
<div class="title_left"> <div class="title_left">
<h4> <a href="/staff" class="fa fa-home"> Home</a> </h4> <h4> <a href="{{url('/staff')}}" class="fa fa-home"> Home</a> </h4>
</div> </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>
{{--<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
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