Gitlab@Informatics

Skip to content
Snippets Groups Projects
Commit 7fa5fa40 authored by 65160258's avatar 65160258
Browse files

css1

parent 2e63e617
No related branches found
No related tags found
No related merge requests found
...@@ -5,6 +5,8 @@ ...@@ -5,6 +5,8 @@
<div class="d-flex justify-content-between align-items-center mb-4 flex-wrap"> <div class="d-flex justify-content-between align-items-center mb-4 flex-wrap">
<h1 class="h2 fw-bold text-primary">All Posts</h1> <h1 class="h2 fw-bold text-primary">All Posts</h1>
<div class="d-flex align-items-center gap-3">
<!-- ส่วนของ Filter -->
<div class="d-flex align-items-center gap-3"> <div class="d-flex align-items-center gap-3">
<label for="category" class="form-label mb-0 fw-semibold text-muted">Filter by Category:</label> <label for="category" class="form-label mb-0 fw-semibold text-muted">Filter by Category:</label>
<form action="/index" method="GET" class="d-flex align-items-center gap-2"> <form action="/index" method="GET" class="d-flex align-items-center gap-2">
...@@ -19,10 +21,12 @@ ...@@ -19,10 +21,12 @@
</form> </form>
</div> </div>
<!-- ส่วนของ Badge -->
<div class="badge bg-primary rounded-pill px-3 py-2"> <div class="badge bg-primary rounded-pill px-3 py-2">
<%= posts.length %> posts <%= posts.length %> posts
</div> </div>
</div> </div>
</div>
<% if (typeof posts !== 'undefined' && posts.length > 0) { %> <% if (typeof posts !== 'undefined' && posts.length > 0) { %>
<div class="post-list"> <div class="post-list">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment