2015-07-13 03:01:42 +08:00
|
|
|
@extends('base')
|
|
|
|
|
|
|
|
@section('content')
|
|
|
|
|
2015-07-16 05:55:49 +08:00
|
|
|
|
2015-07-13 03:01:42 +08:00
|
|
|
<div class="row">
|
2015-07-16 05:55:49 +08:00
|
|
|
|
|
|
|
<div class="col-md-3 page-menu">
|
|
|
|
<h4>Books</h4>
|
2015-07-13 03:01:42 +08:00
|
|
|
<a href="/books/create">+ Add new book</a>
|
|
|
|
</div>
|
|
|
|
|
2015-07-16 05:55:49 +08:00
|
|
|
<div class="col-md-9">
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
@foreach($books as $book)
|
|
|
|
<div class="col-md-6">
|
|
|
|
<div class="book page-style">
|
|
|
|
<h3><a href="{{$book->getUrl()}}">{{$book->name}}</a></h3>
|
|
|
|
<p class="text-muted">{{$book->description}}</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@endforeach
|
2015-07-13 03:01:42 +08:00
|
|
|
</div>
|
2015-07-16 05:55:49 +08:00
|
|
|
|
|
|
|
</div>
|
2015-07-13 03:01:42 +08:00
|
|
|
</div>
|
|
|
|
|
|
|
|
|
2015-07-16 05:55:49 +08:00
|
|
|
|
|
|
|
|
2015-07-13 03:01:42 +08:00
|
|
|
@stop
|