1
0
Fork 0

Update timeline layouts

This commit is contained in:
Daniel Supernault 2019-11-24 16:13:48 -07:00
parent 124fe59cbc
commit 311b963993
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
2 changed files with 29 additions and 2 deletions

View File

@ -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>

View File

@ -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>