1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2024-12-23 07:52:23 +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="card border-success shadow mb-4 text-center">
<img src="/media/pic/default.png"
id="profile_pic" alt=""
class="img-thumbnail">
id="profile_pic" alt="" class="card-img-top">
<div class="card-body text-center">
<span id="user_note"></span>
</div>
@ -35,9 +34,9 @@
</div>
{# User search with autocompletion #}
<div class="card-footer bg-white">
<div class="card-body p-0">
<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>