mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-24 08:44:02 +00:00
38 lines
No EOL
872 B
PHP
38 lines
No EOL
872 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 bg-transparent">
|
|
<div class="card-body p-0">
|
|
<div class="row">
|
|
<div class="col-12">
|
|
@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[data-target="#composeModal"]').on('click', function() {
|
|
$('#composeModal').modal('hide');
|
|
swal('Not Supported', 'You cannot compose a post from the admin dashboard.', 'error');
|
|
return;
|
|
});
|
|
});
|
|
</script>
|
|
@endpush |