BookStack/resources/views/home.blade.php

32 lines
1.0 KiB
PHP
Raw Normal View History

2015-08-12 13:48:26 -04:00
@extends('base')
@section('content')
2015-08-13 02:44:10 -04:00
2015-08-30 12:53:30 -04:00
<div class="container">
<div class="row">
<div class="col-md-7">
<h2>Books</h2>
2015-08-31 12:59:45 -04:00
@if(count($books) > 0)
@foreach($books as $book)
<div class="book">
<h3><a href="{{$book->getUrl()}}">{{$book->name}}</a></h3>
<p class="text-muted">{{$book->description}}</p>
</div>
<hr>
@endforeach
@else
<p class="text-muted">No books have been created.</p>
<a href="/books/create" class="text-pos"><i class="zmdi zmdi-edit"></i>Create one now</a>
@endif
</div>
2015-08-30 12:53:30 -04:00
<div class="col-md-4 col-md-offset-1">
<div class="margin-top large">&nbsp;</div>
<h3>Recent Activity</h3>
@include('partials/activity-list', ['activity' => $activity])
</div>
</div>
</div>
2015-08-13 02:44:10 -04:00
2015-08-30 12:53:30 -04:00
2015-08-12 13:48:26 -04:00
@stop