1
0
Fork 0
forked from mirror/pixelfed
pixelfed/resources/views/status/compose.blade.php

33 lines
844 B
PHP
Raw Normal View History

2019-03-26 19:13:30 +00:00
@extends('layouts.app')
@section('content')
2019-08-30 01:21:41 +00:00
<div class="compose-container container mt-5 d-none">
2019-03-26 19:13:30 +00:00
<div class="row">
<div class="col-12 col-md-6 offset-md-3">
2019-08-30 01:21:41 +00:00
<p class="lead text-center">
<a href="javascript:void(0)" class="btn btn-primary font-weight-bold" data-toggle="modal" data-target="#composeModal">Compose New Post</a>
</p>
2019-03-26 19:13:30 +00:00
</div>
</div>
2019-08-30 01:21:41 +00:00
</div>
2019-08-23 04:33:04 +00:00
<div class="modal pr-0" tabindex="-1" role="dialog" id="composeModal">
2019-08-30 01:21:41 +00:00
<div class="modal-dialog" role="document">
<div class="modal-content">
<compose-classic></compose-classic>
</div>
</div>
2019-03-26 19:13:30 +00:00
</div>
2019-03-27 02:09:54 +00:00
@endsection
@push('scripts')
2019-08-23 04:33:04 +00:00
<script type="text/javascript" src="{{ mix('js/compose-classic.js') }}"></script>
2019-08-30 01:21:41 +00:00
<script type="text/javascript">
App.boot();
$('#composeModal').modal('show');
$('.compose-container').removeClass('d-none');
</script>
2019-03-27 02:09:54 +00:00
@endpush