mirror of https://github.com/pixelfed/pixelfed.git
Update timeline layouts
This commit is contained in:
parent
124fe59cbc
commit
311b963993
|
@ -2,10 +2,24 @@
|
|||
|
||||
@section('content')
|
||||
|
||||
<timeline scope="home"></timeline>
|
||||
<timeline scope="home" layout="feed"></timeline>
|
||||
|
||||
@endsection
|
||||
|
||||
|
||||
@if($layout == 'grid')
|
||||
@push('styles')
|
||||
<style type="text/css">
|
||||
body {
|
||||
background: #fff !important;
|
||||
}
|
||||
.navbar.border-bottom {
|
||||
border-bottom: none !important;
|
||||
}
|
||||
</style>
|
||||
@endpush
|
||||
@endif
|
||||
|
||||
@push('scripts')
|
||||
<script type="text/javascript" src="{{ mix('js/timeline.js') }}"></script>
|
||||
<script type="text/javascript" src="{{ mix('js/compose.js') }}"></script>
|
||||
|
|
|
@ -2,10 +2,23 @@
|
|||
|
||||
@section('content')
|
||||
|
||||
<timeline scope="local"></timeline>
|
||||
<timeline scope="local" layout="feed"></timeline>
|
||||
|
||||
@endsection
|
||||
|
||||
@if($layout == 'grid')
|
||||
@push('styles')
|
||||
<style type="text/css">
|
||||
body {
|
||||
background: #fff !important;
|
||||
}
|
||||
.navbar.border-bottom {
|
||||
border-bottom: none !important;
|
||||
}
|
||||
</style>
|
||||
@endpush
|
||||
@endif
|
||||
|
||||
@push('scripts')
|
||||
<script type="text/javascript" src="{{ mix('js/timeline.js') }}"></script>
|
||||
<script type="text/javascript" src="{{ mix('js/compose.js') }}"></script>
|
||||
|
|
Loading…
Reference in New Issue