Update (admin): Improve admin post ux

This commit is contained in:
2023-08-02 00:36:42 +08:00
parent 3bf6c0475e
commit ab9222aaca
27 changed files with 102 additions and 83 deletions

View File

@@ -1,33 +1,33 @@
@if ($message = Session::get('success'))
<div class="alert alert-success alert-block my-3">
<h4 class="alert-title">Success!</h4>
<div class="text-muted">{{ $message }}</div>
</div>
<div class="alert alert-success alert-block my-3">
<h4 class="alert-title">Success!</h4>
<div class="text-muted">{{ $message }}</div>
</div>
@endif
@if ($message = Session::get('error'))
<div class="alert alert-danger alert-block my-3">
<div class="alert alert-danger alert-block my-3">
<h4 class="alert-title">Error!</h4>
<div class="text-muted">{{ $message }}</div>
</div>
<h4 class="alert-title">Error!</h4>
<div class="text-muted">{{ $message }}</div>
</div>
@endif
@if ($message = Session::get('warning'))
<div class="alert alert-warning alert-block my-3">
<div class="alert alert-warning alert-block my-3">
<h4 class="alert-title">Warning!</h4>
<div class="text-muted">{{ $message }}</div>
</div>
<h4 class="alert-title">Warning!</h4>
<div class="text-muted">{{ $message }}</div>
</div>
@endif
@if ($message = Session::get('info'))
<div class="alert alert-info alert-block my-3">
<div class="alert alert-info alert-block my-3">
<h4 class="alert-title">Attention!</h4>
<div class="text-muted">{{ $message }}</div>
</div>
@endif
<h4 class="alert-title">Attention!</h4>
<div class="text-muted">{{ $message }}</div>
</div>
@endif

View File

@@ -1,24 +1,26 @@
<div class="card mb-3 border-3 border-primary">
<div class="card-body">
<h3 class="">Webmaster Announcement</h3>
<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
slug only</li>
<li>(Fix) Post list has timezone error</li>
</ul>
<p class="fw-bold mb-0">Change Log 1/8/2023 10.35pm</p>
<ul>
<li>(Feature) Auto set category on new post</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
slug only</li>
<li>(Fix) Post list has timezone error</li>
</ul>
<div class="card-body">
<h3 class="">Webmaster Announcement</h3>
<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
slug only</li>
<li>(Fix) Post list has timezone error</li>
</ul>
<p class="fw-bold mb-0">Change Log 1/8/2023 10.35pm</p>
<ul>
<li>(Feature) Auto set category on new post</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
slug only</li>
<li>(Fix) Post list has timezone error</li>
</ul>
</div>
</div>
</div>
</div>