1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-23 16:24:29 +00:00
pixelfed/resources/views/admin/partial/template-full.blade.php

38 lines
855 B
PHP
Raw Normal View History

2019-01-31 20:11:58 +00:00
@extends('layouts.app')
@section('content')
@include('admin.partial.topnav')
<div class="container">
<div class="col-12 mt-5">
<div class="card">
<div class="card-body p-0">
<div class="row">
<div class="col-12 px-5 py-4">
@if (session('status'))
<div class="alert alert-success">
{{ session('status')}}
</div>
@endif
@yield('section')
</div>
</div>
</div>
</div>
</div>
</div>
2019-03-26 04:22:25 +00:00
@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