Commit bb72b79b by Soni Pratama Silalahi

update menu sidebar

parent c78d335a
......@@ -44,7 +44,7 @@
<header class="main-header">
<!-- Logo -->
<a href="index2.html" class="logo">
<a href="{{URL::to('/home')}}" class="logo">
<!-- mini logo for sidebar mini 50x50 pixels -->
<span class="logo-mini"><b>A</b>LT</span>
<!-- logo for regular state and mobile devices -->
......@@ -338,17 +338,24 @@
<li class="header">MAIN NAVIGATION</li>
<li class="active treeview">
<a href="#">
<i class="fa fa-dashboard"></i> <span>User</span>
<i class="fa fa-dashboard"></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="index.html"><i class="fa fa-circle-o"></i>Soni Silalahi</a></li>
<li><a href="index2.html"><i class="fa fa-circle-o"></i> Pancajuntak Siman</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>
<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="documentation/index.html"><i class="fa fa-user-circle"></i> <span>Tanaman</span></a></li>
<li><a href="{{URL::to('/pengunjung')}}"><i class="fa fa-user-circle"></i> <span>Pengunjung</span></a></li>
<li><a href="documentation/index.html"><i class="fa fa-eye"></i> <span>Monitoring Kebun</span></a></li>
......
......@@ -438,46 +438,40 @@
<input name="_method" type="hidden" value="PATCH">
{{csrf_field()}}
<div class="form-group{{ $errors->has('foto') ? ' has-error' : '' }}">
<img src="http://placehold.it/100x100" id="showimages" style="max-width:200px;max-height:200px;float:left;"/>
<input type="file" id="inputimages" name="foto">
{!! $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 Tanaman</label>
<input type="text" name="nama" class="form-control" placeholder="Nama" value="{{$sayurs->nama}}">
{!! $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>
<input type="text" name="family" class="form-control" placeholder="Family" value="{{$sayurs->family}}">
{!! $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>
<input type="text" name="tanggal_tanam" class="form-control" placeholder="Tanggal Tanam" value="{{$sayurs->tanggal_tanam}}">
{!! $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</label>
<input type="text" name="usia" class="form-control" placeholder="Usia" value="{{$sayurs->usia}}">
{!! $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>
<input type="text" name="hama" class="form-control" placeholder="Hama" value="{{$sayurs->hama}}">
{!! $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>
<input type="text" name="syarat_tumbuh" class="form-control" placeholder="Syarat Tumbuh" value="{{$sayurs->syarat_tumbuh}}">
{!! $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>
<input type="text" name="pemeliharaan" class="form-control" placeholder="Pemeliharaan" value="{{$sayurs->pemeliharaan}}">
{!! $errors->first('pemeliharaan', '<p class="help-block">:message</p>') !!}
</div>
<div class="form-group{{ $errors->has('Harga') ? ' has-error' : '' }}">
<label class="col-sm-2 control-label">harga</label>
<input type="text" name="Harga" class="form-control" placeholder="Harga" value="{{$sayurs->Harga}}">
{!! $errors->first('Harga', '<p class="help-block">:message</p>') !!}
</div>
<div class="form-group">
<input type="submit" class="btn btn-primary" value="Simpan">
......
......@@ -44,11 +44,11 @@
<header class="main-header">
<!-- Logo -->
<a href="index2.html" class="logo">
<a href="{{URL::to('/home')}}" class="logo">
<!-- mini logo for sidebar mini 50x50 pixels -->
<span class="logo-mini"><b>A</b>LT</span>
<!-- logo for regular state and mobile devices -->
<span class="logo-lg"><b>MONITORING</b></span>
<span class="logo-lg"><b>SWISS</b></span></a>
</a>
<!-- Header Navbar: style can be found in header.less -->
<nav class="navbar navbar-static-top">
......@@ -325,17 +325,23 @@
<li class="header">MAIN NAVIGATION</li>
<li class="active treeview">
<a href="#">
<i class="fa fa-dashboard"></i> <span>User</span>
<i class="fa fa-dashboard"></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="index.html"><i class="fa fa-circle-o"></i>Soni Silalahi</a></li>
<li><a href="index2.html"><i class="fa fa-circle-o"></i> Panca Simanjuntak</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>
<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="documentation/index.html"><i class="fa fa-user-circle"></i> <span>Tanaman</span></a></li>
<li><a href="{{URL::to("/pengunjung")}}"><i class="fa fa-user-circle"></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>
......@@ -483,7 +489,7 @@
<div class="icon">
<i class="ion ion-pie-graph"></i>
</div>
<a href="{{URL::to('/kentang')}}" class="small-box-footer">More info <i class="fa fa-arrow-circle-right"></i></a>
<a href="{{URL::to('/kacang')}}" class="small-box-footer">More info <i class="fa fa-arrow-circle-right"></i></a>
</div>
</div>
<!-- ./col -->
......@@ -507,44 +513,44 @@
immediately after the control sidebar -->
<!-- ./wrapper -->
<!-- ./wrapper -->
<!-- jQuery 2.2.3 -->
<script src="plugins/jQuery/jquery-2.2.3.min.js"></script>
<!-- jQuery UI 1.11.4 -->
<script src="https://code.jquery.com/ui/1.11.4/jquery-ui.min.js"></script>
<!-- Resolve conflict in jQuery UI tooltip with Bootstrap tooltip -->
<script>
<!-- jQuery 2.2.3 -->
<script src="plugins/jQuery/jquery-2.2.3.min.js"></script>
<!-- jQuery UI 1.11.4 -->
<script src="https://code.jquery.com/ui/1.11.4/jquery-ui.min.js"></script>
<!-- Resolve conflict in jQuery UI tooltip with Bootstrap tooltip -->
<script>
$.widget.bridge('uibutton', $.ui.button);
</script>
<!-- Bootstrap 3.3.6 -->
<script src="bootstrap/js/bootstrap.min.js"></script>
<!-- Morris.js charts -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/raphael/2.1.0/raphael-min.js"></script>
<script src="plugins/morris/morris.min.js"></script>
<!-- Sparkline -->
<script src="plugins/sparkline/jquery.sparkline.min.js"></script>
<!-- jvectormap -->
<script src="plugins/jvectormap/jquery-jvectormap-1.2.2.min.js"></script>
<script src="plugins/jvectormap/jquery-jvectormap-world-mill-en.js"></script>
<!-- jQuery Knob Chart -->
<script src="plugins/knob/jquery.knob.js"></script>
<!-- daterangepicker -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.11.2/moment.min.js"></script>
<script src="plugins/daterangepicker/daterangepicker.js"></script>
<!-- datepicker -->
<script src="plugins/datepicker/bootstrap-datepicker.js"></script>
<!-- Bootstrap WYSIHTML5 -->
<script src="plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.min.js"></script>
<!-- Slimscroll -->
<script src="plugins/slimScroll/jquery.slimscroll.min.js"></script>
<!-- FastClick -->
<script src="plugins/fastclick/fastclick.js"></script>
<!-- AdminLTE App -->
<script src="dist/js/app.min.js"></script>
<!-- AdminLTE dashboard demo (This is only for demo purposes) -->
<script src="dist/js/pages/dashboard.js"></script>
<!-- AdminLTE for demo purposes -->
<script src="dist/js/demo.js"></script>
</script>
<!-- Bootstrap 3.3.6 -->
<script src="bootstrap/js/bootstrap.min.js"></script>
<!-- Morris.js charts -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/raphael/2.1.0/raphael-min.js"></script>
<script src="plugins/morris/morris.min.js"></script>
<!-- Sparkline -->
<script src="plugins/sparkline/jquery.sparkline.min.js"></script>
<!-- jvectormap -->
<script src="plugins/jvectormap/jquery-jvectormap-1.2.2.min.js"></script>
<script src="plugins/jvectormap/jquery-jvectormap-world-mill-en.js"></script>
<!-- jQuery Knob Chart -->
<script src="plugins/knob/jquery.knob.js"></script>
<!-- daterangepicker -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.11.2/moment.min.js"></script>
<script src="plugins/daterangepicker/daterangepicker.js"></script>
<!-- datepicker -->
<script src="plugins/datepicker/bootstrap-datepicker.js"></script>
<!-- Bootstrap WYSIHTML5 -->
<script src="plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.min.js"></script>
<!-- Slimscroll -->
<script src="plugins/slimScroll/jquery.slimscroll.min.js"></script>
<!-- FastClick -->
<script src="plugins/fastclick/fastclick.js"></script>
<!-- AdminLTE App -->
<script src="dist/js/app.min.js"></script>
<!-- AdminLTE dashboard demo (This is only for demo purposes) -->
<script src="dist/js/pages/dashboard.js"></script>
<!-- AdminLTE for demo purposes -->
<script src="dist/js/demo.js"></script>
</body>
</html>
......@@ -438,7 +438,8 @@
<input name="_method" type="hidden" value="PATCH">
{{csrf_field()}}
<div class="form-group{{ $errors->has('foto') ? ' has-error' : '' }}">
<input type="text" name="foto" class="form-control" placeholder="Upload Foto" value="{{$ubis->foto}}">
<img src="http://placehold.it/100x100" id="showimages" style="max-width:200px;max-height:200px;float:left;"/>
<input type="file" id="inputimages" name="foto">
{!! $errors->first('foto', '<p class="help-block">:message</p>') !!}
</div>
<div class="form-group{{ $errors->has('nama') ? ' has-error' : '' }}">
......
......@@ -399,7 +399,7 @@
<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 class="active">Ubi</li>
</ol>
</section>
......@@ -437,8 +437,8 @@
{{csrf_field()}}
<div class="form-group{{ $errors->has('foto') ? ' has-error' : '' }}">
<label class="col-sm-2 control-label">Foto</label>
<label class="control-label"> <img src="<?php echo asset("image/$ubis->foto") ?>" style="max-height:40px; max-width:40px; margin-top:10px; "> </img> </label>
{!! $errors->first('family', '<p class="help-block">:message</p>') !!}
<label class="control-label"> : <td><img src="<?php echo asset("image/$ubis->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>
......
......@@ -389,7 +389,7 @@
<div class="card">
<div class="content table-responsive table-full-width">
<ul>
Selamat Datang di MEdan,Terimakasih telah berkunjung
Selamat Datang di Aplikasi SWISS,Terimakasih telah berkunjung
</ul>
</div>
</div>
......
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