pixelfed/resources/views/timeline/local.blade.php

31 lines
813 B
PHP
Raw Permalink Normal View History

@extends('layouts.app')
@section('content')
2020-01-29 07:00:09 +00:00
<noscript>
<div class="container">
<p class="pt-5 text-center lead">Please enable javascript to view this content.</p>
</div>
</noscript>
@if(request()->has('l') && request()->input('l') == 'grid')
<timeline scope="local" layout="grid"></timeline>
@else
2020-05-24 23:03:09 +00:00
<timeline scope="local" layout="feed"></timeline>
@endif
2020-05-24 23:03:09 +00:00
<div class="modal pr-0" tabindex="-1" role="dialog" id="composeModal">
<div class="modal-dialog" role="document">
<div class="modal-content">
<compose-modal></compose-modal>
</div>
</div>
</div>
@endsection
@push('scripts')
2019-02-11 05:49:23 +00:00
<script type="text/javascript" src="{{ mix('js/timeline.js') }}"></script>
2019-03-26 04:22:25 +00:00
<script type="text/javascript" src="{{ mix('js/compose.js') }}"></script>
2020-01-29 07:00:09 +00:00
<script type="text/javascript">window.App.boot()</script>
@endpush