diff --git a/ippisite/ippidb/templates/slider_modal.html b/ippisite/ippidb/templates/slider_modal.html index c33ac4d1e8ecd2c895b63e5a4b04871d43a182ec..128bb4dfde356f937c11ecc708dcd818eb6595e8 100644 --- a/ippisite/ippidb/templates/slider_modal.html +++ b/ippisite/ippidb/templates/slider_modal.html @@ -13,7 +13,7 @@ <input id="{{ param_name }}" class="custom-range" type="range" min="{{ param_min }}" max="{{ param_max }}" value="{{ param_value }}" step="{{ step }}" onchange="$('#{{ param_name }}_textvalue').html($('#{{ param_name }}').val());"> <p>Current value: <code id="{{ param_name }}_textvalue">{{ param_value }}</code></p> --> <input id="{{ param_name }}" class="custom-range" type="text" value="" data-slider-min="{{ param_min }}" data-slider-max="{{ param_max }}" - data-slider-step="{{ step }}" data-slider-value="[{{ param_value_min|default:param_min }}, {{ param_value_max|default:param_max }}]" /> + data-slider-step="{{ step }}" data-slider-value="[{{ param_value_min|default:param_min }}, {{ param_value_max|default:param_max }}]" style="width:100%"/> <p>Current selection range: <code id="{{ param_name }}_textvalue_min">{{ param_value_min|default:param_min }}</code> to <code id="{{ param_name }}_textvalue_max">{{ param_value_max|default:param_max }}</code></p> <script>