-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #22 from idindrakusuma/master
Rangers Dashboard
- Loading branch information
Showing
9 changed files
with
187 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ | |
namespace App\Http\Middleware; | ||
|
||
use Closure; | ||
use Auth; | ||
|
||
class isRangers | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
@extends('layouts.master') | ||
|
||
@section('title','Informasi Kelas Workshop') | ||
|
||
@section('content') | ||
{{-- menampilkan list dari kelas workshop --}} | ||
<div class="col-lg-4 col-md-4 col-sm-6"> | ||
<div class="card"> | ||
<div class="header"> | ||
<h4 class="title">Daftar Kelas Workshop</h4> | ||
</div> | ||
<div class="content"> | ||
<ul class="list-unstyled team-members"> | ||
{{-- list kelas workshop --}} | ||
@foreach ($kelas as $data) | ||
<li> | ||
<div class="row"> | ||
<div class="col-xs-3"> | ||
<div class="avatar"> | ||
<img src="{{ $data->gambar_logo }}" alt="{{ $data->nama_kelas }}" class="img-circle img-no-padding img-responsive"> | ||
</div> | ||
</div> | ||
<div class="col-xs-8"> | ||
{{ $data->nama_kelas }} | ||
<br> | ||
<span class="text-success"> | ||
<small><i class="ti-location-pin"></i> {{ $data->ruang_kelas }} </small> <br> | ||
<small><i class="ti-user"></i> {{ $user->sumKelas($data->id) }} delegates mimilih ini.</small><br> | ||
<small><i class="ti-receipt"></i> Masih tersedia {{ 49-$user->sumKelas($data->id) }} tiket.</small> | ||
</span> | ||
</div> | ||
</div> | ||
</li> | ||
@endforeach | ||
</ul> | ||
</div> | ||
</div> | ||
</div> | ||
@endsection |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
@extends('layouts.master') | ||
|
||
@section('title','Informasi Menu Makan') | ||
|
||
@section('content') | ||
{{-- menampilkan list dari kelas workshop --}} | ||
<div class="col-lg-4 col-md-4 col-sm-6"> | ||
<div class="card"> | ||
<div class="header"> | ||
<h4 class="title">Daftar Menu Makan</h4> | ||
</div> | ||
<div class="content"> | ||
<ul class="list-unstyled team-members"> | ||
{{-- list kelas workshop --}} | ||
@foreach ($makanan as $data) | ||
<li> | ||
<div class="row"> | ||
<div class="col-xs-3"> | ||
<div class=""> | ||
<img src="{{ $data->foto }}" alt="{{ $data->nama }}" class="img-no-padding img-responsive"> | ||
</div> | ||
</div> | ||
<div class="col-xs-8"> | ||
{{ $data->nama }} | ||
<br> | ||
<span class="text-success"> | ||
<small><i class="ti-shopping-cart"></i> Masih tersisa {{ 100-$user->sumKelas($data->id) }} porsi </small> <br> | ||
<small><i class="ti-user"></i> {{ $user->sumKelas($data->id) }} delegates pesan ini</small> | ||
</span> | ||
</div> | ||
</div> | ||
</li> | ||
@endforeach | ||
</ul> | ||
</div> | ||
</div> | ||
</div> | ||
@endsection |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters