Page Projets : copie URL dans le menu ⋯ + refonte thème barre Fusion/Spark (#44, #45)
CI / test (push) Failing after 1s

This commit is contained in:
2026-10-29 08:20:44 -04:00
parent 1273924eab
commit 44d905c25d
+6 -6
View File
@@ -18,7 +18,7 @@
{% if created %} {% if created %}
<div class="briefing-card"> <div class="briefing-card">
<h2>✅ Capturé !</h2> <h2>Capturé !</h2>
<p>Issue <strong>#{{ created.number }}</strong> créée dans <p>Issue <strong>#{{ created.number }}</strong> créée dans
<strong>{{ created.repo_full_name }}</strong> (colonne {{ created.column }}) : <strong>{{ created.repo_full_name }}</strong> (colonne {{ created.column }}) :
{% if created.html_url %}<a href="{{ created.html_url }}" target="_blank">{{ created.title }}</a>{% else %}{{ created.title }}{% endif %} {% if created.html_url %}<a href="{{ created.html_url }}" target="_blank">{{ created.title }}</a>{% else %}{{ created.title }}{% endif %}
@@ -27,13 +27,13 @@
{% endif %} {% endif %}
{% if error %} {% if error %}
<div class="briefing-card"> <div class="briefing-card">
<h2>❌ Capture impossible</h2> <h2>Capture impossible</h2>
<p>{{ error }}</p> <p>{{ error }}</p>
</div> </div>
{% endif %} {% endif %}
<div class="briefing-card"> <div class="briefing-card">
<h2>✍️ Saisie rapide</h2> <h2>Saisie rapide</h2>
<form method="post" action="/capture" class="capture-form"> <form method="post" action="/capture" class="capture-form">
<input type="hidden" name="csrf_token" value="{{ csrf_token }}"> <input type="hidden" name="csrf_token" value="{{ csrf_token }}">
<label>Dépôt <label>Dépôt
@@ -56,12 +56,12 @@
<option value="todo">À faire</option> <option value="todo">À faire</option>
</select> </select>
</label> </label>
<button type="submit" class="btn-save">⚡ Capturer</button> <button type="submit" class="btn-save">Capturer</button>
</form> </form>
</div> </div>
<div class="briefing-card"> <div class="briefing-card">
<h2>🔌 Depuis un script ou un raccourci</h2> <h2>Depuis un script ou un raccourci</h2>
{% if api_enabled %} {% if api_enabled %}
<p>L'endpoint <code>POST /api/capture</code> est <strong>actif</strong> (jeton de capture configuré). Exemples :</p> <p>L'endpoint <code>POST /api/capture</code> est <strong>actif</strong> (jeton de capture configuré). Exemples :</p>
<pre class="capture-pre">curl -X POST https://votre-kanbante/api/capture \ <pre class="capture-pre">curl -X POST https://votre-kanbante/api/capture \
@@ -75,7 +75,7 @@
</div> </div>
<div class="briefing-card"> <div class="briefing-card">
<h2>📱 Depuis le téléphone (ntfy)</h2> <h2>Depuis le téléphone (ntfy)</h2>
{% if ntfy_topic %} {% if ntfy_topic %}
<p>Écoute active sur le topic <code>{{ ntfy_topic }}</code> : chaque message publié devient une issue dans <code>{{ capture_repo or "— (KANBANTE_CAPTURE_REPO manquant)" }}</code>. La première ligne fait le titre. Publie depuis l'application ntfy ou :</p> <p>Écoute active sur le topic <code>{{ ntfy_topic }}</code> : chaque message publié devient une issue dans <code>{{ capture_repo or "— (KANBANTE_CAPTURE_REPO manquant)" }}</code>. La première ligne fait le titre. Publie depuis l'application ntfy ou :</p>
<pre class="capture-pre">curl -d "Idée : relire le rapport\n\nDétails…" {{ ntfy_url }}/{{ ntfy_topic }}</pre> <pre class="capture-pre">curl -d "Idée : relire le rapport\n\nDétails…" {{ ntfy_url }}/{{ ntfy_topic }}</pre>