Commits (1)
......@@ -3,9 +3,8 @@
}
.dashboard-section {
align-content: space-between;
justify-content: space-between;
align-content: space-around;
justify-content: space-around;
}
.dashboard-card {
......
......@@ -67,7 +67,7 @@
<div id='filter-group-{{ key }}' class='p-0 filter-group input-group dashboard-filter filter-type-{{dfilter.type}}'>
<span class='input-group-text'><label for="{{ key }}">{{ dfilter.name }}</label></span>
{% set dfilter_type = dfilter.type if dfilter.type in ['text', 'date', 'number'] else 'text' %}
<input id="{{ key }}" name="{{ key }}" type="{{ dfilter_type }}"{% if dfilter.min is defined %} min="{{ dfilter.min }}"{% endif %}{% if dfilter.max is defined %} max="{{ dfilter.max }}"{% endif %}{% if dfilter.step is defined %} step="{{ dfilter.step }}"{% endif %} value="{% if key in query_parameters.keys() %}{{ query_parameters[key] }}{% else %}{{ dfilter.default }}{% endif %}">
<input id="{{ key }}" name="{{ key }}" class="form-control" type="{{ dfilter_type }}"{% if dfilter.min is defined %} min="{{ dfilter.min }}"{% endif %}{% if dfilter.max is defined %} max="{{ dfilter.max }}"{% endif %}{% if dfilter.step is defined %} step="{{ dfilter.step }}"{% endif %} value="{% if key in query_parameters.keys() %}{{ query_parameters[key] }}{% else %}{{ dfilter.default }}{% endif %}">
</div>
{%endif%}
......