mirror of
https://git.sr.ht/~cadence/cloudtube
synced 2026-03-02 02:31:35 +00:00
Autofocus search if user-agent not a mobile device
This commit is contained in:
parent
54ae21685f
commit
848651757a
3 changed files with 13 additions and 3 deletions
|
|
@ -11,9 +11,9 @@ block content
|
|||
p You're in control. Watch things your way.
|
||||
p Go on. What do you want to watch?
|
||||
form(method="get" action="/search").encouraging-search-form
|
||||
input(type="text" name="q" placeholder="I'd like to watch..." autocomplete="off").search.base-border-look
|
||||
input(type="text" name="q" placeholder="I'd like to watch..." autocomplete="off" autofocus=!mobile).search.base-border-look
|
||||
p: a(href="/cant-think") ...can't think of anything?
|
||||
|
||||
.encouraging-message
|
||||
p CloudTube gets better with your help. I can't deal with issues that I don't know about.
|
||||
p: a(href="https://todo.sr.ht/~cadence/tube") Report a problem or missing feature
|
||||
p: a(href="https://todo.sr.ht/~cadence/tube") Report a problem or missing feature
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue