project-kanban.html 943 B

12345678910111213141516171819202122232425
  1. {% assign offset = include.offset | default: 40 %}
  2. {% assign limit = include.limit | default: 7 %}
  3. {% assign percentage = include.percentage | default: 20 %}
  4. {% assign percentage-color = include.percentage-color | default: "green" %}
  5. {% assign due = include.due | default: "2 days" %}
  6. <div class="card">
  7. {% include ui/progress.html value=percentage class="card-progress" color=percentage-color %}
  8. <div class="card-body">
  9. <h3 class="card-title">
  10. <a href="#">{{ include.title | default: 'Task Title' }}</a>
  11. {% if include.badge %} <span class="badge ms-2">{{ include.badge }}</span>{% endif %}
  12. </h3>
  13. {% include ui/avatar-list.html offset=offset limit=limit stacked=true class="mb-3" %}
  14. <div class="card-meta d-flex justify-content-between">
  15. <div class="d-flex align-items-center">
  16. {% include ui/icon.html icon="check" class="me-2" %}
  17. <span>5/10</span>
  18. </div>
  19. <span>Due {{ due }}</span>
  20. </div>
  21. </div>
  22. </div>