Commit 56702dcc by Soni Pratama Silalahi

Halaman Admin selesai. tettapi ada kekurangan, blade untuk lihat…

Halaman Admin selesai. tettapi ada kekurangan, blade untuk lihat cabai,kacang,dan kentang masih belum sempurna
parent bb72b79b
......@@ -100,7 +100,7 @@ class AndalimanController extends Controller
public function show($id)
{
$andalimans = andaliman::findOrFail($id);
return view('Admin.andaliman.lihat', compact('andalimans'));
return view('Admin.MonitoringAndaliman.lihat', compact('andalimans'));
}
/**
......@@ -112,7 +112,7 @@ class AndalimanController extends Controller
public function edit($id)
{
$andalimans = andaliman::findOrFail($id);
return view('Admin.andaliman.edit', compact('andalimans'));
return view('Admin.MonitoringAndaliman.edit', compact('andalimans'));
}
......
......@@ -100,7 +100,7 @@ class KacangController extends Controller
public function show($id)
{
$kacangs = kacang::findOrFail($id);
return view('Admin.HalamanMonitoring.lihat', compact('kacangs'));
return view('Admin.MonitoringKacang.lihat', compact('kacangs'));
}
/**
......@@ -112,7 +112,7 @@ class KacangController extends Controller
public function edit($id)
{
$kacangs = kacang::findOrFail($id);
return view('Admin.HalamanMonitoring.edit', compact('kacangs'));
return view('Admin.MonitoringKacang.edit', compact('kacangs'));
}
......@@ -140,7 +140,7 @@ class KacangController extends Controller
$request->file('images')->move("image/",$fileName);
$kacangs->images = $fileName;
$kacangs->save();
return redirect()->route('HalamanMonitoring.index')->with('alert-success', 'Data Berhasil Diubah.');
return redirect()->route('kacang.index')->with('alert-success', 'Data Berhasil Diubah.');
}
/**
......@@ -153,6 +153,6 @@ class KacangController extends Controller
{
$kacangs = kacang::findOrFail($id);
$kacangs->delete();
return redirect()->route('HalamanMonitoring.index')->with('alert-success', 'Data Berhasil Dihapus.');
return redirect()->route('kacang.index')->with('alert-success', 'Data Berhasil Dihapus.');
}
}
<?php
namespace App\Http\Controllers;
use Illuminate\Support\Facades\Input;
use Illuminate\Http\Request;
use App\Http\Requests;
use Illuminate\Http\Request;
use App\tomat;
use App\Http\Requests;
use App\Http\Requests\tomat\StoreRequest;
use App\Http\Requests\tomat\UpdateRequest;
use Illuminate\Support\Facades\Input;
use Image;
class TomatController extends Controller
{
/**
* Display a listing of the resource.
*
* @return IlluminateHttpResponse
*/
public function index()
{
//show data
......@@ -79,7 +76,8 @@ class TomatController extends Controller
*/
public function show($id)
{
//
$tomats = tomat::findOrFail($id);
return view('Admin.HalamanTomat.lihat', compact('tomats'));
}
/**
......@@ -90,9 +88,9 @@ class TomatController extends Controller
*/
public function edit($id)
{
$tomat = tomat::findOrFail($id);
$tomats = tomat::findOrFail($id);
// return to the edit views
return view('Admin.HalamanTomat.edit',compact('tomat'));
return view('Admin.HalamanTomat.edit', compact('tomats'));
}
/**
......
......@@ -8,6 +8,6 @@ class jadwalcontroller extends Controller
{
public function index()
{
return view('HalamanJadwal.jadwal');
return view('Admin.HalamanJadwal.jadwal');
}
}
......@@ -67,7 +67,7 @@ class ubicontroller extends Controller
*/
public function show($id)
{
$ubis = ubi::firstOrFail($id);
$ubis = ubi::findOrFail($id);
return view('Admin.MonitoringUbi.lihat', compact('ubis'));
}
......@@ -117,6 +117,6 @@ class ubicontroller extends Controller
{
$ubis = ubi::findOrFail($id);
$ubis->delete();
return redirect()->route('cabe.index')->with('alert-success', 'Data Berhasil Dihapus.');
return redirect()->route('ubi.index')->with('alert-success', 'Data Berhasil Dihapus.');
}
}
......@@ -338,7 +338,7 @@
<li class="header">MAIN NAVIGATION</li>
<li class="active treeview">
<a href="#">
<i class="fa fa-dashboard"></i> <span>Tanaman</span>
<i class="fa fa-th"></i> <span>Tanaman</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
......@@ -352,13 +352,12 @@
<li><a href="{{URL::to('/jagung')}}"><i class="fa fa-circle-o"></i>Jagung</a></li>
<li><a href="{{URL::to('/kentang')}}"><i class="fa fa-circle-o"></i>Kentang</a></li>
<li><a href="{{URL::to('/kacang')}}"><i class="fa fa-circle-o"></i>Kacang</a></li>
</ul>
</li>
<li><a href="{{URL::to('/pengunjung')}}"><i class="fa fa-user-circle"></i> <span>Pengunjung</span></a></li>
<li><a href="{{URL::to('/pengunjung')}}"><i class="fa fa-book"></i></i> <span>Pengunjung</span></a></li>
<li><a href="documentation/index.html"><i class="fa fa-eye"></i> <span>Monitoring Kebun</span></a></li>
<li><a href="{{URL::to('/jadwal')}}"><i class="fa fa-calendar"></i></i> <span>Jadwal Perawatan</span></a></li>
<li><a href="{{URL::to ('/pemesanan')}}"><i class="fa fa-envelope"></i></i> <span>Pemesanan</span></a></li>
</ul>
</section>
<!-- /.sidebar -->
......
......@@ -215,14 +215,14 @@
<li class="header">MAIN NAVIGATION</li>
<li class="active treeview">
<a href="#">
<i class="fa fa-dashboard"></i> <span>Tanaman</span>
<i class="fa fa-th"></i> <span>Tanaman</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu">
<li><a href="{{URL::to('/HalamanMonitoring')}}"><i class="fa fa-circle-o"></i> Sayur</a></li>
<li><a href="{{URL::to('/cabe')}}"><i class="fa fa-circle-o"></i> Cabai</a></li>
<li><a href="{{URL::to('/HalamanMonitoring')}}"><i class="fa fa-circle-o"></i>Sayur</a></li>
<li><a href="{{URL::to('/cabe')}}"><i class="fa fa-circle-o"></i>Cabai</a></li>
<li><a href="{{URL::to('/ubi')}}"><i class="fa fa-circle-o"></i>Ubi</a></li>
<li><a href="{{URL::to('/tomat')}}"><i class="fa fa-circle-o"></i>Tomat</a></li>
<li><a href="{{URL::to('/andaliman')}}"><i class="fa fa-circle-o"></i>Andaliman</a></li>
......@@ -231,10 +231,10 @@
<li><a href="{{URL::to('/kacang')}}"><i class="fa fa-circle-o"></i>Kacang</a></li>
</ul>
</li>
<li><a href="{{URL::to("/pengunjung")}}"><i class="fa fa-user-circle"></i> <span>Pengunjung</span></a></li>
<li><a href="{{URL::to('/pengunjung')}}"><i class="fa fa-book"></i></i> <span>Pengunjung</span></a></li>
<li><a href="documentation/index.html"><i class="fa fa-eye"></i> <span>Monitoring Kebun</span></a></li>
<li><a href="documentation/index.html"><i class="fa fa-hourglass-end"></i> <span>Penyiraman</span></a></li>
<li><a href="{{URL::to('/jadwal')}}"><i class="fa fa-calendar"></i></i> <span>Jadwal Perawatan</span></a></li>
<li><a href="{{URL::to ('/pemesanan')}}"><i class="fa fa-envelope"></i></i> <span>Pemesanan</span></a></li>
</ul>
</section>
<!-- /.sidebar -->
......@@ -265,16 +265,7 @@
</div>
<!-- Default box -->
<div class="box">
<div class="box-header with-border">
<h3 class="box-title">Title</h3>
<div class="box-tools pull-right">
<button type="button" class="btn btn-box-tool" data-widget="collapse" data-toggle="tooltip" title="Collapse">
<i class="fa fa-minus"></i></button>
<button type="button" class="btn btn-box-tool" data-widget="remove" data-toggle="tooltip" title="Remove">
<i class="fa fa-times"></i></button>
</div>
</div>
<div class="box-body">
<!--data sayur -->
......
......@@ -325,7 +325,7 @@
<li class="header">MAIN NAVIGATION</li>
<li class="active treeview">
<a href="#">
<i class="fa fa-dashboard"></i> <span>Tanaman</span>
<i class="fa fa-th"></i> <span>Tanaman</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
......@@ -341,11 +341,10 @@
<li><a href="{{URL::to('/kacang')}}"><i class="fa fa-circle-o"></i>Kacang</a></li>
</ul>
</li>
<li><a href="{{URL::to("/pengunjung")}}"><i class="fa fa-user-circle"></i> <span>Pengunjung</span></a></li>
<li><a href="{{URL::to('/pengunjung')}}"><i class="fa fa-book"></i></i> <span>Pengunjung</span></a></li>
<li><a href="documentation/index.html"><i class="fa fa-eye"></i> <span>Monitoring Kebun</span></a></li>
<li><a href="documentation/index.html"><i class="fa fa-hourglass-end"></i> <span>Penyiraman</span></a></li>
<li><a href="{{URL::to('/jadwal')}}"><i class="fa fa-calendar"></i></i> <span>Jadwal Perawatan</span></a></li>
<li><a href="{{URL::to ('/pemesanan')}}"><i class="fa fa-envelope"></i></i> <span>Pemesanan</span></a></li>
</ul>
</section>
<!-- /.sidebar -->
......@@ -356,12 +355,12 @@
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Dashboard
<small>Tanaman</small>
Tanaman
<small>Dashboard</small>
</h1>
<ol class="breadcrumb">
<li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
<li class="active">Dashboard</li>
<li><a href="{{URL('/home')}}"><i class="fa fa-dashboard"></i> Home</a></li>
<li class="active"><a href="{{URL::to('/monitoring')}}">Tanaman</a></li>
</ol>
</section>
......
......@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>SWISS | sayur mayur</title>
<title>SWISS | Sayur Mayur</title>
<!-- Tell the browser to be responsive to screen width -->
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<!-- Bootstrap 3.3.6 -->
......@@ -192,7 +192,7 @@
<!-- Sidebar user panel -->
<div class="user-panel">
<div class="pull-left image">
<img src="../../dist/img/user2-160x160.jpg" class="img-circle" alt="User Image">
<img src="dist/img/user2-160x160.jpg" class="img-circle" alt="User Image">
</div>
<div class="pull-left info">
<p> {{auth::user()->username}}</p>
......@@ -215,14 +215,14 @@
<li class="header">MAIN NAVIGATION</li>
<li class="active treeview">
<a href="#">
<i class="fa fa-dashboard"></i> <span>Tanaman</span>
<i class="fa fa-th"></i> <span>Tanaman</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu">
<li class="active"><a href="{{URL::to('/HalamanMonitoring')}}"><i class="fa fa-circle-o"></i> Sayur</a></li>
<li><a href="{{URL::to('/cabe')}}"><i class="fa fa-circle-o"></i> Cabai</a></li>
<li class="active"><a href="{{URL::to('/HalamanMonitoring')}}"><i class="fa fa-circle-o"></i>Sayur</a></li>
<li><a href="{{URL::to('/cabe')}}"><i class="fa fa-circle-o"></i>Cabai</a></li>
<li><a href="{{URL::to('/ubi')}}"><i class="fa fa-circle-o"></i>Ubi</a></li>
<li><a href="{{URL::to('/tomat')}}"><i class="fa fa-circle-o"></i>Tomat</a></li>
<li><a href="{{URL::to('/andaliman')}}"><i class="fa fa-circle-o"></i>Andaliman</a></li>
......@@ -231,10 +231,10 @@
<li><a href="{{URL::to('/kacang')}}"><i class="fa fa-circle-o"></i>Kacang</a></li>
</ul>
</li>
<li><a href="{{URL::to("/pengunjung")}}"><i class="fa fa-user-circle"></i> <span>Pengunjung</span></a></li>
<li><a href="{{URL::to('/pengunjung')}}"><i class="fa fa-book"></i></i> <span>Pengunjung</span></a></li>
<li><a href="documentation/index.html"><i class="fa fa-eye"></i> <span>Monitoring Kebun</span></a></li>
<li><a href="documentation/index.html"><i class="fa fa-hourglass-end"></i> <span>Penyiraman</span></a></li>
<li><a href="{{URL::to('/jadwal')}}"><i class="fa fa-calendar"></i></i> <span>Jadwal Perawatan</span></a></li>
<li><a href="{{URL::to ('/pemesanan')}}"><i class="fa fa-envelope"></i></i> <span>Pemesanan</span></a></li>
</ul>
</section>
<!-- /.sidebar -->
......@@ -250,9 +250,9 @@
Sayur Mayur
</h1>
<ol class="breadcrumb">
<li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
<li><a href="#">Layout</a></li>
<li class="active">sayur mayur</li>
<li><a href="{{URL('/home')}}"><i class="fa fa-dashboard"></i> Home</a></li>
<li><a href="{{URL::to('/monitoring')}}">Tanaman</a></li>
<li class="active"><a href="{{URL::to('/HalamanMonitoring')}}">Sayur Mayur</a></li>
</ol>
</section>
......@@ -265,16 +265,7 @@
</div>
<!-- Default box -->
<div class="box">
<div class="box-header with-border">
<h3 class="box-title">Title</h3>
<div class="box-tools pull-right">
<button type="button" class="btn btn-box-tool" data-widget="collapse" data-toggle="tooltip" title="Collapse">
<i class="fa fa-minus"></i></button>
<button type="button" class="btn btn-box-tool" data-widget="remove" data-toggle="tooltip" title="Remove">
<i class="fa fa-times"></i></button>
</div>
</div>
<div class="box-body">
<!--data sayur -->
......
......@@ -215,14 +215,14 @@
<li class="header">MAIN NAVIGATION</li>
<li class="active treeview">
<a href="#">
<i class="fa fa-dashboard"></i> <span>Tanaman</span>
<i class="fa fa-th"></i> <span>Tanaman</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu">
<li><a href="{{URL::to('/HalamanMonitoring')}}"><i class="fa fa-circle-o"></i> Sayur</a></li>
<li><a href="{{URL::to('/cabe')}}"><i class="fa fa-circle-o"></i> Cabai</a></li>
<li><a href="{{URL::to('/HalamanMonitoring')}}"><i class="fa fa-circle-o"></i>Sayur</a></li>
<li><a href="{{URL::to('/cabe')}}"><i class="fa fa-circle-o"></i>Cabai</a></li>
<li><a href="{{URL::to('/ubi')}}"><i class="fa fa-circle-o"></i>Ubi</a></li>
<li class="active"><a href="{{URL::to('/tomat')}}"><i class="fa fa-circle-o"></i>Tomat</a></li>
<li><a href="{{URL::to('/andaliman')}}"><i class="fa fa-circle-o"></i>Andaliman</a></li>
......@@ -231,10 +231,10 @@
<li><a href="{{URL::to('/kacang')}}"><i class="fa fa-circle-o"></i>Kacang</a></li>
</ul>
</li>
<li><a href="{{URL::to("/pengunjung")}}"><i class="fa fa-user-circle" aria-hidden="true"></i> <span>Pengunjung</span></a></li>
<li><a href="{{URL::to('/pengunjung')}}"><i class="fa fa-book"></i></i> <span>Pengunjung</span></a></li>
<li><a href="documentation/index.html"><i class="fa fa-eye"></i> <span>Monitoring Kebun</span></a></li>
<li><a href="documentation/index.html"><i class="fa fa-hourglass-end"></i> <span>Penyiraman</span></a></li>
<li><a href="{{URL::to('/jadwal')}}"><i class="fa fa-calendar"></i></i> <span>Jadwal Perawatan</span></a></li>
<li><a href="{{URL::to ('/pemesanan')}}"><i class="fa fa-envelope"></i></i> <span>Pemesanan</span></a></li>
</ul>
</section>
<!-- /.sidebar -->
......@@ -250,9 +250,9 @@
Tomat
</h1>
<ol class="breadcrumb">
<li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
<li><a href="#">Layout</a></li>
<li class="active">Tomat</li>
<li><a href="{{URL::to('/home')}}"><i class="fa fa-dashboard"></i> Home</a></li>
<li><a href="{{URL::to('/monitoring')}}">Tanaman</a></li>
<li class="active"><a href="{{URL::to('/tomat')}}">Tomat</a></li>
</ol>
</section>
......@@ -532,8 +532,8 @@
<script src="../../plugins/jQuery/jquery-2.2.3.min.js"></script>
<!-- Bootstrap 3.3.6 -->
<script src="../../bootstrap/js/bootstrap.min.js"></script>
<!-- SlimScroll -->
<script src="../../plugins/slimScroll/jquery.slimscroll.min.js"></script>
<!-- SlimScroll -->
<script src="../../plugins/slimScroll/jquery.slimscroll.min.js"></script>
<!-- FastClick -->
<script src="../../plugins/fastclick/fastclick.js"></script>
<!-- AdminLTE App -->
......
......@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>SWISS | andaliman mayur</title>
<title>SWISS | Andaliman</title>
<!-- Tell the browser to be responsive to screen width -->
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<!-- Bootstrap 3.3.6 -->
......@@ -215,14 +215,14 @@
<li class="header">MAIN NAVIGATION</li>
<li class="active treeview">
<a href="#">
<i class="fa fa-dashboard"></i> <span>Tanaman</span>
<i class="fa fa-th"></i> <span>Tanaman</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu">
<li><a href="{{URL::to('/HalamanMonitoring')}}"><i class="fa fa-circle-o"></i> Sayur</a></li>
<li><a href="{{URL::to('/cabe')}}"><i class="fa fa-circle-o"></i> Cabai</a></li>
<li><a href="{{URL::to('/HalamanMonitoring')}}"><i class="fa fa-circle-o"></i>Sayur</a></li>
<li><a href="{{URL::to('/cabe')}}"><i class="fa fa-circle-o"></i>Cabai</a></li>
<li><a href="{{URL::to('/ubi')}}"><i class="fa fa-circle-o"></i>Ubi</a></li>
<li><a href="{{URL::to('/tomat')}}"><i class="fa fa-circle-o"></i>Tomat</a></li>
<li class="active"><a href="{{URL::to('/andaliman')}}"><i class="fa fa-circle-o"></i>Andaliman</a></li>
......@@ -231,10 +231,10 @@
<li><a href="{{URL::to('/kacang')}}"><i class="fa fa-circle-o"></i>Kacang</a></li>
</ul>
</li>
<li><a href="{{URL::to("/pengunjung")}}"><i class="fa fa-user-circle"></i> <span>Pengunjung</span></a></li>
<li><a href="{{URL::to('/pengunjung')}}"><i class="fa fa-book"></i></i> <span>Pengunjung</span></a></li>
<li><a href="documentation/index.html"><i class="fa fa-eye"></i> <span>Monitoring Kebun</span></a></li>
<li><a href="documentation/index.html"><i class="fa fa-hourglass-end"></i> <span>Penyiraman</span></a></li>
<li><a href="{{URL::to('/jadwal')}}"><i class="fa fa-calendar"></i></i> <span>Jadwal Perawatan</span></a></li>
<li><a href="{{URL::to ('/pemesanan')}}"><i class="fa fa-envelope"></i></i> <span>Pemesanan</span></a></li>
</ul>
</section>
<!-- /.sidebar -->
......@@ -247,12 +247,12 @@
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
andaliman Mayur
Andaliman
</h1>
<ol class="breadcrumb">
<li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
<li><a href="#">Layout</a></li>
<li class="active">andaliman mayur</li>
<li><a href="{{URL::to('/home')}}"><i class="fa fa-dashboard"></i> Home</a></li>
<li><a href="{{URL::to('/monitoring')}}">Tanaman</a></li>
<li class="active"><a href="{{URL::to('/andaliman')}}">Andaliman</a></li>
</ol>
</section>
......@@ -266,14 +266,7 @@
<!-- Default box -->
<div class="box">
<div class="box-header with-border">
<h3 class="box-title">Title</h3>
<div class="box-tools pull-right">
<button type="button" class="btn btn-box-tool" data-widget="collapse" data-toggle="tooltip" title="Collapse">
<i class="fa fa-minus"></i></button>
<button type="button" class="btn btn-box-tool" data-widget="remove" data-toggle="tooltip" title="Remove">
<i class="fa fa-times"></i></button>
</div>
</div>
<div class="box-body">
......
......@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>SWISS | cabe mayur</title>
<title>SWISS | Cabai</title>
<!-- Tell the browser to be responsive to screen width -->
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<!-- Bootstrap 3.3.6 -->
......@@ -210,19 +210,20 @@
</div>
</form>
<!-- /.search form -->
<!-- sidebar menu: : style can be found in sidebar.less -->
<ul class="sidebar-menu">
<li class="header">MAIN NAVIGATION</li>
<li class="active treeview">
<a href="#">
<i class="fa fa-dashboard"></i> <span>Tanaman</span>
<i class="fa fa-th"></i> <span>Tanaman</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu">
<li><a href="{{URL::to('/HalamanMonitoring')}}"><i class="fa fa-circle-o"></i> Sayur</a></li>
<li class="active"><a href="{{URL::to('/cabe')}}"><i class="fa fa-circle-o"></i> Cabai</a></li>
<li><a href="{{URL::to('/HalamanMonitoring')}}"><i class="fa fa-circle-o"></i>Sayur</a></li>
<li class="active"><a href="{{URL::to('/cabe')}}"><i class="fa fa-circle-o"></i>Cabai</a></li>
<li><a href="{{URL::to('/ubi')}}"><i class="fa fa-circle-o"></i>Ubi</a></li>
<li><a href="{{URL::to('/tomat')}}"><i class="fa fa-circle-o"></i>Tomat</a></li>
<li><a href="{{URL::to('/andaliman')}}"><i class="fa fa-circle-o"></i>Andaliman</a></li>
......@@ -231,10 +232,10 @@
<li><a href="{{URL::to('/kacang')}}"><i class="fa fa-circle-o"></i>Kacang</a></li>
</ul>
</li>
<li><a href="{{URL::to("/pengunjung")}}"><i class="fa fa-user-circle"></i> <span>Pengunjung</span></a></li>
<li><a href="{{URL::to('/pengunjung')}}"><i class="fa fa-book"></i></i> <span>Pengunjung</span></a></li>
<li><a href="documentation/index.html"><i class="fa fa-eye"></i> <span>Monitoring Kebun</span></a></li>
<li><a href="documentation/index.html"><i class="fa fa-hourglass-end"></i> <span>Penyiraman</span></a></li>
<li><a href="{{URL::to('/jadwal')}}"><i class="fa fa-calendar"></i></i> <span>Jadwal Perawatan</span></a></li>
<li><a href="{{URL::to ('/pemesanan')}}"><i class="fa fa-envelope"></i></i> <span>Pemesanan</span></a></li>
</ul>
</section>
<!-- /.sidebar -->
......@@ -248,12 +249,12 @@
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
cabe Mayur
Cabai
</h1>
<ol class="breadcrumb">
<li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
<li><a href="#">Layout</a></li>
<li class="active">cabe mayur</li>
<li><a href="{{URL('/home')}}"><i class="fa fa-dashboard"></i> Home</a></li>
<li><a href="{{URL::to('/monitoring')}}">Tanaman</a></li>
<li class="active"><a href="{{URL::to('/cabe')}}">Cabai</a></li>
</ol>
</section>
......@@ -266,16 +267,7 @@
</div>
<!-- Default box -->
<div class="box">
<div class="box-header with-border">
<h3 class="box-title">Title</h3>
<div class="box-tools pull-right">
<button type="button" class="btn btn-box-tool" data-widget="collapse" data-toggle="tooltip" title="Collapse">
<i class="fa fa-minus"></i></button>
<button type="button" class="btn btn-box-tool" data-widget="remove" data-toggle="tooltip" title="Remove">
<i class="fa fa-times"></i></button>
</div>
</div>
<div class="box-body">
<!--data cabe -->
......
......@@ -215,14 +215,14 @@
<li class="header">MAIN NAVIGATION</li>
<li class="active treeview">
<a href="#">
<i class="fa fa-dashboard"></i> <span>Tanaman</span>
<i class="fa fa-th"></i> <span>Tanaman</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu">
<li><a href="{{URL::to('/HalamanMonitoring')}}"><i class="fa fa-circle-o"></i> Sayur</a></li>
<li><a href="{{URL::to('/cabe')}}"><i class="fa fa-circle-o"></i> Cabai</a></li>
<li><a href="{{URL::to('/HalamanMonitoring')}}"><i class="fa fa-circle-o"></i>Sayur</a></li>
<li><a href="{{URL::to('/cabe')}}"><i class="fa fa-circle-o"></i>Cabai</a></li>
<li><a href="{{URL::to('/ubi')}}"><i class="fa fa-circle-o"></i>Ubi</a></li>
<li><a href="{{URL::to('/tomat')}}"><i class="fa fa-circle-o"></i>Tomat</a></li>
<li><a href="{{URL::to('/andaliman')}}"><i class="fa fa-circle-o"></i>Andaliman</a></li>
......@@ -231,10 +231,10 @@
<li class="active"><a href="{{URL::to('/kacang')}}"><i class="fa fa-circle-o"></i>Kacang</a></li>
</ul>
</li>
<li><a href="{{URL::to("/pengunjung")}}"><i class="fa fa-user-circle"></i> <span>Pengunjung</span></a></li>
<li><a href="{{URL::to('/pengunjung')}}"><i class="fa fa-book"></i></i> <span>Pengunjung</span></a></li>
<li><a href="documentation/index.html"><i class="fa fa-eye"></i> <span>Monitoring Kebun</span></a></li>
<li><a href="documentation/index.html"><i class="fa fa-hourglass-end"></i> <span>Penyiraman</span></a></li>
<li><a href="{{URL::to('/jadwal')}}"><i class="fa fa-calendar"></i></i> <span>Jadwal Perawatan</span></a></li>
<li><a href="{{URL::to ('/pemesanan')}}"><i class="fa fa-envelope"></i></i> <span>Pemesanan</span></a></li>
</ul>
</section>
<!-- /.sidebar -->
......@@ -246,12 +246,12 @@
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
kacang Mayur
Kacang
</h1>
<ol class="breadcrumb">
<li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
<li><a href="#">Layout</a></li>
<li class="active">kacang mayur</li>
<li><a href="{{URL::to('/home')}}"><i class="fa fa-dashboard"></i> Home</a></li>
<li><a href="{{URL::to('/monitoring')}}">Tanaman</a></li>
<li class="active"><a href="{{URL::to('/kacang')}}">Kacang</a></li>
</ol>
</section>
......
@extends('layouts.layout')
@section('content')
<!--data kacang -->
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="panel panel-default">
<div class="panel-body">
<form action="{{route('kacang.show', $kacangs->id)}}" method="post">
<input name="_method" type="hidden" value="PATCH">
{{csrf_field()}}
<div class="form-group{{ $errors->has('foto') ? ' has-error' : '' }}">
<label class="col-sm-2 control-label">Foto</label>
<label class="control-label"> : <td><img src="<?php echo asset("image/$kacangs->foto")?>" style="max-height:40px; max-width: 40px; margin-top:10px;" /> </img> </td></label>
{!! $errors->first('foto', '<p class="help-block">:message</p>') !!}
</div>
<div class="form-group{{ $errors->has('nama') ? ' has-error' : '' }}">
<label class="col-sm-2 control-label">Nama</label>
<label class="control-label"> : <?php echo $kacangs->nama;?></label>
{!! $errors->first('nama', '<p class="help-block">:message</p>') !!}
</div>
<div class="form-group{{ $errors->has('family') ? ' has-error' : '' }}">
<label class="col-sm-2 control-label">Family</label>
<label class="control-label"> : <?php echo $kacangs->family;?></label>
{!! $errors->first('family', '<p class="help-block">:message</p>') !!}
</div>
<div class="form-group{{ $errors->has('tanggal_tanam') ? ' has-error' : '' }}">
<label class="col-sm-2 control-label">Tanggal Tanam</label>
<label class="control-label"> : <?php echo $kacangs->tanggal_tanam;?></label>
{!! $errors->first('tanggal_tanam', '<p class="help-block">:message</p>') !!}
</div>
<div class="form-group{{ $errors->has('usia') ? ' has-error' : '' }}">
<label class="col-sm-2 control-label">Usia Tanaman</label>
<label class="control-label"> : <?php echo $kacangs->usia;?></label>
{!! $errors->first('usia', '<p class="help-block">:message</p>') !!}
</div>
<div class="form-group{{ $errors->has('hama') ? ' has-error' : '' }}">
<label class="col-sm-2 control-label">Hama</label>
<label class="control-label"> : <?php echo $kacangs->hama;?></label>
{!! $errors->first('hama', '<p class="help-block">:message</p>') !!}
</div>
<div class="form-group{{ $errors->has('syarat_tumbuh') ? ' has-error' : '' }}">
<label class="col-sm-2 control-label">Syarat Tumbuh</label>
<label class="control-label"> : <?php echo $kacangs->syarat_tumbuh;?></label>
{!! $errors->first('syarat_tumbuh', '<p class="help-block">:message</p>') !!}
</div>
<div class="form-group{{ $errors->has('pemeliharaan') ? ' has-error' : '' }}">
<label class="col-sm-2 control-label">Pemeliharaan</label>
<label class="control-label"> : <?php echo $kacangs->pemeliharaan;?></label>
{!! $errors->first('pemeliharaan', '<p class="help-block">:message</p>') !!}
</div>
<div class="form-group">
</div>
</form>
</div>
</div>
</div>
</div>
</div>
<!--end data kacang -->
@endsection
\ No newline at end of file
......@@ -215,14 +215,14 @@
<li class="header">MAIN NAVIGATION</li>
<li class="active treeview">
<a href="#">
<i class="fa fa-dashboard"></i> <span>Tanaman</span>
<i class="fa fa-th"></i> <span>Tanaman</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu">
<li><a href="{{URL::to('/HalamanMonitoring')}}"><i class="fa fa-circle-o"></i> Sayur</a></li>
<li><a href="{{URL::to('/cabe')}}"><i class="fa fa-circle-o"></i> Cabai</a></li>
<li><a href="{{URL::to('/HalamanMonitoring')}}"><i class="fa fa-circle-o"></i>Sayur</a></li>
<li><a href="{{URL::to('/cabe')}}"><i class="fa fa-circle-o"></i>Cabai</a></li>
<li><a href="{{URL::to('/ubi')}}"><i class="fa fa-circle-o"></i>Ubi</a></li>
<li><a href="{{URL::to('/tomat')}}"><i class="fa fa-circle-o"></i>Tomat</a></li>
<li><a href="{{URL::to('/andaliman')}}"><i class="fa fa-circle-o"></i>Andaliman</a></li>
......@@ -231,10 +231,10 @@
<li><a href="{{URL::to('/kacang')}}"><i class="fa fa-circle-o"></i>Kacang</a></li>
</ul>
</li>
<li><a href="{{URL::to("/pengunjung")}}"><i class="fa fa-user-circle"></i> <span>Pengunjung</span></a></li>
<li><a href="{{URL::to('/pengunjung')}}"><i class="fa fa-book"></i></i> <span>Pengunjung</span></a></li>
<li><a href="documentation/index.html"><i class="fa fa-eye"></i> <span>Monitoring Kebun</span></a></li>
<li><a href="documentation/index.html"><i class="fa fa-hourglass-end"></i> <span>Penyiraman</span></a></li>
<li><a href="{{URL::to('/jadwal')}}"><i class="fa fa-calendar"></i></i> <span>Jadwal Perawatan</span></a></li>
<li><a href="{{URL::to ('/pemesanan')}}"><i class="fa fa-envelope"></i></i> <span>Pemesanan</span></a></li>
</ul>
</section>
<!-- /.sidebar -->
......@@ -247,12 +247,12 @@
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
kentang Mayur
Kentang
</h1>
<ol class="breadcrumb">
<li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
<li><a href="#">Layout</a></li>
<li class="active">kentang mayur</li>
<li><a href="{{URL::to('/home')}}"><i class="fa fa-dashboard"></i> Home</a></li>
<li><a href="{{URL::to('/monitoring')}}">Tanaman</a></li>
<li class="active"><a href="{{URL::to('/kentang')}}">Kentang</a></li>
</ol>
</section>
......
......@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>SWISS | ubi mayur</title>
<title>SWISS | Ubi</title>
<!-- Tell the browser to be responsive to screen width -->
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<!-- Bootstrap 3.3.6 -->
......@@ -34,7 +34,7 @@
<!-- Logo -->
<a href="{{URL::to('/home')}}" class="logo">
<!-- mini logo for sidebar mini 50x50 pixels -->
<span class="logo-mini"><b>ubi</b></span>
<span class="logo-mini"><b>SWISS</b></span>
<!-- logo for regular state and mobile devices -->
<span class="logo-lg"><b>SWISS</b></span>
</a>
......@@ -215,15 +215,15 @@
<li class="header">MAIN NAVIGATION</li>
<li class="active treeview">
<a href="#">
<i class="fa fa-dashboard"></i> <span>Tanaman</span>
<i class="fa fa-th"></i> <span>Tanaman</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu">
<li><a href="{{URL::to('/HalamanMonitoring')}}"><i class="fa fa-circle-o"></i> Sayur</a></li>
<li><a href="{{URL::to('/cabe')}}"><i class="fa fa-circle-o"></i> Cabai</a></li>
<li class="active"><a href="{{URL::to('/ubi')}}"><i class="fa fa-circle-o"></i>Ubi</a></li>
<li><a href="{{URL::to('/HalamanMonitoring')}}"><i class="fa fa-circle-o"></i>Sayur</a></li>
<li><a href="{{URL::to('/cabe')}}"><i class="fa fa-circle-o"></i>Cabai</a></li>
<li class ="active"><a href="{{URL::to('/ubi')}}"><i class="fa fa-circle-o"></i>Ubi</a></li>
<li><a href="{{URL::to('/tomat')}}"><i class="fa fa-circle-o"></i>Tomat</a></li>
<li><a href="{{URL::to('/andaliman')}}"><i class="fa fa-circle-o"></i>Andaliman</a></li>
<li><a href="{{URL::to('/jagung')}}"><i class="fa fa-circle-o"></i>Jagung</a></li>
......@@ -231,10 +231,10 @@
<li><a href="{{URL::to('/kacang')}}"><i class="fa fa-circle-o"></i>Kacang</a></li>
</ul>
</li>
<li><a href="{{URL::to("/pengunjung")}}"><i class="fa fa-user-circle"></i> <span>Pengunjung</span></a></li>
<li><a href="{{URL::to('/pengunjung')}}"><i class="fa fa-book"></i></i> <span>Pengunjung</span></a></li>
<li><a href="documentation/index.html"><i class="fa fa-eye"></i> <span>Monitoring Kebun</span></a></li>
<li><a href="documentation/index.html"><i class="fa fa-hourglass-end"></i> <span>Penyiraman</span></a></li>
<li><a href="{{URL::to('/jadwal')}}"><i class="fa fa-calendar"></i></i> <span>Jadwal Perawatan</span></a></li>
<li><a href="{{URL::to ('/pemesanan')}}"><i class="fa fa-envelope"></i></i> <span>Pemesanan</span></a></li>
</ul>
</section>
<!-- /.sidebar -->
......@@ -246,12 +246,12 @@
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
ubi Mayur
Ubi
</h1>
<ol class="breadcrumb">
<li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
<li><a href="#">Layout</a></li>
<li class="active">ubi mayur</li>
<li><a href="{{URL::to('/home')}}"><i class="fa fa-dashboard"></i> Home</a></li>
<li><a href="{{URL::to('/monitoring')}}">Tanaman</a></li>
<li class="active"><a href="{{URL::to('/ubi')}}">Ubi</a></li>
</ol>
</section>
......@@ -265,7 +265,7 @@
<!-- Default box -->
<div class="box">
<div class="box-header with-border">
<h3 class="box-title">Title</h3>
<div class="box-tools pull-right">
<button type="button" class="btn btn-box-tool" data-widget="collapse" data-toggle="tooltip" title="Collapse">
......
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