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

31 lines
604 B
PHP
Raw Normal View History

2015-07-13 03:01:42 +08:00
@extends('base')
@section('content')
2015-07-16 05:55:49 +08:00
<div class="row faded-small">
<div class="col-md-6"></div>
<div class="col-md-6 faded">
<div class="action-buttons">
<a href="/books/create" class="text-pos"><i class="zmdi zmdi-plus"></i>Add new book</a>
2015-07-13 03:01:42 +08:00
</div>
</div>
</div>
2015-07-13 03:01:42 +08:00
2015-07-16 05:55:49 +08: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-16 05:55:49 +08:00
</div>
<hr>
@endforeach
</div>
2015-07-13 03:01:42 +08:00
2015-07-16 05:55:49 +08:00
2015-07-13 03:01:42 +08:00
@stop