summaryrefslogtreecommitdiff
path: root/ishtar_common/templates/blocks/bs_form_snippet.html
diff options
context:
space:
mode:
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
commitc1d9e3c6d17c99fed3b89344adf237012a8477ec (patch)
tree8943c935dccbd3f5cda8fcf02437927cb646a797 /ishtar_common/templates/blocks/bs_form_snippet.html
parent33519e29e7a4151a3792f4892898ae5edc847807 (diff)
downloadIshtar-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.html17
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">&times;</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>