61 lines
2.6 KiB
HTML
61 lines
2.6 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="fr" data-theme="dark">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Focus — Kanbante</title>
|
|
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>🎯</text></svg>">
|
|
<link rel="stylesheet" href="/static/css/style.css">
|
|
</head>
|
|
<body>
|
|
{% include "_header.html" %}
|
|
|
|
<main class="focus-main">
|
|
<div class="page-head"><div class="page-title"><h1>Focus</h1><p class="page-sub">Tout ce qui est <strong>En cours</strong> ou <strong>En révision</strong>, tous projets actifs confondus.</p></div></div>
|
|
{% if not groups %}
|
|
<p class="focus-empty">Rien en cours ni en révision pour le moment.</p>
|
|
{% endif %}
|
|
{% for group in groups %}
|
|
<section class="focus-group">
|
|
<h2>
|
|
<a href="/board/{{ group.full_name }}">{{ group.full_name }}</a>
|
|
<span class="badge secondary">{{ group.cards|length }}</span>
|
|
</h2>
|
|
<div class="focus-cards">
|
|
{% for card in group.cards %}
|
|
<div class="kanban-card focus-card">
|
|
<div class="card-id">
|
|
#{{ card.issue.number }}
|
|
<span class="chip" style="background: color-mix(in srgb, {{ column_colors[card.column] }} 25%, transparent); color: var(--text)">
|
|
{{ column_labels[card.column] }}
|
|
</span>
|
|
{% if card.issue.html_url %}
|
|
<a href="{{ card.issue.html_url }}" target="_blank" title="Ouvrir dans Gitea">↗</a>
|
|
{% endif %}
|
|
</div>
|
|
<div class="card-title">{{ card.issue.title }}</div>
|
|
{% if card.issue.labels %}
|
|
<div class="card-labels">
|
|
{% for label in card.issue.labels %}
|
|
<span class="label-tag" style="background: color-mix(in srgb, #{{ label.color }} 25%, transparent); color: var(--text)">
|
|
{{ label.name }}
|
|
</span>
|
|
{% endfor %}
|
|
</div>
|
|
{% endif %}
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
</section>
|
|
{% endfor %}
|
|
</main>
|
|
|
|
<footer>
|
|
Kanbante v{{ version }} · vue Focus
|
|
</footer>
|
|
<script src="/static/js/live.js" defer></script>
|
|
{% include "_palette.html" %}
|
|
<script src="/static/js/palette.js" defer></script>
|
|
</body>
|
|
</html>
|