pixelfed/resources/views/admin/partial/template.blade.php
2019-07-21 22:11:33 -06:00

37 lines
No EOL
855 B
PHP

@extends('layouts.app')
@section('content')
@include('admin.partial.topnav')
<div class="container">
<div class="col-12 mt-4">
<div class="card shadow-none border">
<div class="card-body p-0">
<div class="row">
@include('admin.partial.sidebar')
<div class="col-12 col-md-9 p-4">
@if (session('status'))
<div class="alert alert-success">
{{ session('status')}}
</div>
@endif
@yield('section')
</div>
</div>
</div>
</div>
</div>
</div>
@endsection
@push('scripts')
<script type="text/javascript">
$(document).ready(function() {
$('a#composeModal').on('click', function() {
swal('Not Supported', 'You cannot compose a post from the admin dashboard.', 'error');
});
});
</script>
@endpush