This commit is contained in:
2026-04-24 12:28:21 +07:00
parent caf38e8750
commit cf8db62b84
8 changed files with 293 additions and 4 deletions
+8 -1
View File
@@ -10,6 +10,9 @@
<i class="fas fa-external-link-alt me-2"></i>View Programmes Page
</a>
<% } %>
<a href="/admin/programme/filters" class="btn btn-outline-secondary">
<i class="fas fa-filter me-2"></i>Manage Filters
</a>
<a href="/admin/programme/edit/new" class="btn btn-primary shadow-sm">
<i class="fas fa-plus me-2"></i>Add New Programme
</a>
@@ -25,6 +28,8 @@
<th class="ps-4" style="width:110px;">ID / Code</th>
<th>Title</th>
<th>Level</th>
<th>Field</th>
<th class="text-center" style="width:90px;">Months</th>
<th>Format</th>
<th>Cost</th>
<th class="text-center" style="width:80px;">Courses</th>
@@ -48,6 +53,8 @@
<td>
<span class="badge bg-light text-dark border"><%= item.level || '—' %></span>
</td>
<td class="text-muted small"><%= item.fieldOfStudy || '—' %></td>
<td class="text-center text-muted small"><%= item.durationInMonths || '—' %></td>
<td class="text-muted small"><%= item.format || '—' %></td>
<td class="text-muted small"><%= item.monthlyCost || item.cost || '—' %></td>
<td class="text-center">
@@ -75,7 +82,7 @@
<% }); %>
<% } else { %>
<tr>
<td colspan="8" class="text-center text-muted py-5">
<td colspan="10" class="text-center text-muted py-5">
<i class="fas fa-graduation-cap fa-2x mb-3 d-block opacity-25"></i>
No programmes found.
<a href="/admin/programme/edit/new" class="d-block mt-2">Add your first programme &rarr;</a>