Update (admin): Improve message flashing and announcement
This commit is contained in:
@@ -1,38 +1,33 @@
|
|||||||
@if ($message = Session::get('success'))
|
@if ($message = Session::get('success'))
|
||||||
<div class="alert alert-success alert-block">
|
<div class="alert alert-success alert-block my-3">
|
||||||
<button type="button" class="close" data-dismiss="alert">×</button>
|
<h4 class="alert-title">Success!</h4>
|
||||||
<strong>{{ $message }}</strong>
|
<div class="text-muted">{{ $message }}</div>
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
|
|
||||||
@if ($message = Session::get('error'))
|
@if ($message = Session::get('error'))
|
||||||
<div class="alert alert-danger alert-block">
|
<div class="alert alert-danger alert-block my-3">
|
||||||
<button type="button" class="close" data-dismiss="alert">×</button>
|
|
||||||
<strong>{{ $message }}</strong>
|
<h4 class="alert-title">Error!</h4>
|
||||||
|
<div class="text-muted">{{ $message }}</div>
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
|
|
||||||
@if ($message = Session::get('warning'))
|
@if ($message = Session::get('warning'))
|
||||||
<div class="alert alert-warning alert-block">
|
<div class="alert alert-warning alert-block my-3">
|
||||||
<button type="button" class="close" data-dismiss="alert">×</button>
|
|
||||||
<strong>{{ $message }}</strong>
|
<h4 class="alert-title">Warning!</h4>
|
||||||
|
<div class="text-muted">{{ $message }}</div>
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
|
|
||||||
@if ($message = Session::get('info'))
|
@if ($message = Session::get('info'))
|
||||||
<div class="alert alert-info alert-block">
|
<div class="alert alert-info alert-block my-3">
|
||||||
<button type="button" class="close" data-dismiss="alert">×</button>
|
|
||||||
<strong>{{ $message }}</strong>
|
<h4 class="alert-title">Attention!</h4>
|
||||||
</div>
|
<div class="text-muted">{{ $message }}</div>
|
||||||
@endif
|
|
||||||
|
|
||||||
|
|
||||||
@if ($errors->any())
|
|
||||||
<div class="alert alert-danger">
|
|
||||||
<button type="button" class="close" data-dismiss="alert">×</button>
|
|
||||||
Please check the form below for errors
|
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
@@ -1,4 +1,5 @@
|
|||||||
<div class="alert alert-success" role="alert">
|
<div class="card mb-3 border-3 border-primary">
|
||||||
|
<div class="card-body">
|
||||||
<h3 class="">Webmaster Announcement</h3>
|
<h3 class="">Webmaster Announcement</h3>
|
||||||
<div class="text-muted">
|
<div class="text-muted">
|
||||||
<p class="fw-bold mb-0">Change Log 2/8/2023 12.03am</p>
|
<p class="fw-bold mb-0">Change Log 2/8/2023 12.03am</p>
|
||||||
@@ -19,4 +20,5 @@
|
|||||||
<li>(Fix) Post list has timezone error</li>
|
<li>(Fix) Post list has timezone error</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user