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

31 lines
559 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
<div class="row faded-small">
<div class="col-md-6"></div>
<div class="col-md-6 faded">
<div class="action-buttons">
2015-07-12 21:01:42 +02:00
<a href="/books/create">+ Add new book</a>
</div>
</div>
</div>
2015-07-12 21:01:42 +02:00
2015-07-15 23:55:49 +02:00
<div class="page-content">
<h1>Books</h1>
@foreach($books as $book)
<div class="book">
<h3><a href="{{$book->getUrl()}}">{{$book->name}}</a></h3>
<p class="text-muted">{{$book->description}}</p>
2015-07-15 23:55:49 +02:00
</div>
<hr>
@endforeach
</div>
2015-07-12 21:01:42 +02:00
2015-07-15 23:55:49 +02:00
2015-07-12 21:01:42 +02:00
@stop