Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
Smart Watering System Information
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PA2-1617-32TK07
Smart Watering System Information
Commits
da6f7fb4
Commit
da6f7fb4
authored
May 23, 2017
by
PANGERAN\pangeran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
udah banyak perubahan di costumer
parent
c78d335a
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
61 additions
and
179 deletions
+61
-179
halamanusercontroller.php
app/Http/Controllers/halamanusercontroller.php
+1
-1
homeController.php
app/Http/Controllers/homeController.php
+4
-1
sayurcontroller.php
app/Http/Controllers/sayurcontroller.php
+25
-1
monitoringsayur.blade.php
...iews/Costumer/HalamanMonitoring/monitoringsayur.blade.php
+7
-160
daftartanaman.blade.php
resources/views/Costumer/HalamanUser/daftartanaman.blade.php
+14
-14
index.blade.php
resources/views/Costumer/HalamanUser/index.blade.php
+0
-0
index.blade.php
resources/views/PetugasKebun/HalamanUser/index.blade.php
+1
-1
layout.blade.php
resources/views/layouts/layout.blade.php
+0
-0
web.php
routes/web.php
+9
-1
No files found.
app/Http/Controllers/halamanusercontroller.php
View file @
da6f7fb4
...
...
@@ -8,7 +8,7 @@ class halamanusercontroller extends Controller
{
public
function
index
()
{
return
view
(
'
HalamanUser.index
'
);
return
view
(
'
Costumer.HalamanUser.daftartanaman
'
);
}
}
app/Http/Controllers/homeController.php
View file @
da6f7fb4
...
...
@@ -30,7 +30,10 @@ class HomeController extends Controller
return
view
(
'Admin.HalamanAdmin.index'
);
}
else
if
(
Auth
::
user
()
->
jabatan
==
'Petugas'
){
return
view
(
'HalamanPetugas.HalamanAdmin.index'
);
return
view
(
'PetugasKebun.HalamanUser.index'
);
}
else
if
(
Auth
::
user
()
->
jabatan
==
'Customer'
){
return
view
(
'Costumer.HalamanUser.index'
);
}
else
return
view
(
'Costumer.HalamanUser.index'
);
...
...
app/Http/Controllers/sayurcontroller.php
View file @
da6f7fb4
...
...
@@ -4,6 +4,10 @@ namespace App\Http\Controllers;
use
Illuminate\Http\Request
;
use
App\sayur
;
use
App\cabe
;
use
App\ubi
;
use
App\tomat
;
use
App\andaliman
;
use
Illuminate\Support\Facades\Input
;
use
App\Http\Requests
;
use
App\Http\Requests\sayur\StoreRequest
;
...
...
@@ -18,11 +22,31 @@ class sayurcontroller extends Controller
return
view
(
'Admin.HalamanMonitoring.monitoringsayur'
,
compact
(
'sayurs'
));
}
public
function
cost
ume
r
()
public
function
cost
sayu
r
()
{
$sayurs
=
sayur
::
all
();
return
view
(
'Costumer.HalamanMonitoring.monitoringsayur'
,
compact
(
'sayurs'
));
}
public
function
costcabe
()
{
$cabes
=
cabe
::
all
();
return
view
(
'Costumer.MonitoringCabe.monitoringcabe'
,
compact
(
'cabes'
));
}
public
function
costubi
()
{
$ubis
=
ubi
::
all
();
return
view
(
'Costumer.MonitoringUbi.monitoringubi'
,
compact
(
'ubis'
));
}
public
function
costtomat
()
{
$tomats
=
tomat
::
all
();
return
view
(
'Costumer.HalamanTomat.index'
,
compact
(
'tomats'
));
}
public
function
costandaliman
()
{
$andalimans
=
andaliman
::
all
();
return
view
(
'Costumer.MonitoringAndaliman.index'
,
compact
(
'andalimans'
));
}
/**
...
...
resources/views/Costumer/HalamanMonitoring/monitoringsayur.blade.php
View file @
da6f7fb4
This diff is collapsed.
Click to expand it.
resources/views/Costumer/HalamanUser/daftartanaman.blade.php
View file @
da6f7fb4
...
...
@@ -325,20 +325,20 @@
<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>
Menu
</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
class=
"active"
><a
href=
"index.html"
><i
class=
"fa fa-circle-o"
></i>
Daftar Tananam
</a></li>
<li><a
href=
"index2.html"
><i
class=
"fa fa-circle-o"
></i>
Pemesanan
</a></li>
<li><a
href=
"index2.html"
><i
class=
"fa fa-circle-o"
></i>
History
</a></li>
<li><a
href=
"index2.html"
><i
class=
"fa fa-circle-o"
></i>
Request
</a></li>
<li><a
href=
"index2.html"
><i
class=
"fa fa-circle-o"
></i>
FeedBack
</a></li>
<li><a
href=
"index2.html"
><i
class=
"fa fa-circle-o"
></i>
Profil
</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=
"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>
</ul>
</section>
...
...
@@ -390,7 +390,7 @@
<div
class=
"icon"
>
<i
class=
"ion ion-bag"
></i>
</div>
<a
href=
"{{URL::to('/cabe')}}"
class=
"small-box-footer"
>
More info
<i
class=
"fa fa-arrow-circle-right"
></i></a>
<a
href=
"{{URL::to('/c
ostc
abe')}}"
class=
"small-box-footer"
>
More info
<i
class=
"fa fa-arrow-circle-right"
></i></a>
</div>
</div>
...
...
@@ -405,7 +405,7 @@
<div
class=
"icon"
>
<i
class=
"ion ion-bag"
></i>
</div>
<a
href=
"{{URL::to('/ubi ')}}"
class=
"small-box-footer"
>
More info
<i
class=
"fa fa-arrow-circle-right"
></i></a>
<a
href=
"{{URL::to('/
cost
ubi ')}}"
class=
"small-box-footer"
>
More info
<i
class=
"fa fa-arrow-circle-right"
></i></a>
</div>
</div>
...
...
@@ -420,7 +420,7 @@
<div
class=
"icon"
>
<i
class=
"ion ion-bag"
></i>
</div>
<a
href=
"{{URL::to('/tomat')}}"
class=
"small-box-footer"
>
More info
<i
class=
"fa fa-arrow-circle-right"
></i></a>
<a
href=
"{{URL::to('/
cost
tomat')}}"
class=
"small-box-footer"
>
More info
<i
class=
"fa fa-arrow-circle-right"
></i></a>
</div>
</div>
...
...
@@ -437,7 +437,7 @@
<div
class=
"icon"
>
<i
class=
"ion ion-bag"
></i>
</div>
<a
href=
"{{URL::to('/andaliman')}}"
class=
"small-box-footer"
>
More info
<i
class=
"fa fa-arrow-circle-right"
></i></a>
<a
href=
"{{URL::to('/
cost
andaliman')}}"
class=
"small-box-footer"
>
More info
<i
class=
"fa fa-arrow-circle-right"
></i></a>
</div>
</div>
<!--kolom -->
...
...
@@ -453,7 +453,7 @@
<div
class=
"icon"
>
<i
class=
"ion ion-stats-bars"
></i>
</div>
<a
href=
"{{URL::to('/jagung')}}"
class=
"small-box-footer"
>
More info
<i
class=
"fa fa-arrow-circle-right"
></i></a>
<a
href=
"{{URL::to('/
cost
jagung')}}"
class=
"small-box-footer"
>
More info
<i
class=
"fa fa-arrow-circle-right"
></i></a>
</div>
</div>
<!-- ./col -->
...
...
@@ -468,7 +468,7 @@
<div
class=
"icon"
>
<i
class=
"ion ion-person-add"
></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('/
cost
kentang')}}"
class=
"small-box-footer"
>
More info
<i
class=
"fa fa-arrow-circle-right"
></i></a>
</div>
</div>
<!-- ./col -->
...
...
@@ -483,7 +483,7 @@
<div
class=
"icon"
>
<i
class=
"ion ion-pie-graph"
></i>
</div>
<a
href=
"{{URL::to('/
kent
ang')}}"
class=
"small-box-footer"
>
More info
<i
class=
"fa fa-arrow-circle-right"
></i></a>
<a
href=
"{{URL::to('/
costkac
ang')}}"
class=
"small-box-footer"
>
More info
<i
class=
"fa fa-arrow-circle-right"
></i></a>
</div>
</div>
<!-- ./col -->
...
...
resources/views/Costumer/HalamanUser/index.blade.php
View file @
da6f7fb4
This diff is collapsed.
Click to expand it.
resources/views/PetugasKebun/HalamanUser/index.blade.php
View file @
da6f7fb4
...
...
@@ -389,7 +389,7 @@
<div
class=
"card"
>
<div
class=
"content table-responsive table-full-width"
>
<ul>
Selamat Datang di Aplikasi SWISS,Terimakasih telah berkunjung
Selamat Datang di Aplikasi SWISS
Petugas
,Terimakasih telah berkunjung
</ul>
</div>
</div>
...
...
resources/views/layouts/layout.blade.php
View file @
da6f7fb4
This diff is collapsed.
Click to expand it.
routes/web.php
View file @
da6f7fb4
...
...
@@ -22,13 +22,21 @@ Route::get('/user','halamanusercontroller@index');
Route
::
get
(
'/monitoring'
,
'halamanmonitoringcontroller@index'
);
Route
::
get
(
'/monitor'
,
'monitoringcontroller@index'
);
Route
::
get
(
'/siram'
,
'siramcontroller@index'
);
Route
::
get
(
'/daftanaman'
,
'halamanusercontroller@index'
);
Route
::
group
([
'middleware'
=>
[
'web'
]],
function
()
{
Route
::
resource
(
'HalamanMonitoring'
,
'sayurcontroller'
);
});
Route
::
group
([
'middleware'
=>
[
'web'
]],
function
()
{
Route
::
resource
(
'costsayur'
,
'sayurcontroller@costumer'
);
Route
::
resource
(
'costsayur'
,
'sayurcontroller@costsayur'
);
Route
::
resource
(
'costcabe'
,
'sayurcontroller@costcabe'
);
Route
::
resource
(
'costubi'
,
'sayurcontroller@costubi'
);
Route
::
resource
(
'costtomat'
,
'sayurcontroller@costtomat'
);
Route
::
resource
(
'costandaliman'
,
'sayurcontroller@costandaliman'
);
Route
::
resource
(
'costjagung'
,
'sayurcontroller@costjagung'
);
Route
::
resource
(
'costkentang'
,
'sayurcontroller@costkentang'
);
Route
::
resource
(
'costkacang'
,
'sayurcontroller@costkacang'
);
});
Route
::
group
([
'middleware'
=>
[
'web'
]],
function
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment