Browse Source

feat(ui): revois le champ de recherche d'une asso

pull/107/head
Jérôme Lebleu 6 months ago
parent
commit
775358a93b
4 changed files with 13 additions and 8 deletions
  1. +2
    -5
      assets/scss/components/_forms.scss
  2. +6
    -0
      assets/scss/layout/_content.scss
  3. +1
    -1
      benevalibre/templates/association/association_list.html
  4. +4
    -2
      benevalibre/templates/association/forms/fields/search.html

+ 2
- 5
assets/scss/components/_forms.scss View File

@@ -56,10 +56,7 @@
}
}

// Visible placeholder for search form
.search-input{
// Make the search input more visible
.input-group .search-input {
border-color: $white;
&::placeholder{
color: $gray-200;
}
}

+ 6
- 0
assets/scss/layout/_content.scss View File

@@ -20,6 +20,12 @@
}
}

.title-buttons {
.form-group:last-child {
margin-bottom: 0;
}
}

// Container with content

.content-container {


+ 1
- 1
benevalibre/templates/association/association_list.html View File

@@ -2,7 +2,7 @@
{% load tapeforms %}

{% block titlebuttons %}
<div class="title-buttons ml-3 mt-2">
<div class="title-buttons ml-sm-3 mt-3">
{% form filter.form %}
</div>
{% endblock %}


+ 4
- 2
benevalibre/templates/association/forms/fields/search.html View File

@@ -3,8 +3,10 @@
{% block widget %}
<div class="input-group">
{{ field }}
<div class="input-group-append mr-3">
<button class="btn btn-outline-primary fa fa-search" type="button" id="button-addon"></button>
<div class="input-group-append">
<button type="submit" class="btn btn-outline-primary" aria-label="Filtrer">
<i class="fa fa-search" aria-hidden="true"></i>
</button>
</div>
</div>
{% endblock %}


Loading…
Cancel
Save