Update timeline layouts

pull/1830/head
Daniel Supernault 5 years ago
parent 124fe59cbc
commit 311b963993
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

@ -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…
Cancel
Save