mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 14:31:26 +00:00
Update compose view
This commit is contained in:
parent
98bf80e811
commit
8f5c0dd4ed
1 changed files with 16 additions and 15 deletions
|
@ -2,16 +2,15 @@
|
|||
|
||||
@section('content')
|
||||
|
||||
{{-- <div class="container mt-5">
|
||||
<div class="compose-container container mt-5 d-none">
|
||||
<div class="row">
|
||||
<div class="col-12 col-md-6 offset-md-3">
|
||||
<p class="lead text-center font-weight-bold">Compose New Post</p>
|
||||
<p class="lead text-center">
|
||||
<a href="javascript:void(0)" class="btn btn-primary font-weight-bold" data-toggle="modal" data-target="#composeModal">New Post</a>
|
||||
<a href="javascript:void(0)" class="btn btn-primary font-weight-bold" data-toggle="modal" data-target="#composeModal">Compose New Post</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div> --}}
|
||||
</div>
|
||||
|
||||
<div class="modal pr-0" tabindex="-1" role="dialog" id="composeModal">
|
||||
<div class="modal-dialog" role="document">
|
||||
|
@ -25,8 +24,10 @@
|
|||
|
||||
@push('scripts')
|
||||
<script type="text/javascript" src="{{ mix('js/compose-classic.js') }}"></script>
|
||||
<script type="text/javascript">App.boot();</script>
|
||||
<script type="text/javascript">
|
||||
App.boot();
|
||||
$('#composeModal').modal('show');
|
||||
$('.compose-container').removeClass('d-none');
|
||||
</script>
|
||||
|
||||
@endpush
|
Loading…
Reference in a new issue