64 lines
3.2 KiB
HTML
64 lines
3.2 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>Activité — 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>
|
|
<header class="app-header">
|
|
<div class="brand">
|
|
<a href="/" class="logo" aria-label="Kanbante — accueil"><span class="logo-mark">📋</span><span class="gradient-text">Kanbante</span></a>
|
|
<span class="crumb"><span class="sep">/</span> 📰 <strong>Activité</strong></span>
|
|
</div>
|
|
<nav class="nav-pills">
|
|
<a href="/" class="nav-pill">🏠 Projets</a>
|
|
<a href="/focus" class="nav-pill">🎯 Focus</a>
|
|
<a href="/my" class="nav-pill">👤 Mes issues</a>
|
|
<a href="/activity" class="nav-pill active">📰 Activité</a>
|
|
<a href="/briefing" class="nav-pill">📊 Briefing</a>
|
|
<a href="/search" class="nav-pill">🔍 Recherche</a>
|
|
<a href="/capture" class="nav-pill">⚡ Capture</a>
|
|
<a href="/wall" class="nav-pill">🖥️ Wallboard</a>
|
|
</nav>
|
|
</header>
|
|
|
|
<main class="focus-main">
|
|
<p class="focus-intro">Les {{ events|length }} derniers événements du journal — déplacements, créations, fermetures et commentaires, tous projets confondus.</p>
|
|
{% if not events %}
|
|
<p class="focus-empty">Aucun événement pour le moment. Le journal se remplit dès que des cartes bougent.</p>
|
|
{% endif %}
|
|
<div class="activity-list">
|
|
{% for e in events %}
|
|
<div class="activity-item">
|
|
<span class="activity-icon">{{ event_icons.get(e.event_type, '•') }}</span>
|
|
<div class="activity-text">
|
|
<a href="/board/{{ e.repo_full_name }}">{{ e.repo_full_name }}</a>
|
|
<strong>#{{ e.issue_number }}</strong>
|
|
{% if e.event_type == 'created' %}
|
|
créée{% if e.to_column %} dans {{ column_labels.get(e.to_column, e.to_column) }}{% endif %}
|
|
{% elif e.event_type == 'moved' %}
|
|
déplacée{% if e.from_column %} de {{ column_labels.get(e.from_column, e.from_column) }}{% endif %} vers {{ column_labels.get(e.to_column, e.to_column) }}
|
|
{% elif e.event_type == 'closed' %}
|
|
fermée{% if e.source == 'gitea' %} (dans Gitea){% endif %}
|
|
{% elif e.event_type == 'reopened' %}
|
|
rouverte vers {{ column_labels.get(e.to_column, e.to_column) }}
|
|
{% elif e.event_type == 'commented' %}
|
|
commentée
|
|
{% endif %}
|
|
<span class="activity-date">{{ e.created_at[:16].replace('T', ' ') }}</span>
|
|
</div>
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
</main>
|
|
|
|
<footer>
|
|
Kanbante v{{ version }} · journal d'événements
|
|
</footer>
|
|
<script src="/static/js/live.js" defer></script>
|
|
</body>
|
|
</html>
|