Remplace « Arrêter » par un picto stop dans le timer
Bouton rond avec l'icône stop ; en mobile, l'horloge et le stop passent sous la description, côte à côte, sans déborder. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
262ab07b03
commit
f612dbd764
2 files changed
+5
-2
No files matched your search
@@ -1,3 +1,4 @@
|
||||
{% import "_icons.html" as icons %}
|
||||
<section id="timer" hx-get="/ui/timer" hx-trigger="timer-changed from:body" hx-swap="outerHTML" class="card timer{% if running.is_some() %} is-running{% endif %}"{% if let Some(e) = running %} style="--color: {{ e.color }}"{% endif %}>
|
||||
{% if let Some(e) = running %}
|
||||
<div class="current">
|
||||
@@ -11,7 +12,7 @@
|
||||
</form>
|
||||
</div>
|
||||
<div class="clock" data-started="{{ e.started_rfc3339() }}">{{ e.duration() }}</div>
|
||||
<button class="btn danger" hx-post="/ui/timer/stop" hx-target="#timer" hx-swap="outerHTML">Arrêter</button>
|
||||
<button class="btn icon danger timer-stop" hx-post="/ui/timer/stop" hx-target="#timer" hx-swap="outerHTML" title="Arrêter" aria-label="Arrêter le timer">{% call icons::icon("stop") %}{% endcall %}</button>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if groups.is_empty() %}
|
||||
|
||||
Reference in new issue
Block a user