{% extends "layout.html" %} {% block content %}

Unified Kanban Boards

Organize tasks from any project on shared company-wide boards

{% if create_board %}

Create New Kanban Board

{% endif %} {% if boards %}
{% for board in boards %}

{{ board.name }} {% if board.is_default %} Default {% endif %}

{% if board.description %}

{{ board.description }}

{% endif %}
Open Board {% if g.user.role.value in ['Team Leader', 'Supervisor', 'Administrator', 'System Administrator'] %} {% endif %}
{{ board.columns|length }} Columns
{% set board_cards = 0 %} {% for column in board.columns %} {% set board_cards = board_cards + column.cards|selectattr('is_active')|list|length %} {% endfor %} {{ board_cards }} Cards
{% set project_contexts = [] %} {% for column in board.columns %} {% for card in column.cards %} {% if card.is_active and card.project_id and card.project_id not in project_contexts %} {% set _ = project_contexts.append(card.project_id) %} {% endif %} {% endfor %} {% endfor %} {{ project_contexts|length }} Projects
{% if board.columns %}
Board Preview
{% for column in board.columns %} {% if loop.index <= 4 %}
{{ column.name }} {{ column.cards|selectattr('is_active')|list|length }}
{% set active_cards = column.cards|selectattr('is_active')|list %} {% for card in active_cards %} {% if loop.index <= 3 %}
{% if card.project %} [{{ card.project.code }}] {% endif %} {% if card.title|length > 25 %} {{ card.title|truncate(25, True) }} {% else %} {{ card.title }} {% endif %}
{% if card.assigned_to %}
{{ card.assigned_to.username }}
{% endif %}
{% endif %} {% endfor %} {% if active_cards|length > 3 %}
+{{ active_cards|length - 3 }} more
{% endif %}
{% endif %} {% endfor %} {% if board.columns|length > 4 %}
+{{ board.columns|length - 4 }} more columns
{% endif %}
{% endif %}
{% endfor %}

{{ boards|length }}

Company Boards

{% set total_cards = 0 %} {% for board in boards %} {% for column in board.columns %} {% set total_cards = total_cards + column.cards|selectattr('is_active')|list|length %} {% endfor %} {% endfor %}

{{ total_cards }}

Total Cards

{% set total_projects = [] %} {% for board in boards %} {% for column in board.columns %} {% for card in column.cards %} {% if card.is_active and card.project_id and card.project_id not in total_projects %} {% set _ = total_projects.append(card.project_id) %} {% endif %} {% endfor %} {% endfor %} {% endfor %}

{{ total_projects|length }}

Active Projects

{% else %}
📋

No Kanban Boards Yet

Create unified boards to organize tasks from any project.

Getting Started:

  1. Click the "Create Board" button
  2. Set up columns for your workflow (To Do, In Progress, Done)
  3. Add cards from any project to organize your work
{% if g.user.role.value in ['Team Leader', 'Supervisor', 'Administrator', 'System Administrator'] %} {% endif %}
{% endif %}
{% endblock %}