2018-05-30 02:31:04 +00:00
|
|
|
@extends('layouts.app')
|
|
|
|
|
|
|
|
@push('scripts')
|
|
|
|
<script type="text/javascript" src="{{mix('js/timeline.js')}}"></script>
|
|
|
|
@endpush
|
|
|
|
|
|
|
|
@section('content')
|
|
|
|
|
2018-06-15 06:36:49 +00:00
|
|
|
<div class="container px-0">
|
|
|
|
<div class="col-md-8 mx-auto pt-4 px-0">
|
2018-05-30 02:31:04 +00:00
|
|
|
@if ($errors->any())
|
|
|
|
<div class="alert alert-danger">
|
|
|
|
<ul>
|
|
|
|
@foreach ($errors->all() as $error)
|
|
|
|
<li>{{ $error }}</li>
|
|
|
|
@endforeach
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
@endif
|
2018-06-02 22:53:35 +00:00
|
|
|
|
|
|
|
@include('timeline.partial.new-form')
|
2018-05-30 02:31:04 +00:00
|
|
|
|
|
|
|
<div class="timeline-feed my-5" data-timeline="public">
|
|
|
|
@foreach($timeline as $item)
|
|
|
|
|
|
|
|
@include('status.template')
|
|
|
|
|
|
|
|
@endforeach
|
|
|
|
</div>
|
2018-06-05 06:29:38 +00:00
|
|
|
|
2018-06-15 06:36:49 +00:00
|
|
|
<div class="page-load-status" style="display: none;">
|
|
|
|
<div class="infinite-scroll-request" style="display: none;">
|
|
|
|
<div class="fixed-top loading-page"></div>
|
2018-06-05 06:29:38 +00:00
|
|
|
</div>
|
2018-06-15 06:36:49 +00:00
|
|
|
<div class="infinite-scroll-last" style="display: none;">
|
2018-06-05 06:29:38 +00:00
|
|
|
<h3>No more content</h3>
|
|
|
|
<p class="text-muted">
|
|
|
|
Maybe you could try
|
|
|
|
<a href="{{route('discover')}}">discovering</a>
|
|
|
|
more people you can follow.
|
|
|
|
</p>
|
|
|
|
</div>
|
2018-06-15 06:36:49 +00:00
|
|
|
<div class="infinite-scroll-error" style="display: none;">
|
2018-06-05 06:29:38 +00:00
|
|
|
<h3>Whoops, an error</h3>
|
|
|
|
<p class="text-muted">
|
|
|
|
Try reloading the page
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2018-05-30 02:31:04 +00:00
|
|
|
<div class="d-flex justify-content-center">
|
|
|
|
{{$timeline->links()}}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
2018-06-01 07:48:32 +00:00
|
|
|
@endsection
|