(add order table mockup)

This commit is contained in:
Adam Wathan
2017-08-15 15:34:48 -04:00
parent 9923d23bc3
commit 05bde91aa4
4 changed files with 53 additions and 1 deletions

View File

@@ -21,7 +21,7 @@
</div>
<div class="bg-soft p-xs-y-5">
<div class="container m-xs-b-4">
<div>
<div class="m-xs-b-6">
<h2 class="m-xs-b-2 text-lg">Overview</h2>
<div class="card">
<div class="card-section border-b">
@@ -56,6 +56,35 @@
</div>
</div>
</div>
<div>
<h2 class="m-xs-b-2 text-lg">Recent Orders</h2>
<div class="card">
<div class="card-section">
<table class="table">
<thead>
<tr>
<th class="text-left">Email</th>
<th class="text-left">Tickets</th>
<th class="text-left">Amount</th>
<th class="text-left">Card</th>
<th class="text-left">Purchased</th>
</tr>
</thead>
<tbody>
@foreach(range(1, 10) as $i)
<tr>
<td>{{ collect(['john', 'jane', 'dave', 'donna'])->random() }}@example.com</td>
<td>{{ rand(1, 4) }}</td>
<td>${{ number_format(rand(5000, 15000) / 100, 2) }}</td>
<td><span class="text-dark-soft">****</span> 4242</td>
<td class="text-dark-soft">July 18, 2017 @ 12:37pm</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
@endsection