|
3 | 3 | <head> |
4 | 4 | <meta charset="UTF-8"> |
5 | 5 | <title>{{ title }}</title> |
| 6 | + <link rel="icon" href="../images/favicon_io/favicon.ico" type="image/x-icon"> |
6 | 7 | <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet"> |
7 | 8 | <style> |
8 | 9 | body { |
@@ -33,27 +34,68 @@ <h1 class="mb-3 text-center">{{ title }}</h1> |
33 | 34 |
|
34 | 35 | <!-- Metadata and search --> |
35 | 36 | <div class="row mb-4 align-items-center"> |
36 | | - <div class="col-md-4"> |
37 | | - <p><strong>GitHub User:</strong> {{ github_user }}</p> |
| 37 | + <div class="col-md-8"> |
| 38 | + <p><strong>🧑💻 GitHub User:</strong> {{ github_user }}</p> |
| 39 | + <p><strong>♣️ Team:</strong> {{ team }}</p> |
38 | 40 | </div> |
39 | | - <div class="col-md-4"> |
| 41 | + <!-- <div class="col-md-4"> |
40 | 42 | <p><strong>Team:</strong> {{ team }}</p> |
41 | | - </div> |
| 43 | + </div> --> |
42 | 44 | <div class="col-md-4"> |
43 | 45 | <input type="text" id="searchBox" class="form-control" placeholder="Search tasks..."> |
44 | 46 | </div> |
45 | 47 | </div> |
| 48 | + </div> |
46 | 49 |
|
| 50 | + <div class="container-fluid py-4"> |
47 | 51 | <!-- Kanban Board --> |
48 | 52 | <div class="row row-cols-1 row-cols-md-5 g-3"> |
| 53 | + {% set counter = 0 %} |
49 | 54 | {% for status in ["Backlog", "New", "In-Progress", "Blocked", "Done"] %} |
50 | 55 | <div class="col"> |
51 | 56 | <div class="kanban-column"> |
52 | 57 | <div class="kanban-header text-primary text-center">{{ status }}</div> |
53 | 58 | {% for task in tasks[status] %} |
| 59 | + |
54 | 60 | <div class="kanban-card"> |
55 | | - <strong>{{ task.title }}</strong><br> |
56 | | - <small>{{ task.description }}</small> |
| 61 | + {% set card_id = "card-" ~ counter %} |
| 62 | + {% set counter = counter + 1 %} |
| 63 | + <div class="d-flex align-items-start gap-2"> |
| 64 | + <a |
| 65 | + href="{{ task.content.url }}" |
| 66 | + target="_blank" |
| 67 | + class="text-primary text-decoration-none fw-bold" |
| 68 | + > |
| 69 | + 🟢 #{{ task.content.number }} |
| 70 | + </a> |
| 71 | + <a |
| 72 | + class="text-dark text-decoration-none fw-bold flex-grow-1" |
| 73 | + data-bs-toggle="collapse" |
| 74 | + href="#{{ card_id }}" |
| 75 | + role="button" |
| 76 | + aria-expanded="false" |
| 77 | + aria-controls="{{ card_id }}" |
| 78 | + > |
| 79 | + {{ task.title }} |
| 80 | + </a> |
| 81 | + </div> |
| 82 | + <div class="collapse mt-2" id="{{ card_id }}"> |
| 83 | + <!-- <div><small><strong>Issue #:</strong> {{ task.content.number }}</small></div> --> |
| 84 | + <div> |
| 85 | + <small> |
| 86 | + <strong>📦 Repository:</strong> |
| 87 | + <a href="{{ task.repository }}" target="_blank"> |
| 88 | + {{ task.content.repository }} |
| 89 | + </a> |
| 90 | + </small> |
| 91 | + </div> |
| 92 | + <div><small><strong>👤 Assignee:</strong> {{ task.assignees | join(', ') }}</small></div> |
| 93 | + <div><small><strong>🏷️ Labels:</strong> {{ task.labels | join(', ') }}</small></div> |
| 94 | + <div><small><strong>📌 Status:</strong> {{ task.status }}</small></div> |
| 95 | + <div class="text-center"> |
| 96 | + <a href="{{ task.content.url }}" target="_blank" class="btn btn-sm btn-outline-primary mt-2">View Issue</a> |
| 97 | + </div> |
| 98 | + </div> |
57 | 99 | </div> |
58 | 100 | {% endfor %} |
59 | 101 | </div> |
@@ -86,6 +128,8 @@ <h1 class="mb-3 text-center">{{ title }}</h1> |
86 | 128 | }); |
87 | 129 | }); |
88 | 130 | </script> |
| 131 | + <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script> |
| 132 | + |
89 | 133 |
|
90 | 134 | </body> |
91 | 135 | </html> |
0 commit comments