Add HTML for modal in public timeline view

This commit is contained in:
Stasiek Michalski 2018-06-01 10:59:12 +02:00 committed by GitHub
parent 5ac4d6f423
commit 33fa5029ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,6 +17,16 @@
</ul> </ul>
</div> </div>
@endif @endif
<div id="modal-text" class="d-none">
<div class="d-flex justify-content-between align-items-center">
<h4>Timeline</h4>
<button type="button" class="btn btn-link text-dark" data-toggle="modal" data-target="#modal-post">
<span class="icon-plus"></span>
</button>
</div>
</div>
<div tabindex="-1" role="dialog" id="modal-post" aria-hidden="true">
<div role="document" id="modal-dialog">
<div class="card"> <div class="card">
<div class="card-header font-weight-bold">New Post</div> <div class="card-header font-weight-bold">New Post</div>
<div class="card-body" id="statusForm"> <div class="card-body" id="statusForm">
@ -34,6 +44,8 @@
</form> </form>
</div> </div>
</div> </div>
</div>
</div>
<div class="timeline-feed my-5" data-timeline="public"> <div class="timeline-feed my-5" data-timeline="public">
@foreach($timeline as $item) @foreach($timeline as $item)