1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2024-11-26 18:37:12 +00:00

Autofocus search field and layout

This commit is contained in:
Alexandre Iooss 2020-04-10 22:38:35 +02:00
parent 5c3cc607e8
commit 0608ebd9f2
No known key found for this signature in database
GPG Key ID: 6C79278F3FCDCC02

View File

@ -13,8 +13,7 @@
<div class="col-xl-5" id="note_infos_div"> <div class="col-xl-5" id="note_infos_div">
<div class="card border-success shadow mb-4 text-center"> <div class="card border-success shadow mb-4 text-center">
<img src="/media/pic/default.png" <img src="/media/pic/default.png"
id="profile_pic" alt="" id="profile_pic" alt="" class="card-img-top">
class="img-thumbnail">
<div class="card-body text-center"> <div class="card-body text-center">
<span id="user_note"></span> <span id="user_note"></span>
</div> </div>
@ -35,9 +34,9 @@
</div> </div>
{# User search with autocompletion #} {# User search with autocompletion #}
<div class="card-footer bg-white"> <div class="card-body p-0">
<input class="form-control mx-auto d-block" <input class="form-control mx-auto d-block"
placeholder="{% trans "Name or alias" %}" type="text" id="note" /> placeholder="{% trans "Name or alias" %}" type="text" id="note" autofocus />
</div> </div>
</div> </div>
</div> </div>