Skip to content

Commit

Permalink
Merge branch 'feature/admin-filters' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
abidibo committed Dec 3, 2020
2 parents d0f846a + 5d09e42 commit 2b93ff9
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion baton/static/baton/app/dist/baton.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion baton/static/baton/app/dist/baton.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion baton/static/baton/app/src/styles/_changelist.scss
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@
}

#changelist-filter-clear {
background: lighten($filters-title-bg, 20%);
background: $filters-clear-bg;
font-size: .9rem;
margin-bottom: 0;
margin-top: 0;
Expand Down
1 change: 1 addition & 0 deletions baton/static/baton/app/src/styles/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ $filters-bg: #fafafa;
$filters-title-bg: #263238;
$filters-title-color: #fff;
$filter-selected-border-color: $base;
$filters-clear-bg: #17a2b8;
$rl-head-bg: #f0f0f0;
$rl-head-color: inherit;
$rl-tr-odd-bg: #fafafa;
Expand Down
4 changes: 2 additions & 2 deletions baton/templates/admin/base_site.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

{% block extrahead %}
<meta content="width=device-width, initial-scale=1.0" name="viewport" />
<!-- <script src="{% static 'baton/app/dist/baton.min.js' %}"></script> -->
<script src="http://localhost:8080/dist/baton.min.js"></script>
<script src="{% static 'baton/app/dist/baton.min.js' %}"></script>
<!-- <script src="http://localhost:8080/dist/baton.min.js"></script> -->
<script>
{% baton_config 'CONFIRM_UNSAVED_CHANGES' as confirm_unsaved_changes %}
{% baton_config 'SHOW_MULTIPART_UPLOADING' as show_multipart_uploading %}
Expand Down
2 changes: 1 addition & 1 deletion baton/templates/baton/filters/input_filter.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ <h3>{% blocktrans with filter_title=title %} By {{ filter_title }} {% endblocktr
name="{{ spec.parameter_name }}"/>

{% if not all_choice.selected %}
<a style="margin-top: .5rem;" href="{{ all_choice.query_string }}" class="btn btn-sm btn-secondary">x {% trans 'Remove' %}</a>
<a style="margin-top: .5rem;" href="{{ all_choice.query_string }}" class="btn btn-sm btn-warning">x {% trans 'Remove' %}</a>
{% endif %}

</form>
Expand Down

0 comments on commit 2b93ff9

Please sign in to comment.