mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-01-31 15:24:59 +08:00
commit
21a8df78ee
Binary file not shown.
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 3.9 KiB |
|
@ -280,7 +280,7 @@ $btt-size: 40px;
|
|||
margin-bottom: 32px;
|
||||
height: 330px;
|
||||
overflow: hidden;
|
||||
border: 1px solid #9e9e9e;
|
||||
border: 1px solid #ccc;
|
||||
h4 {
|
||||
font-size: 1.2em;
|
||||
text-align: center;
|
||||
|
@ -301,4 +301,10 @@ $btt-size: 40px;
|
|||
img {
|
||||
border-radius: 3px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.cover {
|
||||
height: 192px;
|
||||
width: 120px;
|
||||
border-radius: 3px;
|
||||
}
|
|
@ -21,7 +21,7 @@
|
|||
'currentImage' => @isset($model) ? $model->getBookCover(80) : baseUrl('/default.png') ,
|
||||
'currentId' => @isset($model) ? $model->image : 0,
|
||||
'name' => 'image',
|
||||
'imageClass' => 'avatar cover'
|
||||
'imageClass' => 'cover'
|
||||
])
|
||||
</div>
|
||||
<div class="form-group">
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<div class="col-xs-12 col-sm-6 col-md-4 col-lg-3" data-entity-type="book" data-entity-id="{{$book->id}}">
|
||||
<div class="col-xs-6 col-sm-4 col-md-4 col-lg-3" data-entity-type="book" data-entity-id="{{$book->id}}">
|
||||
<div class="gallery-item">
|
||||
<h4>
|
||||
<a class="text-book entity-list-item-link" href="{{$book->getUrl()}}"><i class="zmdi zmdi-book"></i><span class="entity-list-item-name">{{$book->name}}</span>
|
||||
|
|
|
@ -24,12 +24,14 @@
|
|||
<h1>{{ trans('entities.books') }}</h1>
|
||||
@if(count($books) > 0)
|
||||
@if($books_display=='grid')
|
||||
<div class="row">
|
||||
@foreach($books as $book)
|
||||
@include('books/grid-item', ['book' => $book])
|
||||
@endforeach
|
||||
<div class="col-xs-12">
|
||||
{!! $books->render() !!}
|
||||
</div>
|
||||
</div>
|
||||
@else
|
||||
@foreach($books as $book)
|
||||
@include('books/list-item', ['book' => $book])
|
||||
|
|
Loading…
Reference in New Issue
Block a user