mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-02-28 06:35:25 +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;
|
margin-bottom: 32px;
|
||||||
height: 330px;
|
height: 330px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
border: 1px solid #9e9e9e;
|
border: 1px solid #ccc;
|
||||||
h4 {
|
h4 {
|
||||||
font-size: 1.2em;
|
font-size: 1.2em;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
@ -302,3 +302,9 @@ $btt-size: 40px;
|
|||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.cover {
|
||||||
|
height: 192px;
|
||||||
|
width: 120px;
|
||||||
|
border-radius: 3px;
|
||||||
|
}
|
@ -21,7 +21,7 @@
|
|||||||
'currentImage' => @isset($model) ? $model->getBookCover(80) : baseUrl('/default.png') ,
|
'currentImage' => @isset($model) ? $model->getBookCover(80) : baseUrl('/default.png') ,
|
||||||
'currentId' => @isset($model) ? $model->image : 0,
|
'currentId' => @isset($model) ? $model->image : 0,
|
||||||
'name' => 'image',
|
'name' => 'image',
|
||||||
'imageClass' => 'avatar cover'
|
'imageClass' => 'cover'
|
||||||
])
|
])
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<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">
|
<div class="gallery-item">
|
||||||
<h4>
|
<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>
|
<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>
|
<h1>{{ trans('entities.books') }}</h1>
|
||||||
@if(count($books) > 0)
|
@if(count($books) > 0)
|
||||||
@if($books_display=='grid')
|
@if($books_display=='grid')
|
||||||
|
<div class="row">
|
||||||
@foreach($books as $book)
|
@foreach($books as $book)
|
||||||
@include('books/grid-item', ['book' => $book])
|
@include('books/grid-item', ['book' => $book])
|
||||||
@endforeach
|
@endforeach
|
||||||
<div class="col-xs-12">
|
<div class="col-xs-12">
|
||||||
{!! $books->render() !!}
|
{!! $books->render() !!}
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
@else
|
@else
|
||||||
@foreach($books as $book)
|
@foreach($books as $book)
|
||||||
@include('books/list-item', ['book' => $book])
|
@include('books/list-item', ['book' => $book])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user