BookStack/resources/views/books/index.blade.php

32 lines
708 B
PHP
Raw Normal View History

2015-07-12 21:01:42 +02:00
@extends('base')
@section('content')
2015-07-15 23:55:49 +02:00
2015-07-12 21:01:42 +02:00
<div class="row">
2015-07-15 23:55:49 +02:00
<div class="col-md-3 page-menu">
<h4>Books</h4>
2015-07-12 21:01:42 +02:00
<a href="/books/create">+ Add new book</a>
</div>
2015-07-15 23:55:49 +02: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-12 21:01:42 +02:00
</div>
2015-07-15 23:55:49 +02:00
</div>
2015-07-12 21:01:42 +02:00
</div>
2015-07-15 23:55:49 +02:00
2015-07-12 21:01:42 +02:00
@stop