home
·
contact
·
privacy
projects
/
ytplom
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
02c0ade
)
In playlist view, autofocus pause/resume button.
master
author
Christian Heller
<c.heller@plomlompom.de>
Tue, 12 Nov 2024 21:22:46 +0000
(22:22 +0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Tue, 12 Nov 2024 21:22:46 +0000
(22:22 +0100)
templates/playlist.tmpl
patch
|
blob
|
history
diff --git
a/templates/playlist.tmpl
b/templates/playlist.tmpl
index b533d3c3f5de4c458d708e903dd214c2927b7b67..aee1deebec8e0ae72e413ca587627b2ec7cb8add 100644
(file)
--- 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">
{% 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 %}">
<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 %}">