diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-10-03 10:26:26 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-10-03 16:00:58 +0200 |
commit | c1d9e3c6d17c99fed3b89344adf237012a8477ec (patch) | |
tree | 8943c935dccbd3f5cda8fcf02437927cb646a797 /ishtar_common/templates/blocks/bs_form_snippet.html | |
parent | 33519e29e7a4151a3792f4892898ae5edc847807 (diff) | |
download | Ishtar-c1d9e3c6d17c99fed3b89344adf237012a8477ec.tar.bz2 Ishtar-c1d9e3c6d17c99fed3b89344adf237012a8477ec.zip |
💄 UI: improve criteria panel layout - add shortcuts for search, sheet opening
Diffstat (limited to 'ishtar_common/templates/blocks/bs_form_snippet.html')
-rw-r--r-- | ishtar_common/templates/blocks/bs_form_snippet.html | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/ishtar_common/templates/blocks/bs_form_snippet.html b/ishtar_common/templates/blocks/bs_form_snippet.html index 509883e80..4cb32a535 100644 --- a/ishtar_common/templates/blocks/bs_form_snippet.html +++ b/ishtar_common/templates/blocks/bs_form_snippet.html @@ -55,7 +55,14 @@ <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> - <div class="form-group col-12" id="advanced-search-info"></div> + <div class="form-row col-12 inout-group"> + <div class="col-10" id="advanced-search-info"></div> + <div class="col-2"> + <button type="button" + class="btn btn-secondary advanced-search-clear w-100 m-1 p-2"> + {% trans "Clear" %}</button> + </div> + </div> <div class="row col-12 justify-content-center"> <div class="form-row col-md-8 pb-3"> <div class="input-group search-widget"> @@ -108,14 +115,12 @@ <div class="form-group col-12"> <p class="text-center"> <button type="button" - title="{% trans 'Enter to add the criteria' %}" + title="{% trans 'Add the criteria [Enter]' %}" class="btn btn-success advanced-search-valid"> + <i class="fa fa-plus" aria-hidden="true"></i> {% trans "Add the criteria" %}</button> - <button type="button" - class="btn btn-secondary advanced-search-clear"> - {% trans "Clear" %}</button> <button type="button" class="btn btn-primary" - title="{% trans 'Esc to start the search' %}" + title="{% trans 'Start the search [Esc]' %}" data-dismiss="modal"><i class="fa fa-search" aria-hidden="true"></i> {% trans "Start the search" %}</button> </p> </div> |