Page Projets : copie URL dans le menu ⋯ + refonte thème barre Fusion/Spark (#44, #45)
CI / test (push) Failing after 0s
CI / test (push) Failing after 0s
This commit is contained in:
@@ -11,8 +11,7 @@
|
|||||||
{% include "_header.html" %}
|
{% include "_header.html" %}
|
||||||
|
|
||||||
<main class="today-main">
|
<main class="today-main">
|
||||||
<h1 class="today-title">🌅 {{ date_label }}</h1>
|
<div class="page-head"><div class="page-title"><h1 class="today-title">{{ date_label }}</h1><p class="page-sub">Trois cartes, pas une de plus. C'est le plan de la journée.</p></div></div>
|
||||||
<p class="today-sub">Trois cartes, pas une de plus. C'est le plan de la journée.</p>
|
|
||||||
|
|
||||||
{% if picks %}
|
{% if picks %}
|
||||||
<section class="today-picks">
|
<section class="today-picks">
|
||||||
@@ -22,18 +21,18 @@
|
|||||||
<span class="today-card-repo">{{ pick.repo }}</span>
|
<span class="today-card-repo">{{ pick.repo }}</span>
|
||||||
<span class="today-card-col">{{ pick.column_label }}</span>
|
<span class="today-card-col">{{ pick.column_label }}</span>
|
||||||
</div>
|
</div>
|
||||||
<h2>{% if pick.state == 'closed' %}🎉 {% endif %}#{{ pick.number }} — {{ pick.title }}</h2>
|
<h2>{% if pick.state == 'closed' %}{% endif %}#{{ pick.number }} — {{ pick.title }}</h2>
|
||||||
<div class="today-card-actions">
|
<div class="today-card-actions">
|
||||||
<a href="/board/{{ pick.repo }}">📋 Ouvrir le board</a>
|
<a href="/board/{{ pick.repo }}">Ouvrir le board</a>
|
||||||
{% if pick.html_url %}<a href="{{ pick.html_url }}" target="_blank" rel="noopener">Gitea ↗</a>{% endif %}
|
{% if pick.html_url %}<a href="{{ pick.html_url }}" target="_blank" rel="noopener">Gitea ↗</a>{% endif %}
|
||||||
<button type="button" class="btn-sm" data-unpin data-repo="{{ pick.repo }}" data-number="{{ pick.number }}">📌 Retirer</button>
|
<button type="button" class="btn-sm" data-unpin data-repo="{{ pick.repo }}" data-number="{{ pick.number }}">Retirer</button>
|
||||||
</div>
|
</div>
|
||||||
</article>
|
</article>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</section>
|
</section>
|
||||||
{% else %}
|
{% else %}
|
||||||
<section class="briefing-card">
|
<section class="briefing-card">
|
||||||
<p>Aucune carte épinglée pour aujourd'hui. Épingle-en jusqu'à 3 depuis un board (bouton 📌 sur les cartes) ou depuis les candidates ci-dessous.</p>
|
<p>Aucune carte épinglée pour aujourd'hui. Épingle-en jusqu'à 3 depuis un board (bouton épingler sur les cartes) ou depuis les candidates ci-dessous.</p>
|
||||||
</section>
|
</section>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
@@ -55,7 +54,7 @@
|
|||||||
{% for pick in carry_over %}
|
{% for pick in carry_over %}
|
||||||
<li>
|
<li>
|
||||||
<span>{{ pick.repo }} #{{ pick.number }} — {{ pick.title }} <em>({{ pick.column_label }})</em></span>
|
<span>{{ pick.repo }} #{{ pick.number }} — {{ pick.title }} <em>({{ pick.column_label }})</em></span>
|
||||||
{% if picks|length < 3 %}<button type="button" class="btn-sm" data-pin data-repo="{{ pick.repo }}" data-number="{{ pick.number }}">📌 Reprendre aujourd'hui</button>{% endif %}
|
{% if picks|length < 3 %}<button type="button" class="btn-sm" data-pin data-repo="{{ pick.repo }}" data-number="{{ pick.number }}">Reprendre aujourd'hui</button>{% endif %}
|
||||||
</li>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
@@ -69,7 +68,7 @@
|
|||||||
{% for card in candidates %}
|
{% for card in candidates %}
|
||||||
<li>
|
<li>
|
||||||
<span>{{ card.repo }} #{{ card.number }} — {{ card.title }} <em>({{ card.column_label }})</em></span>
|
<span>{{ card.repo }} #{{ card.number }} — {{ card.title }} <em>({{ card.column_label }})</em></span>
|
||||||
<button type="button" class="btn-sm" data-pin data-repo="{{ card.repo }}" data-number="{{ card.number }}">📌 Épingler</button>
|
<button type="button" class="btn-sm" data-pin data-repo="{{ card.repo }}" data-number="{{ card.number }}">Épingler</button>
|
||||||
</li>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
|
|||||||
Reference in New Issue
Block a user