{% import "macros/ui.html" as m %}
{% if items %}
<div class="overflow-x-auto rounded-lg border border-base-content/10">
  <table class="table table-sm w-full">
    <thead>
      <tr class="text-xs text-base-content/40 uppercase tracking-wider">
        <th class="w-20">ID</th>
        <th class="w-24">Status</th>
        <th class="w-20">Priority</th>
        <th class="w-16">Kind</th>
        <th>Title</th>
        <th class="w-24 text-right">Actions</th>
      </tr>
    </thead>
    {% include "partials/backlog_tbody.html" %}
  </table>
</div>
{% else %}
<div class="text-center py-10 text-base-content/30 text-sm border border-base-content/10 rounded-lg">
  No backlog items yet.
</div>
{% endif %}
