Skip to content

Instantly share code, notes, and snippets.

@wichaksono
Created March 15, 2018 00:57
Show Gist options
  • Save wichaksono/78a883b644d1f2b25eae3aacb3262c82 to your computer and use it in GitHub Desktop.
Save wichaksono/78a883b644d1f2b25eae3aacb3262c82 to your computer and use it in GitHub Desktop.
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="panel panel-default">
<div class="panel-heading">Dashboard</div>
<div class="panel-body">
<div class="alert alert-success">
<p>
Selamat Datang di halaman Admin ONPHPID Tutorial
</p>
</div>
<div class="row">
<div class="col-md-12">
<div class="table-responsive">
<table class="table table-hover tabel-bordered">
<thead>
<tr>
<th width="5">No</th>
<th>Member Name</th>
<th>Email</th>
</tr>
</thead>
<tbody>
@foreach ($users as $i => $user)
<tr>
<td>{{ $i+1 }}</td>
<td>{{ $user->name }}</td>
<td>{{ $user->email }}</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
@endsection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment