Update (admin): Add delete post forever

This commit is contained in:
2023-08-02 00:21:00 +08:00
parent 7c1f02012c
commit 7eafdbd8b3
5 changed files with 26 additions and 1 deletions

View File

@@ -3,6 +3,7 @@
<div class="text-muted">
<p class="fw-bold mb-0">Change Log 2/8/2023 12.03am</p>
<ul>
<li>(Feature) Add Delete Forever button</li>
<li>(Feature) Add Index to Search Engines button</li>
<li>(Feature) Auto set author on new post</li>
<li>(Feature) Only publish status must fill in all post fields, others status can save with minimum title and

View File

@@ -80,6 +80,8 @@ class="img-fluid rounded-2" alt=""></td>
class="btn">Index to Search Engines</a>
<a href="{{ route('posts.manage.edit', ['post_id' => $post->id]) }}"
class="btn">Edit</a>
<a href="{{ route('posts.manage.delete', ['post_id' => $post->id]) }}"
class="btn">Delete Forever</a>
</div>
</td>

View File

@@ -21,7 +21,7 @@
<div class="page" id="app">
<div class="sticky-top">
@include('admin.partials.flash_messages')
@include('layouts.admin.header')
@@ -30,6 +30,11 @@
</div>
<div class="page-wrapper">
<div class="container-xl">
@include('admin.partials.flash_messages')
</div>
@yield('content')
@include('layouts.admin.footer')