05/22 Enhance codes and fix bugs 2

This commit is contained in:
2026-05-22 14:18:21 -04:00
parent 3511ac2b56
commit 12b5fd9ce0
12 changed files with 235 additions and 11 deletions
+2
View File
@@ -93,6 +93,7 @@
</span>
</div>
<div class="card-body p-0">
<div class="table-responsive">
<table class="table mb-0">
<thead>
<tr>
@@ -143,6 +144,7 @@
{% endfor %}
</tbody>
</table>
</div>
{% if logs.pages > 1 %}
<div class="d-flex justify-content-center py-3">
+2
View File
@@ -174,6 +174,7 @@
<div class="card-header"><i class="bi bi-people me-2"></i>IT Staff Performance</div>
<div class="card-body p-0">
{% if staff_stats %}
<div class="table-responsive">
<table class="table mb-0">
<thead>
<tr>
@@ -212,6 +213,7 @@
{% endfor %}
</tbody>
</table>
</div>
{% else %}
<div class="p-4 text-center" style="color:var(--muted);font-size:13px;">No IT staff found.</div>
{% endif %}
+2
View File
@@ -63,6 +63,7 @@
</div>
<div class="card-body p-0">
{% if articles %}
<div class="table-responsive">
<table class="table mb-0">
<thead>
<tr><th>Title</th><th>Category</th><th>Author</th><th>Published</th><th>Views</th><th style="white-space:nowrap;">👍 / 👎</th><th>Updated</th><th>Actions</th></tr>
@@ -120,6 +121,7 @@
{% endfor %}
</tbody>
</table>
</div>
{% else %}
<div class="p-5 text-center" style="color:var(--muted);">
<i class="bi bi-journal-x" style="font-size:40px;display:block;margin-bottom:12px;"></i>
@@ -19,6 +19,7 @@
</div>
<div class="card-body p-0">
{% if templates %}
<div class="table-responsive">
<table class="table mb-0">
<thead>
<tr>
@@ -68,6 +69,7 @@
{% endfor %}
</tbody>
</table>
</div>
{% else %}
<div class="p-5 text-center" style="color:var(--muted);">
<i class="bi bi-layout-text-window-reverse" style="font-size:40px;display:block;margin-bottom:12px;"></i>
+2
View File
@@ -62,6 +62,7 @@
</div>
<div class="card-body p-0">
{% if tickets.items %}
<div class="table-responsive">
<table class="table mb-0">
<thead>
<tr>
@@ -115,6 +116,7 @@
{% endfor %}
</tbody>
</table>
</div>
{% if tickets.pages > 1 %}
<div class="d-flex justify-content-center py-3">
+2
View File
@@ -11,6 +11,7 @@
</a>
</div>
<div class="card-body p-0">
<div class="table-responsive">
<table class="table mb-0">
<thead>
<tr>
@@ -73,6 +74,7 @@
{% endfor %}
</tbody>
</table>
</div>
</div>
</div>
{% endblock %}