home · contact · privacy
In playlist view, autofocus pause/resume button. master
authorChristian Heller <c.heller@plomlompom.de>
Tue, 12 Nov 2024 21:22:46 +0000 (22:22 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Tue, 12 Nov 2024 21:22:46 +0000 (22:22 +0100)
templates/playlist.tmpl

index b533d3c3f5de4c458d708e903dd214c2927b7b67..aee1deebec8e0ae72e413ca587627b2ec7cb8add 100644 (file)
@@ -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 %}">