From 82f4200c74a4abbc5cf5f31aa58481ad83969b8d Mon Sep 17 00:00:00 2001 From: Christian Heller <c.heller@plomlompom.de> Date: Tue, 12 Nov 2024 22:22:46 +0100 Subject: [PATCH] In playlist view, autofocus pause/resume button. --- templates/playlist.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/playlist.tmpl b/templates/playlist.tmpl index b533d3c..aee1dee 100644 --- a/templates/playlist.tmpl +++ b/templates/playlist.tmpl @@ -40,7 +40,7 @@ td.history { width: 50%; } {% if running %}{% if pause %}PAUSED{% else %}PLAYING{% endif %}{% else %}STOPPED{% endif %}:<br /> {{ current_title }}<br /> <form action="/playlist" method="POST"> -<input type="submit" name="pause" value="{% if paused %}resume{% else %}pause{% endif %}"> +<input type="submit" name="pause" autofocus value="{% if paused %}resume{% else %}pause{% endif %}"> <input type="submit" name="prev" value="prev"> <input type="submit" name="next" value="next"> <input type="submit" name="stop" value="{% if running %}stop{% else %}start{% endif %}"> -- 2.30.2